Worked solution from the Hypothesis tests Paper 6 Probability & Statistics 2 booklet, Part 1 of 3.
The mean is 1.01 per 20 minutes, so for 3 periods the mean is 3 × 1.01 = 3.03. We test whether the mean has increased.
H0: population mean number of people in 3 periods = 3.03 (1.01 per 20 minutes)
H1: population mean number of people in 3 periods > 3.03 (1.01 per 20 minutes) [1]
Under H0, n ~ Po(3.03). [1]
Increase means a high value, so find P(n ≥ 6) = 1 − P(n ≤ 5).
P(n ≥ 6) = 1 − e−3.03(1 + 3.03 + 3.0322! + 3.0333! + 3.0344! + 3.0355!) [1]
= 1 − (0.04832 + 0.1464 + 0.2218 + 0.2240 + 0.1697 + 0.1028) = 0.0870 [1]
Compare: 0.0870 > 0.05. [1]
Do not reject H0. There is insufficient evidence, at the 5% level, to believe that the mean number of people using the path has increased. [1]
Find the critical region. P(n ≥ 6) = 0.0870 is more than 5%, so 6 is not in the critical region.
Try n ≥ 7: P(n ≥ 7) = 0.0870 − e−3.03 × 3.0366! = 0.0870 − 0.0519 [1]
This is 0.0351, which is less than 0.05, so the critical region is n ≥ 7.
P(Type I error) = 0.0351 (0.035 is accepted) [1]
A Type I error means rejecting H0 when it is true.
So it means concluding that the mean number of people using the path (per 20 minutes in the evening) has increased, when it has not. [1]
To find the probability of a Type II error we need a specific alternative value.
We need a value for the true mean [1]
of the number of people using the path per 20 minutes in the evening (after the light was installed). [1]
▶ Whole paper
Video solution of the whole paper · by Ci Xiang Ng. Tap the picture to open it on YouTube.
Solutions follow the official Cambridge mark schemes; marks are shown in grey. Videos are from other YouTube channels. Paper codes read component / series / year: M/J = May/June, O/N = October/November. Past-paper questions © UCLES, reproduced for classroom practice.