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.
- 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.
- Calculate the probability of a Type I error for this test.
Given that there are 3 times as many sweets with soft centres as there are sweets with hard centres,
- calculate the probability of a Type II error for this test.