To solve this hypothesis testing problem, we can follow these steps.
(a) Compute the value of the test statistic z.
The formula for the z-test statistic when testing a population mean is given by:
\[ z = \frac{\bar{x} - \mu_0}{\frac{\sigma}{\sqrt{n}}} \]
where:
- \(\bar{x}\) is the sample mean,
- \(\mu_0\) is the population mean under the null hypothesis,
- \(\sigma\) is the population standard deviation, and
- \(n\) is the sample size.
Given:
- \(\bar{x} = 16\)
- \(\mu_0 = 18\)
- \(\sigma = 6\)
- \(n = 45\)
Plugging in the values:
\[ z = \frac{16 - 18}{\frac{6}{\sqrt{45}}} \]
Calculating the denominator:
\[ \frac{6}{\sqrt{45}} \approx \frac{6}{6.7082} \approx 0.8944 \]
Now substituting:
\[ z = \frac{-2}{0.8944} \approx -2.2361 \]
Therefore,
\[ z \approx -2.24 \]
(b) Is \(H_0\) rejected at the \(\alpha = 0.01\) level?
For a two-tailed test at \(\alpha = 0.01\), we need to find the critical z-values. The critical values are:
\[ \pm z_{\alpha/2} = \pm z_{0.005} \]
From the standard normal distribution table, \(z_{0.005} \approx 2.576\).
Thus, our rejection regions are:
- \(z < -2.576\)
- \(z > 2.576\)
Since our calculated \(z \approx -2.24\), which does not fall into the rejection region (\(-2.576 < -2.24 < 2.576\)), we do not reject \(H_0\) at the \(\alpha = 0.01\) level.
(c) Is \(H_0\) rejected at the \(\alpha = 0.05\) level?
For a two-tailed test at \(\alpha = 0.05\), the critical z-values are:
\[ \pm z_{\alpha/2} = \pm z_{0.025} \]
From the standard normal distribution table, \(z_{0.025} \approx 1.96\).
Thus, our rejection regions are:
- \(z < -1.96\)
- \(z > 1.96\)
Since our calculated \(z \approx -2.24\), which falls into the rejection region (\(-2.24 < -1.96\)), we reject \(H_0\) at the \(\alpha = 0.05\) level.
Summary:
(a) The value of the test statistic \(z \approx -2.24\).
(b) \(H_0\) is not rejected at \(\alpha = 0.01\).
(c) \(H_0\) is rejected at \(\alpha = 0.05\).