Design of Experiments
Design of Experiments
ANALYSIS OF VARIANCE
Normal Distribution
Gaussian Equation:
m
f(y) =
Measurement:
yi = + ei
m
b
P(a y b) =
f ( y )dy
f ( y)dy 1
Estimation of Parameters
Measurement:
yi = + ei
1 n
y yi estimates the population mean m
n i n1
1
y 2
1 yi n estimates2 the population mean m 2 2
Deviation)
:
SThe
nSample
( yi y ) (Standard
estimates the
variance s
i 1 Variance
n 1 i n1
1
2
2
2
S
( yi y ) estimates the variance s
n 1 i 1
z
1
f ( z)
exp
2
2
2
ym
m z= 0
s z= 1
Y
f ( z )dz
Y
Y
rea
rea
rea
rea
rea
rea
rea
rea
-4,00
0,0000
-3,00
0,0013
-2,00
0,0228
-1,00
0,1587
0,00
0,5000
1,00
0,8413
2,00
0,9772
3,00
0,9987
-3,99
0,0000
-2,99
0,0014
-1,99
0,0233
-0,99
0,1611
0,01
0,5040
1,01
0,8438
2,01
0,9778
3,01
0,9987
-3,98
0,0000
-2,98
0,0014
-1,98
0,0239
-0,98
0,1635
0,02
0,5080
1,02
0,8461
2,02
0,9783
3,02
0,9987
-3,97
0,0000
-2,97
0,0015
-1,97
0,0244
-0,97
0,1660
0,03
0,5120
1,03
0,8485
2,03
0,9788
3,03
0,9988
-3,96
0,0000
-2,96
0,0015
-1,96
0,0250
-0,96
0,1685
0,04
0,5160
1,04
0,8508
2,04
0,9793
3,04
0,9988
-3,95
0,0000
-2,95
0,0016
-1,95
0,0256
-0,95
0,1711
0,05
0,5199
1,05
0,8531
2,05
0,9798
3,05
0,9989
-3,94
0,0000
-2,94
0,0016
-1,94
0,0262
-0,94
0,1736
0,06
0,5239
1,06
0,8554
2,06
0,9803
3,06
0,9989
-3,93
0,0000
-2,93
0,0017
-1,93
0,0268
-0,93
0,1762
0,07
0,5279
1,07
0,8577
2,07
0,9808
3,07
0,9989
-3,92
0,0000
-2,92
0,0018
-1,92
0,0274
-0,92
0,1788
0,08
0,5319
1,08
0,8599
2,08
0,9812
3,08
0,9990
-3,91
0,0000
-2,91
0,0018
-1,91
0,0281
-0,91
0,1814
0,09
0,5359
1,09
0,8621
2,09
0,9817
3,09
0,9990
Formula 2
y2,j
Formulation 1
y1 16.76
16.85
17.50
16.40
17.63
S12 0.100
17.21
18.25
16.35
18.00
S1 0.316
16.52
17.86
17.04
17.75
16.96
18.22
Formulation 2
17.15
17.90
16.59
17.96
y2 17.92
10
16.57
18.15
Average:
16.76
17.92
n1 10
S 0.061
2
2
S 2 0.247
n2 10
Frequency
y2 17.92
S12 0.100
S 22 0.061
S1 0.316
S 2 0.247
n1 10
n2 10
0.247
0.316
16.76
14
15
16
17
17.92
18
19
Observation
20
21
y1 y 2
t0
1 1
Sp
n1 n2
2
2
(
n
1
)
S
(
n
1
)
S
1
2
2
S p2 1
n1 n 2 2
t0 follows a
t-distribution
with n1+n2-2 degrees
of freedom
t distribution
with 18 DOF
2.5%
2.5%
m1 = m2 is considered
to be a rare event if
| t0 | is 2.101.
N = an total runs
If we define:
mi = m + ti
yij = m + ti + eij
i 1, 2,..., a
yij m t i e ij ,
j 1, 2,..., n
Treatments
Replications
i 1, 2,..., a
yij m t i e ij ,
j 1, 2,..., n
ANOVA
Definitions:
Observation Mean:
n
yi .
y
j 1
e ij experimental
error, NID(0
a
n
ij
(within treatments)
y..
y
i 1 j 1
ij
(all measurements)
SS T ( y ij y .. ) 2
a measure of the
total variability
i 1 j 1
SS T
2
(
y
y
)
ij ..
i 1 j 1
2
[(
y
y
)
(
y
y
)]
i . .. ij i .
i 1 j 1
Treatment
Average
2
[(
y
y
)
(
y
y
)]
i. .. ij i.
i 1 j 1
SS T
2
2
(
y
y
)
(
y
y
)
i . .. ij i . 2 ( y i . y .. )( y ij y i. )
i 1 j 1
i 1 j 1
n ( y i . y .. )
i 1
i 1 j 1
(y
j 1
ij
yi. ) 0
SS T n ( y i . y .. ) 2 ( y ij y i . ) 2 SS Trea tm en ts SS E rro rs
i 1
i 1 j 1
SST SSTreatments SS E
H 0 : m1 m 2
ma
MS Error
SS Error
N a
2
(
y
y
)
ij i.
i 1 j 1
N a
S2
2
(
y
y
)
i
i 1
n 1
MS Treatments
F0
MS Error
Reject the null hypothesis
(equal treatment means) if
F0 F , a 1, a ( n 1)
ANOVA
Source of
Variation
Between Groups
Within Groups
Total
SS
df
MS
475.76
161.2
20
636.96
24
P-value
F crit
MS Treatments
F0
14.76
MS Error
The F Distribution
With a-1 (5-1=4) and N-a (25-5=20)
Degrees of Freedom (F4,20)
F0.05,4,20 = 2.87 (5% probability)
F0.01,4,20 = 4.43 (1% probability)
MORE FACTORS?
The Statistical Effects Model
i 1, 2,..., a
ti = effect of treatment A
j = effect of treatment B
(t)ij = synergistic effect of
treatments A and B (interaction term)
i 1
j 1
2
2
2
(
y
y
)
bn
(
y
y
)
an
(
y
y
)
ijk ...
i.. ...
. j. ...
i 1 j 1 k 1
i 1 j 1
Degrees of Freedom:
SST = abn-1
SSA = a-1
SSB = b-1
SSAB = (a-1)(b-1)
SSE = ab(n-1)
i 1 j 1 k 1
SST SS A SS B
SS ABC
SS AB SS AC
SS AB
SS E