Worked solution from the Hypothesis tests Paper 6 Probability & Statistics 2 booklet, Part 1 of 3.
Under H0, X ~ B(20, 0.95), and the test is for a lower proportion, so the rejection region is small values of X with probability below 0.02.
Work out cumulative probabilities P(X ≤ n) for B(20, 0.95). [1]
Check the boundary values: P(X ≤ 17) and P(X ≤ 16). [1]
P(X ≤ 17) = 0.0755, which is more than 0.02, and P(X ≤ 16) = 0.0159, which is less than 0.02. [1]
The rejection region is X ≤ 16. [1]
A Type I error means rejecting H0 when it is true, so its probability is the probability of landing in the rejection region under H0.
P(Type I error) = P(X ≤ 16) = 0.0159 [1]
A Type II error means not rejecting H0 when it is false. Now the true value is p = 0.7, so X ~ B(20, 0.7). [1]
Not rejecting means X > 16, so P(X > 16) = 1 − P(X ≤ 16) [1]
= 1 − 0.893 = 0.107 [1]
▶ Starts at Q7 (54:23)
Starts at Q7 (54:23) · 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.