Anova (Keller)
Anova (Keller)
Analysis of Variance
(n = n1 + n2 + … + nk)
Copyright © 2009 Cengage Learning 14.4
One Way Analysis of Variance
More New Terminology:
A large SST indicates large variation between sample means which supports H 1.
Copyright © 2009 Cengage Learning 14.10
Test Statistic
When we performed the equal-variances test
to determine whether two means differed
(Chapter 13) we used
2 2
( x1 x 2 ) ( n 1) s ( n 1)s
t s 2p 1 1 2 2
2 1 1 n 1 n 2 2 where
s p
n1 n 2
Since:
MST 1,247.12
F 2.79
MSE 447.16
Does F = 2.79 fall into a rejection region
or not? What is the p-value?
Using Excel:
Click Data, Data Analysis, Anova:
Single Factor
F-stat=MST/MSE
IF
is greater 1 than
1
2
t / 2 s p
n1 n 2
Copyright © 2009 Cengage Learning 14.30
Fisher’s Least Significant Difference
However, we have a better estimator of the
pooled variances. It is MSE. We substitute MSE
in place of sp2. Thus we compare the
difference between means to the Least
Significant Difference LSD, given by:
1 1 1 1
LSD t / 2
n i n j 2.030 12,399 10 10 101.09
MSE
1 1 1 1
LSD t / 2 MSE 2.79 12,399 139.13
ni n j 10 10
Thus,
MSE 12,399
q (k, ) (3.79) 133.45
ng 10
we’ll
do this
first
H0:µ1 = µ2 = µ3 = µ4
H1: At least two means differ
Treatment
Group Drug 1 Drug 2 Drug 3 Drug 4
1 6.6 12.6 2.7 8.7
2 7.1 3.5 2.4 9.3
3 7.5 4.4 6.5 10.0
4 9.9 7.5 16.2 12.6
Block 5 13.8 6.4 8.3 10.6
6 13.9 13.5 5.4 15.4
A B C D E F G
1 Anova: Single Factor
2
3 SUMMARY
4 Groups Count Sum Average Variance
5 Male E1 10 126 12.60 8.27
6 Male E2 10 110 11.00 8.67
7 Male E3 10 106 10.60 11.60
8 Male E4 10 90 9.00 5.33
9 Female E1 10 115 11.50 8.28
10 Female E2 10 112 11.20 9.73
11 Female E3 10 94 9.40 16.49
12 Female E4 10 81 8.10 12.32
13
14
15 ANOVA
16 Source of Variation SS df MS F P-value F crit
17 Between Groups 153.35 7 21.91 2.17 0.0467 2.1397
18 Within Groups 726.20 72 10.09
19
20 Total 879.55 79
Source of Sum of
d.f.: Mean Square F Statistic
Variation Squares
MS(AB) = SS(AB)
Interaction (a-1)(b-1) SS(AB) F=MS(AB)/MSE
[(a-1)(b-1)]