A random sample of size n has been selected from a normally distributed population whose standard deviation is . In hypothesis testing for the population mean, the t-test should be used instead of the z-test if:
Answers
Answer:
Solution. The null hypothesis is H0: μ = 85, and the alternative hypothesis is HA: μ < 85. In general, we know that if the weights are normally distributed, then:
Z
=
¯
X
−
μ
σ
/
√
n
follows the standard normal N(0,1) distribution. It is actually a bit irrelevant here whether or not the weights are normally distributed, because the same size n = 25 is large enough for the Central Limit Theorem to apply. In that case, we know that Z, as defined above, follows at least approximately the standard normal distribution. At any rate, it seems reasonable to use the test statistic:
Z
=
¯
X
−
μ
0
σ
/
√
n
for testing the null hypothesis
H
0
:
μ
=
μ
0
against any of the possible alternative hypotheses
H
A
:
μ
≠
μ
0
,
H
A
:
μ
<
μ
0
, and
H
A
:
μ
>
μ
0
.
For the example in hand, the value of the test statistic is:
Z
=
80.94
−
85
11.6
/
√
25
=
−
1.75
The critical region approach tells us to reject the null hypothesis at the α = 0.05 level if Z < −1.645. Therefore, we reject the null hypothesis because Z = −1.75 < −1.645, and therefore falls in the rejection region:
drawing
As always, we draw the same conclusion by using the P-value approach. Recall that the P-value approach tells us to reject the null hypothesis at the α = 0.05 level if the P-value ≤ α = 0.05. In this case, the P-value is P(Z < −1.75) = 0.0401:
drawing
As expected, we reject the null hypothesis because the P-value = 0.0401 < α = 0.05.
By the way, we'll learn how to ask Minitab to conduct the Z-test for a mean μ in a bit, but this is what the Minitab output for this example looks like this:
minitab output