8.4Testing the Equality of Means of Two Normal Populations 317
The value of the t-statistic is −1.898695
The p-value is 0.03607The p-value of the Two-sample t-TestStartQuitClear List 2Clear List 1One-Sided
Two-SidedIs greater than
Is less thanData value = 7Data value = 6.56
7.5
6
7.5
5.5
7
6.5List 1 Sample size = 10Add This Point To List 1Remove Selected Point From List 1List 2 Sample size = 12 8
7.5
6.5
7.5
6
8.5
7Add This Point To List 2Remove Selected Point From List 2Is the alternative
hypothesisIs the alternative
that the mean
of sample 1?the mean
of sample 2?FIGURE 8.6
Of course, if it were not convenient to run Program 8.4.2 then we could have performed
the test by first computing the values of the statisticsX,Y,Sx^2 ,Sy^2 , andSp^2. where theX
sample corresponds to those receiving vitamin C and theY sample to those receiving
a placebo. These computations would give the values
X=6.450, Y=7.125
Sx^2 =.581, Sy^2 =.778Therefore,
Sp^2 =9
20Sx^2 +11
20Sy^2 =.689