310 Chapter 8:Hypothesis Testing
A computation gives that
X=37.2833, S=2.7319and so the value of the test statistic is
T=√
12(37.2833−40)
2.7319=−3.4448Since this is less than−t.05,11=−1.796, the null hypothesis is rejected at the 5 percent
level of significance. Indeed, thep-value of the test data is
p-value=P{T 11 <−3.4448}=P{T 11 >3.4448}=.0028indicating that the manufacturer’s claim would be rejected at any significance level greater
than .003. ■
The preceding could also have been obtained by using Program 8.3.2, as illustrated in
Figure 8.4.
The value of the t-statistic is −3.4448
The p-value is 0.0028The p-value of the One-sample t-TestStartQuitOne-Sided
Two-SidedIs greater than m 0
Is less than m 0Enter the value of m 0 : 40Data value = 36Sample size = 12Add This Point To ListRemove Selected Point From ListData ValuesClear ListThis program computes the p-value when testing that a normal
population whose variance is unknown has mean equal to m 035.8
37
41
36.8
37.2
33
36Is the alternative hypothesis Is the alternative that the mean??FIGURE 8.4