Edexcel S4 2010 June — Question 3

Exam BoardEdexcel
ModuleS4 (Statistics 4)
Year2010
SessionJune
TopicHypothesis test of binomial distributions
TypeCalculate Type I error probability

  1. A manager in a sweet factory believes that the machines are working incorrectly and the proportion \(p\) of underweight bags of sweets is more than \(5 \%\). He decides to test this by randomly selecting a sample of 5 bags and recording the number \(X\) that are underweight. The manager sets up the hypotheses \(\mathrm { H } _ { 0 } : p = 0.05\) and \(\mathrm { H } _ { 1 } : p > 0.05\) and rejects the null hypothesis if \(x > 1\).
    1. Find the size of the test.
    2. Show that the power function of the test is
    $$1 - ( 1 - p ) ^ { 4 } ( 1 + 4 p )$$ The manager goes on holiday and his deputy checks the production by randomly selecting a sample of 10 bags of sweets. He rejects the hypothesis that \(p = 0.05\) if more than 2 underweight bags are found in the sample.
  2. Find the probability of a Type I error using the deputy's test. \section*{Question 3 continues on page 12} The table below gives some values, to 2 decimal places, of the power function for the deputy's test.
    \(p\)0.100.150.200.25
    Power0.07\(s\)0.320.47
  3. Find the value of \(s\). The graph of the power function for the manager's test is shown in Figure 1. \begin{figure}[h]
    \includegraphics[alt={},max width=\textwidth]{0bc6c296-9cbe-498b-89d9-c034b1b246e4-08_1157_1436_847_260} \captionsetup{labelformat=empty} \caption{Figure 1}
    \end{figure}
  4. On the same axes, draw the graph of the power function for the deputy's test.
    1. State the value of \(p\) where these graphs intersect.
    2. Compare the effectiveness of the two tests if \(p\) is greater than this value. The deputy suggests that they should use his sampling method rather than the manager's.
  5. Give a reason why the manager might not agree to this change.