Example 5.2.1.
Suppose a sample of 50 plants have a mean height of 35 cm. A separate sample of 30 plants are taken from another plot which has been using a new fertilizer intended to increase plant growth, and they have a mean height of 36.4 cm. If the height of a plant has a variance of \(\sigma^2 = 12 \text{cm}^2\text{,}\) do we have strong enough evidence to reject the null hypothesis that the new fertilizer has no effect on plant height?
Let \(A_1\) be the random variable representing average height of the control group of plants. This sample has size \(n_1 = 50\text{,}\) and we measured the average height \(\mu_1 = 35\text{.}\) The variance of the average height would be:
\begin{align*}
\Var(A_1) \amp = \frac{\sigma^2}{n_1} = \frac{12}{50} = 0.24.
\end{align*}
Similarly, let \(A_2\) be the random variable representing average height of the experimental group of plants. This sample has size \(n_2 = 30\text{,}\) and we measured the average height \(\mu_2 = 36.4\text{.}\) The variance of the average height would be:
\begin{align*}
\Var(A_2) \amp = \frac{\sigma^2}{n_2} = \frac{12}{30} = 0.4.
\end{align*}
Let \(D = A_2 - A_1\) be the difference between the average heights.
According to the null hypothesis, the two plots of plants should behave the same way, so \(\E(D) = 0\text{.}\) We measured the value:
\begin{gather*}
D = A_2 - A_1 = 36.4 - 35 = 1.4
\end{gather*}
The variance would be:
\begin{gather*}
\Var(D) = \Var(A_2 - A_1) = \Var(A_2) + \Var(A_1) = 0.24 + 0.4 = 0.64.
\end{gather*}
So, under the null hypothesis, we will treat \(D\) as \(\Norm(0, 0.64)\text{.}\) We then perform a 1-tailed test:
\begin{align*}
\Pr(D \geq 1.4) \amp \approx \Pr\left(Z \geq \frac{1.4 - 0}{\sqrt{0.64}}\right) \\
\amp = 1 - \Phi(1.75) \\
\amp = 1 - 0.9599 \\
\amp = 0.0401 \lt 0.05,
\end{align*}
so we can reject the null hypothesis.
