5. Water is tested at various stages during a purification process by an environmental scientist. A certain organism occurs randomly in the water at a rate of \(\lambda\) every 10 ml . The scientist selects a random sample of 20 ml of water to check whether there is evidence that \(\lambda\) is greater than 1 . The criterion the scientist uses for rejecting the hypothesis that \(\lambda = 1\) is that there are 4 or more organisms in the sample of 20 ml .
- Find the size of the test.
- When \(\lambda = 2.5\) find P (Type II error).
A statistician suggests using an alternative test. The statistician's test involves taking a random sample of 10 ml and rejecting the hypothesis that \(\lambda = 1\) if 2 or more organisms are present but accepting the hypothesis if no organisms are in the sample. If only 1 organism is found then a second random sample of 10 ml is taken and the hypothesis is rejected if 2 or more organisms are present, otherwise the hypothesis is accepted.
- Show that the power of the statistician's test is given by
$$1 - \mathrm { e } ^ { - \lambda } - \lambda ( 1 + \lambda ) \mathrm { e } ^ { - 2 \lambda }$$
Table 1 below gives some values, to 2 decimal places, of the power function of the statistician’s test.
\begin{table}[h]
\end{table}
Table 1
Figure 1 shows a graph of the power function for the scientist's test.
- On the same axes draw the graph of the power function for the statistician’s test.
Given that it takes 20 minutes to collect and test a 20 ml sample and 15 minutes to collect and test a 10 ml sample
- show that the expected time of the statistician's test is slower than the scientist's test for \(\lambda \mathrm { e } ^ { - \lambda } > \frac { 1 } { 3 }\)
- By considering the times when \(\lambda = 1\) and \(\lambda = 2\) together with the power curves in part (e) suggest, giving a reason, which test you would use.
(2)
\begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{399f7507-4878-45ad-b77e-02ebd807ed75-10_1185_1157_1452_392}
\captionsetup{labelformat=empty}
\caption{Figure 1}
\end{figure}
\includegraphics[max width=\textwidth, alt={}, center]{399f7507-4878-45ad-b77e-02ebd807ed75-11_81_47_2622_1886}