3a. Factorial Experiment
3a. Factorial Experiment
Factorial Experiment
60 60
50 50
40 40
Pressure
Pressure
30 30
20 20
10 10
0 0
EI V
60
90
150
127
220
General Two-Factor Factorial Experiment
( )2
a b n a b
(yijk − y ••• ) = bn (y i•• − y ••• ) + an y • j• − y •••
2 2
SS DF MS F-stat p-value
Average 9861.33 1
Treatments 4987.66667 5 997.533 43.059 0.00013
Voltage 96.33 1 96.333 4.158 0.08754
EI 4608.17 2 2304.083 99.457 0.00003
Interaction 283.17 2 141.583 6.112 0.03569
Error 139.00 6 23.167
Total 14988.00 12
Example: Interpretation
low high – + –1 +1
x2 0
high low + – +1 –1 -2 -1 0 1 2
high high + + +1 +1 -1
Interaction Effect = 3 – 1 = 2
A 23 Example – Worsted Yarn
First let's assume that the factors are quantitative and there
are no interaction effects.
•In this case, the conjectured model is:
y = 0 + 1x1 + 2 x 2 + 3 x 3 +
•Consider fitting this model to the data via least squares
(regression) to estimate each of the main effects.
▪We thus want to find values for the coefficients that
minimize N
j 0 1 1j 2 2 j 3 3 j
( y − − x − x − x ) 2
j =1
where
yj = response at the jth design point,
xij = (coded) level of factor i at the jth design point, and
N = number of design points = 23 = 8.
23 Example: Regression Coefficients
•Example: βˆ = (X y )/ n where
2.83 1 -1 -1 -1 1
3.56 1 1 -1 -1 2
2.23 1 -1 1 -1 3
y = 3.06 X= 1 1 1 -1 = 4
2.47 1 -1 -1 1 5
3.30 1 1 -1 1 6
1.95 1 -1 1 1 7
2.56 1 1 1 1 8
β̂0 = ( 2.38 + 3.56 + 2.23 + 3.06 + 2.47 + 3.30 + 1.95 + 2.56) / 8 = 2.745
β̂1 = ( −2.38 + 3.56 − 2.23 + 3.06 − 2.47 + 3.30 − 1.95 + 2.56) / 8 = 0.375
β̂2 = ( −2.38 − 3.56 + 2.23 + 3.06 − 2.47 − 3.30 + 1.95 + 2.56) / 8 = −0.295
β̂3 = ( −2.38 − 3.56 − 2.23 − 3.06 + 2.47 + 3.30 + 1.95 + 2.56) / 8 = −0.175
Thus, the fitted model is y = 2.745 + 0.375x1 – 0.295x2 – 0.175x3.
23 Example: Computing the Main Effects
•Next, let's compute the main effect of each factor as the
difference between the average response when the factor is
high level and the average response when it is low.
▪Factor A (x1): (x2,x3)
Total Average
(-1,-1) (1,-1) (-1,1) (1,1)
x1 = 1: 3.56 3.06 3.30 2.56 12.48 3.12
x1 = -1: 2.83 2.23 2.47 1.95 9.48 2.37
Difference: 3.00 0.75
BC
-1.5
-2.0
-1.0 0.0 1.0 2.0 3.0 4.0
Surface Finish Example: Fit Via Regression
Regression Analysis: Response versus A, B, C, AB, AC, BC, ABC
Analysis of Variance
Source DF SS MS F P
Regression 7 73.437 10.491 4.30 0.029
Residual Error 8 19.500 2.437
Total 15 92.937
Yarn Example Revisited
Data (Again):
Factors Coded Variables Response
A B C Y = Cycles
Length (mm) Amplitude (mm) Load (g) x1 x2 x3 to failure y = log10Y
250 8 40 -1 -1 -1 674 2.83
350 8 40 +1 -1 -1 3636 3.56
250 10 40 -1 +1 -1 170 2.23
350 10 40 +1 +1 -1 1140 3.06
250 8 50 -1 -1 +1 292 2.47
350 8 50 +1 -1 +1 2000 3.30
250 10 50 -1 +1 +1 90 1.95
350 10 50 +1 +1 +1 360 2.56
Yarn Example: Fitted Model
Fractional Factorial Fit: Response versus A, B, C
A B C AB AC BC ABC y
(1) -1 -1 -1 1 1 1 -1 16
a 1 -1 -1 -1 -1 1 1 22
b -1 1 -1 -1 1 -1 1 20
ab 1 1 -1 1 -1 -1 -1 27
c -1 -1 1 1 -1 -1 1 21
ac 1 -1 1 -1 1 -1 -1 23
bc -1 1 1 -1 -1 1 -1 18
abc 1 1 1 1 1 1 1 30