Example
Example
Example
TA B L E 5 . 3
The Analysis of Variance Table for the Two-Factor Factorial, Fixed Effects Model
SSA MSA
A treatments SSA a1 MSA F0
a1 MSE
SSB MSB
B treatments SSB b1 MSB F0
b1 MSE
SSAB MSAB
Interaction SSAB (a 1)(b 1) MSAB F0
(a 1)(b 1) MSE
SSE
Error SSE ab(n 1) MSE
ab(n 1)
and
b y2...
1
SSB an y
j1
2
.j.
abn
(5.8)
It is convenient to obtain the SSAB in two stages. First we compute the sum of squares between
the ab cell totals, which is called the sum of squares due to subtotals:
a b y2...
SSSubtotals n1 y
i1 j1
2
ij.
abn
This sum of squares also contains SSA and SSB. Therefore, the second step is to compute SSAB
as
SSAB SSSubtotals SSA SSB (5.9)
We may compute SSE by subtraction as
SSE SST SSAB SSA SSB (5.10)
or
SSE SST SSSubtotals
Table 5.4 presents the effective life (in hours) observed in row and column totals are shown in the margins of the
the battery design example described in Section 5.3.1. The table, and the circled numbers are the cell totals.
5.3 The Two-Factor Factorial Design 193
TA B L E 5 . 4
Life Data (in hours) for the Battery Design Experiment
Temperature (F)
Material
Type 15 70 125 yi..
130 155 34 40 20 70
539 229 230
1 74 180 80 75 82 58 998
150 188 136 122 25 70
623 479 198
2 159 126 106 115 58 45 1300
138 110 174 120 96 104
576 583 342
3 168 160 150 139 82 60 1501
y.j. 1738 1291 770 3799 y...
Using Equations 5.6 through 5.10, the sums of squares are a b y2...
computed as follows: SSInteraction n1
i1 j1
y2ij.
abn
SSMaterial
a b n y2... SSTemperature
SST y
i1 j1 k1
2
ijk
abn
1 [(539)2 (229)2 (342)2]
(130)2 (155)2 (74)2 4
(3799)2 (3799)2
(60)2 77,646.97 10,683.72
36 36
TA B L E 5 . 5
Analysis of Variance for Battery Life Data
each treatment combination. This graph is shown in Figure for types 1 and 2. From intermediate to high temperature,
5.9. The signicant interaction is indicated by the lack of battery life decreases for material types 2 and 3 and is
parallelism of the lines. In general, longer life is attained at essentially unchanged for type 1. Material type 3 seems to
low temperature, regardless of material type. Changing give the best results if we want less loss of effective life as
from low to intermediate temperature, battery life with the temperature changes.
material type 3 may actually increase, whereas it decreases
175
150
Average life yij.
125
100
Material type 3
75
Material type 1
50 Material type 2
25
0
15 70 125
Temperature (F)
Multiple Comparisons. When the ANOVA indicates that row or column means differ,
it is usually of interest to make comparisons between the individual row or column means to
discover the specic differences. The multiple comparison methods discussed in Chapter 3
are useful in this regard.
We now illustrate the use of Tukeys test on the battery life data in Example 5.1. Note
that in this experiment, interaction is significant. When interaction is significant, compar-
isons between the means of one factor (e.g., A) may be obscured by the AB interaction. One
approach to this situation is to fix factor B at a specific level and apply Tukeys test to the
means of factor A at that level. To illustrate, suppose that in Example 5.1 we are interested
in detecting differences among the means of the three material types. Because interaction
is significant, we make this comparison at just one level of temperature, say level 2 (70F).
We assume that the best estimate of the error variance is the MSE from the ANOVA table,