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