Consider the following hypothesis test :
\(H_0 : \mu \le 40\)
\(H_a : \mu \gt 40\)
A sample of 100 provided a sample mean of 41.5. The population standard deviation is 5. The value of the test statistic is :
Answer & explanation
Correct answer: option 2
The correct answer is Option (2) → 3
The population standard deviation \(\sigma\) is known, so the test statistic is
\( \displaystyle z = \frac{\bar{x}-\mu_0}{\sigma/\sqrt{n}} \)
Here \(\bar{x} = 41.5\), \(\mu_0 = 40\) (the value in \(H_0\)), \(\sigma = 5\) and n = 100. The standard error is
\( \displaystyle \frac{\sigma}{\sqrt{n}} = \frac{5}{\sqrt{100}} = 0.5 \)
So
\( \displaystyle z = \frac{41.5-40}{0.5} = \frac{1.5}{0.5} = 3 \)
The sample mean is above \(\mu_0\), so the statistic is positive.