Professional Documents
Culture Documents
(i) how different from each other are the means for levels of
Variable A?
(ii) how different from each other are the means for levels of
Variable B?
(iii) how different from each other are the means for the
treatment combinations produced by A and B together?
Interaction
an interaction effect occurs when the effect of one
variable is different across levels of one or more other
variables
A1 A2
B1 I II
B2 III IV
B2 B2
A1 A2 A1 A2
1 4 1 2 8 19
2 5 3 4 10 26
3 6 5 6 12 30
2 X 3 = 6 treatments
A1 A2 A3 Tj
B1 6 9 30 45
B2 15 12 75 102
B Totals
are in red
Ti 21 21 105 147
Totals for the levels of A are in blue
SSTotal = ΣX2 – CM
Notice that these are the
original data from Slide 10
SSE = ΣX2 – Σ(Tij)2
nij
Two Way ANOVA
Two-Way ANOVA – Computational 13
formulas
Σ(Ti)2/ni = (21)2 + (21)2 + (105)2 = 1984.5
6 6 6
SSA = Σ(Ti)2 – CM
ni
SSB = Σ(Tj)2 – CM
nj
for A
H0: No difference among means for levels of A
HA: At least two A means differ significantly
for B
H0: No difference among means for levels of B
HA: At least two B means differ significantly
AB
H0: A & B do not interact to affect mean response
HA: A & B do interact to affect mean response
CM = (12735)2 = 5406007.5
30
= 5380634.2
Two Way ANOVA
28
Two-way Anova – Example 1
SSAB = 5380634.2 – 5409528.33 – 5413447.5 + 5406007.5
= 1646.667
* Reject H0.
Two Way ANOVA
30
Two-way Anova – Example 2
A researcher is interested in comparing the
effectiveness of 3 different methods of teaching
reading, and also in whether the effectiveness
might vary as a function of the reading ability of
the students. Fifteen students with high reading
ability and fifteen students with low reading ability
were divided into three equal-sized group and each
group was taught by one of these methods. Listed
on the next slide are the reading performance
scores for the various groups at school year-end.
interaction
H0: A and B do not interact to affect treatment
means
HA: A and B do interact to affect treatment means
CM = (Σ X)2 = (796)2
n 30
= 21120.533
= 211976 – 21120.533
10
= 21197.6 – 21120.533
= 77.066
= 344656 – 21120.533
15
= 22977.066 – 21120.533
= 1856.533
= 16.267
√ ( MSEn 1 +
1 n 1 2
)
√ (
7.067 1 + 1
10 10
)
= 3.4
1.189