Beruflich Dokumente
Kultur Dokumente
Factorial Experiments
Dependent variable y
k Categorical independent variables A, B,
C, (the Factors)
Let
a = the number of categories of A
b = the number of categories of B
c = the number of categories of C
etc.
SS
df
A
B
C
AB
AC
BC
SSA
SSB
SSC
SSAB
SSAC
SSBC
a-1
b-1
c-1
(a-1)(b-1)
(a-1)(c-1)
(b-1)(c-1)
ABC
Error
SSABC
SSError
(a-1)(b-1)(c-1)
abc(n-1)
Sum of Squares
d.f.
SSA
SSB
SSC
AB
SSAB
AC
SSAC
BC
SSBC
ABC
SSABC
Error
SSError
23(n 1)
For the main effects (LA, LB, LC) the sign is negative (-) if the letter
is present in the treatment, positive (+) if the letter is not present.
The interactions are products of the main effects:
+ + = +- + = - + - = - - - = +
Yates Algorithm
This is a method for computing the Linear
contrasts of the effects and their sum of squares
(S.S.) The algorithm is illustrated with the Table
on the next slide
The algorithm is as follows:
1. Treatments are listed in the standard order (1,
a, b, ab, c, ac, bc, abc etc.) i.e. Starting with
1, then adding one letter at a time followed
by all combinations with letters that have
been previously added.
121
181
104
302
361
296
663
699
213
1362
408
166
Total
A
B
5202.00
861.12
ab
c
ac
257
123
173
403
60
153
195
59
107
188
36
-18
AB
C
AC
1104.50
40.50
10.12
ab
abc
129
274
50
145
93
95
48
2
AB
ABC
72.00
0.12
Add successive pairs in the previous column. (1 st +2nd), (3rd + 4th) etc
Subtract successive pairs in the previous column (2 nd - 1st), (4th - 3rd)
etc
Sum of Squares
d.f.
SSA
SSB
SSC
AB
SSAB
AC
SSAC
BC
SSBC
ABC
SSABC
Error
SSError
23(n 1)
7
21, 2 - factor interactions
2
7
35, 3 - factor interactions
3
7
35, 4 - factor interactions
4
7
21, 5 - factor interactions
5
7
7, 6 - factor interactions
6
7
1, 7 - factor interaction
7
ANOVA table:
Source
d.f.
Main Effects
2-factor interactions
21
3-factor interactions
35
4-factor interactions
35
5-factor interactions
21
6-factor interactions
7-factor interaction
Blocks
3
4
...
ab
ab
ab
ab
ab
ac
ac
ac
ac
ac
bc
bc
bc
bc
bc
abc
abc
abc
abc
abc
Sum of Squares
d.f.
Blocks
SSBlocks
n-1
SSA
SSB
SSC
AB
SSAB
AC
SSAC
BC
SSBC
ABC
SSABC
Error
SSError
(23 1)(n 1)
Blocks
3
4
...
ab
ab
ab
ab
ab
ac
ac
ac
ac
ac
bc
bc
bc
bc
bc
abc
abc
abc
abc
abc
abc
bc
ac
ab
Example: a 23 experiment in
blocks of size 4 (1 replication). The
ABC interaction is confounded
with blocks
Blocks
1
abc
bc
ac
ab
abc
bc
ac
ab
Sum of Squares
d.f.
Blocks
SSBlocks
SSA
SSB
SSC
AB
SSAB
AC
SSAC
BC
SSBC
Total
SSTotal
Confounding
more than one interaction
to further reduce block size
Block 2
Block 3
Block 4
ab
bc
abc
ac
Sum of Squares
d.f.
Blocks
SSBlocks
SSB
SSC
AB
SSAB
AC
SSAC
Total
SSTotal
Block 2
Block 3
Block 4
ab
abc
ac
bc
Sum of Squares
d.f.
Blocks
SSBlocks
SSA
SSB
SSC
ABC
SSABC
Total
SSTotal
Partial confounding
Replicate 2
Replicate 3
BC confounded
AC confounded
AB confounded
Block 1
Block 2
Block 3
Block 4
Block 5
Block 6
ab
abc
bc
bc
abc
ac
ab
ab
ac
ac
abc
bc
The main effects (A, B and C) and the three factor interaction ABC can be
estimated using all three replicates. The two factor interaction AB can be
estimated using replicates 1 and 2, AC using replicates 1 and 3, BC using
replicates 2 and 3,
Sum of Squares
d.f.
Reps
SSBlocks
SSBlocks(Reps)
SSA
SSB
SSC
AB
SSAB
Reps I,II
AC
SSAC
Reps I,III
BC
SSBC
Reps II,III
ABC
SSABC
Error
SSError
11
Total
SSTotal
23
Replicate 2
AC confounded
day 2
day 3
Replicate 3
AB confounded
day 4
day 5
day 6
25
ab
43
abc
39
bc
38
26
43
bc
34
30
29
37
32
34
abc
42
ac
40
27
ab
46
ab
52
ac
40
25
33
ac
40
34
abc
51
bc
36
Sum of
Squares
d.f.
Mean
Square
Reps
111.00
55.50
108.00
36.00
600.00
600.00
40.6**
253.50
253.50
17.2**
54.00
54.00
3.7(ns)
AB (Reps I,II)
6.25
6.25
<1
AC (Reps I,III)
1.00
1.00
<1
BC (Reps II,III)
6.25
6.25
<1
ABC
13.50
13.50
<1
Error
162.50
11
14.77
Total
1316.00
23
Fractional Factorials
A with BCD
B with ACD
C with ABD
D with ABC
AB with CD
AC with BD
AD with BC
Source
df
AB
AC
AD
Total
Example: 24 experiment
Aliased contrasts
1. I and AC and BD and ABCD
2. A and C and ABD and BCD
3. B and ABC and D and ACD
4. AB and BC and AD and CD
Source
df
AB
Total