Worked solution from the Hypothesis tests Paper 6 Probability & Statistics 2 booklet, Part 1 of 3.
Let p be the probability of the machine producing a 0.
H0: p = 110 and H1: p < 110 [1]
Let X be the number of zeros in 30 digits. Under H0, X ~ B(30, 0.1). Find the largest region with probability at most 10%.
Use X ~ B(30, 0.1) [1]
P(X = 0) = 0.930 = 0.0424 < 0.1, so 0 is in the rejection region [1]
P(X ≤ 1) = 0.930 + 30 × 0.929 × 0.1 = 0.184 > 0.1, so 1 is not in the rejection region [1]
The rejection region is X = 0 (no zeros at all). [1]
The probability of a Type I error is the probability of being in the rejection region when H0 is true.
P(Type I error) = P(X = 0) = 0.0424 [1]
A Type II error means X is not in the rejection region, i.e. X ≥ 1, when p is really 140.
True distribution: X ~ B(30, 140) [1]
P(X ≥ 1) = 1 − P(X = 0) = 1 − 0.97530 [1]
= 0.532 [1]
A Type II error is accepting H0 when it is false.
Bob concludes that the probability of a 0 is not less than 110, when in fact it is less than 110. [1]
▶ Starts at Q6 (46:18)
Starts at Q6 (46:18) · 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.