Chapter 5 Introduction To Factorial Designs
Chapter 5 Introduction To Factorial Designs
Definition of a factor effect: The change in the mean response when the factor is changed from low to high
A B AB
yA yB
yA yB
52 20 2
40 52 2 30 52 2 30 40 2
20 30 21 2 20 40 11 2 1
3
A B AB
yA yB
yA yB
12 20 2
50 12 2 40 12 2 40 50 2
20 40 1 2 20 50 9 2 29
4
2 2
12 1 2
xx
The least squares fit is y 35.5 10.5 x1 5.5 x2 0.5 x1 x2 35.5 10.5 x1 5.5 x2
When an interaction is large, the corresponding main effects have little practical meaning. A significant interaction will often mask the significance of main effects.
10
)ij
ijk
j 1, 2,..., b k 1, 2,..., n
Testing hypotheses:
H0 : H0 : H0 : (
1
) ij
0 0 0
) ij
11
( yijk
i 1 j 1 k 1
y... ) 2
bn
i 1 a
( yi.. y... ) 2 an
j 1 b
( y. j . y... )
2
y... ) 2
a b n
n
i 1 j 1
( yij .
yi..
y. j .
( yijk
i 1 j 1 k 1
yij . ) 2
SST
SS A SS B
SS AB
SS E
12
Mean squares
a
bn E ( MS A ) E ( SS A /(a 1))
2 i 1
2 i
a 1
b
an E ( MS B ) E ( SS B /(b 1))
2 j 1
2 j
b 1
a b
SS AB E ( MS AB ) E ( ) (a 1)(b 1) SS E 2 E ( MS E ) E ( ) ab(n 1)
n
2 i 1 j 1
2 ) ij
(a 1)(b 1)
13
Response: Life ANOVA for Selected Factorial Model Analysis of variance table [Partial sum of squares]
Source Model A B AB Pure E C Total Sum of Squares 59416.22 10683.72 39118.72 9613.78 18230.75 77646.97 DF 8 2 2 4 27 35 Mean F Square Value 7427.03 11.00 5341.86 7.91 19559.36 28.97 2403.44 3.56 675.21 Prob > F < 0.0001 0.0020 < 0.0001 0.0186
PRESS
32410.22
Adeq Precision
8.178
15
Interaction Graph
A: Material
Life
104
2 2 62 2
20
15
70
125
B: Tem perature
16
Multiple Comparisons: Use the methods in Chapter 3. Since the interaction is significant, fix the factor B at a specific level and apply Turkeys test to the means of factor A at this level. See Pages 182, 183 Compare all ab cells means to determine which one differ significantly
17
y ijk
45.25
y ij
95 90
18.75
Norm al % probability
80
Res iduals
70 50 30 20 10 5
-7.75
-34.25
1
-60.75
49.50
76.06
102.62
129.19
155.75
-60.75
-34.25
-7.75
18.75
45.25
Predicted
Res idual
18
18.75
Res iduals
-7.75
-34.25
-60.75
11
16
21
26
31
36
19
18.75
18.75
Res iduals
Res iduals
-7.75
-7.75
-34.25
-34.25
-60.75
-60.75
Material
Tem perature
20
(
b
) ij
a j
ijk
: abn : bn : an ) ij : n
a
bn
i 1
i b
an
j 1
n
i 1 j 1
( ) ij ) ij y ij
b ij
) ij
b j
bn n
i a
n
j 1
n
j 1 a
( (
i 1
yi yj
i i 1
an n
b
n n(
a
) ij
Constraints:
i i 1
0,
j 1
0,
i 1
ij j 1
0
21
Estimations:
i
j ij
y yi yj y ij y y yi yj y
ij
yij
Choice of sample size: Use OC curves to choose the proper sample size.
22
Consider a two-factor model without interaction: Table 5.8 ijk y i y j y The fitted values: y Figure 5.15 One observation per cell: The error variance is not estimable because the two-factor interaction and the error can not be separated. Assume no interaction. (Table 5.9) Tukey (1949): assume ( )ij = r i j (Page 192) Example 5.2
23
Degree of freedom: Main effect: # of levels 1 Interaction: the product of the # of degrees of freedom associated with the individual components of the interaction. The three factor analysis of variance model: ( ) ij yijkl i j k
( ) ik ( ) jk ( ) ijk ijkl The ANOVA table (see Table 5.12) Computing formulas for the sums of squares (see Page 196) Example 5.3
25
) ij
ijk
No interaction between blocks and treatments ANOVA table (Table 5.18) Example 5.6
27
Two randomization restrictions: Latin square design An example in Page 209 Model:
y ijkl
i j k
) jk
ijk
Table 5.22
28