S4 June 2016 Q3

EdexcelOld spec6 marksIncludes hypothesis testingQuality of Tests

3. A jar contains a large number of sweets which have either soft centres or hard centres. The jar is thought to contain equal proportions of sweets with soft centres and sweets with hard centres. A random sample of 20 sweets is taken from the jar and the number of sweets with hard centres is recorded.

(a) Using a 5% level of significance, find the critical region for a two-tailed test of the hypothesis that there are equal proportions of sweets with soft centres and sweets with hard centres in the jar. (2)
(b) Calculate the probability of a Type I error for this test. (2)

Given that there are 3 times as many sweets with soft centres as there are sweets with hard centres,

(c) calculate the probability of a Type II error for this test. (2)