S4 June 2018 Q5

EdexcelOld spec11 marksIncludes hypothesis testingQuality of Tests

5. A machine makes posts. The length of a post is normally distributed with unknown mean \(\mu\) and standard deviation 4 cm.

A random sample of size \(n\) is taken to test, at the 5% significance level, the hypotheses

\[\mathrm{H}_0 : \mu = 150 \qquad\qquad \mathrm{H}_1 : \mu \gt 150\]
(a) State the probability of a Type I error for this test. (1)

The manufacturer requires the probability of a Type II error to be less than 0.1 when the actual value of \(\mu\) is 152

(b) Calculate the minimum value of \(n\). (10)