1. Expected frequencies from a hypothesis
A hypothesis fixes a distribution. The expected frequency of a class is the total frequency multiplied by the probability of that class.
For a continuous variable, the probability of a class is the integral of the density over the class, or a normal probability. If the question gives unbiased estimates of the mean and variance, use them as the parameters of the model.
The last class is open-ended, such as '7 or more'. Find its probability as 1 minus all the others. Then check that the total expected frequency equals the total observed frequency.
E = N × P(class)
sum E = sum O = N
Examiner insight
Worked example 12 marks
A biologist believes that the masses of a particular species of frog are normally distributed. He randomly selects 120 frogs and records the mass, x, of each in grams. He calculates unbiased estimates of the mean and variance as 236.5 g and 134.56 g² respectively. The expected frequencies, calculated using the biologist's model, are in the table. Find the value of c and the value of d. Give your answers correct to two decimal places.
| mass, x (g) | observed frequency | expected frequency |
|---|---|---|
| x < 210 | 2 | 1.34 |
| 210 ≤ x < 220 | 9 | 7.94 |
| 220 ≤ x < 230 | 20 | 25.22 |
| 230 ≤ x < 240 | 39 | 39.73 |
| 240 ≤ x < 250 | 40 | 31.11 |
| 250 ≤ x < 260 | 8 | c |
| x ≥ 260 | 2 | d |
- 1
model: X ∼ N(236.5, 11.6²), since √(134.56) = 11.6
- 2
c = 120 × P(250 ≤ X < 260) = 12.10 [1]
- 3
d = 120 × (1 - Phi(2.026)) = 2.57 [1]