Topics / Chapter 4
Taking chance into account
To express in numbers how likely an event is.
“Could this difference be down to luck?”
A new wheat variety yielded 20 kg/da more than the old one in a trial. Is the new variety really better, or was it just lucky that year, on those plots?
Every statistical test asks exactly this question and answers it with a probability: “If there were no difference at all between the varieties, how likely would I be to see a difference this large by chance alone?” If that probability is very small, you conclude the difference is real. That is why probability is the foundation of every test you will see later.
What does probability measure?
Probability expresses how likely an event is as a number between 0 and 1. 0 means “never”, 1 means “certain”. You can obtain this number in three ways:
| Approach | How is it found? | Example |
|---|---|---|
| Classical probability | If all outcomes are equally likely: favourable outcomes ÷ all outcomes | Rolling a 6: |
| Relative frequency | Look at how often it happened in the past | Frost in April in 5 of the last 20 years: |
| Subjective probability | An expert’s estimate based on experience | “Prices are likely to fall this year” |
If the probability that an event happens is , the probability that it does not is . If 85% of seeds germinate, the probability that a random seed does not germinate is 0.15.
Two basic rules: “and” multiplies, “or” adds
Multiplication rule. The probability that independent events (ones that don’t affect each other) all happen together is the product of their probabilities. Both dice showing 6: .
Addition rule. The probability that any one of several mutually exclusive events (ones that can’t happen at the same time) happens is the sum of their probabilities. A 1 or a 2 on a single die: .
A bag has 5 red, 6 yellow and 7 green marbles. Three draws are made, returning the marble each time: what is the probability of red, then yellow, then green?
| Event | Favourable outcomes | All outcomes | Probability | Delete |
|---|---|---|---|---|
| 0.2778 | ||||
| 0.3333 | ||||
| 0.3889 |
Result
Probability that all occur 0.036
If the events do not affect each other (independent), multiply the probabilities.
Mind the independence assumption: two plants in the same field falling ill are not independent events; if one gets sick, its neighbour is more likely to as well. Multiplying probabilities in such cases makes the real risk look far smaller than it is. Before using the multiplication rule, ask “do these events really not affect each other?”
Counting: how many different ways are there?
Classical probability needs “the number of all outcomes”. When there are few, you count them one by one. Counting every way to choose a chair and a deputy from a class of 20, though, is not practical. Permutations and combinations are the shortcut.
One question decides which to use: does the order of the chosen items matter?
- If order matters, permutation. Choosing a chair and a deputy: Ali as chair with Ayşe as deputy is different from Ayşe as chair with Ali as deputy. .
- If order doesn’t matter, combination. Choosing a 3-person jury: Ali, Ayşe and Mehmet form the same jury whatever order they are picked in. .
A combination is always smaller than the matching permutation. Because different orderings of the same group count as one group, the permutation is divided by .
In how many ways can a 3-person jury be chosen from 10 professors? Jury members have no order.
Result
Combination 120
Order does not matter: the same people form one group whatever order they are chosen in. Divide the number of permutations by the number of ways r people can be ordered among themselves (r!).
From counting to probability
If the choice in the class of 20 is completely random, what is the probability that Ali becomes chair and Ayşe deputy? There is only 1 favourable outcome out of 380:
The really important use of combinations comes in the next chapter: in the binomial distribution, counts how many different ways “k successes in n trials” can arise.