Professional Documents
Culture Documents
2k Factorials 2
Week 3 Black Belt Training
2k Factorials 3
Do you know 2k Factorials?
2k Factorials 4
Learning Objectives
2k Factorials 5
2k Factorials
2k Factorials 6
2k Factorial Designs -- Notation
2k designs are experiments where all factors have only two levels.
How many factors and levels in a 2k factorial?
How many treatment combinations?
Notation:
In General: How many factors and levels in a 2 x 2 x 2?
How many treatment combinations in a full factorial?
How many factors and levels in a 2 x 2 x 2 x 2 x 2?
How many treatment combinations in a full factorial?
How many factors and levels in a 27 experiment?
How many treatment combinations?
2k Factorials 10
Exercise
2k Factorials 11
22 Design Example (continued)
Treatment
Replicate
Factors combination
Average
A B I II III
- + A low, B high 28 30 26 84/3=28
+ - A high, B low 24 28 26 78/3=26
- - A low, B low 18 20 22 60/3=20
+ + A high, B high 38 40 36 114/3=38
2k Factorials 12
22 Example Graphically
a denotes the effect of factor A, b denotes the effect of factor B
and ab denotes the AB interaction
b = 28
ab = 38
High 30%
concentration B
Reactant
Low 15%
(1) = 20 a = 26
Treatment
combination Replicate
Factors
Average
Low High
A B I II III
40%
- + A low, B high 28 30 26 84/3=28
20%
+ - A high, B low 24 28 26 78/3=26
- -
A low, B low 18 20 22 60/3=20
+ +
A high, B high
38 40 36 114/3=38 Reactant concentration A
2k Factorials 13
Main Effects
In a 2K DoE:
The main effect for a factor is the average of all the data
when the factor is at the high level minus the average of all
the data when the factor is at the low level
2k Factorials 14
2k Example
An engineer wants to determine the change in alloy hardness (HRC)
with changes in the Heat Treat process. He designs an experiment
using:
two different temperature profiles (Low and High)
two time profiles (short and long)
furnaces from two different Temp Time Furnace
manufacturers. -1 -1 -1
He only has enough resources 1 -1 -1
to run one replicate.
-1 1 -1
The DOE matrix would be:
1 1 -1
-1 -1 1
1 -1 1
-1 1 1
1 1 1
2k Factorials 15
Calculating Main Effects From Contrasts
Multiply the response by the contrast for that factor
Sum the values and divide by n (the number of values for any level).
In other words, if there are eight total runs, and a factor has two levels, there are
four runs at the high level of the factor and four at the low level of the factor. In
this case n = 4.
Temp Time Furnace HRC HRC*Temp HRC*Time HRC*Furnace
-1 -1 -1 43
1 -1 -1 45
-1 1 -1 45
1 1 -1 49
-1 -1 1 43
1 -1 1 46
-1 1 1 45
1 1 1 49
Sum
n
Sum/n
2k Factorials 16
Calculate Main Effects
From Contrasts
Multiply the response by the contrast for that factor
Sum the values and divide by n (the number of values for any level).
In other words, if there are eight total runs, and a factor has two levels, there
are four runs at the high level of the factor and four at the low level of the factor.
In this case n = 4.
2k Factorials 17
Contrasts and Calculations
for Interactions
How do you calculate the contrasts for the interactions?
Multiply them together!
Calculate the magnitude of the interactions the same way, too.
Temp Time Furnace T*Tm*HRC T*F*HRC Tm*F*HRC T*Tm*F*HRC HRC
-1 -1 -1 43 43 43 -43 43
1 -1 -1 -45 -45 -45 45 45
-1 1 -1 -45 45 45 45 45
1 1 -1 49 -49 -49 -49 49
-1 -1 1 43 -43 -43 43 43
1 -1 1 -46 46 46 -46 46
-1 1 1 -45 -45 -45 -45 45
1 1 1 49 49 49 49 49
13 11 1 3 1 1 -1 Sum
4 4 4 4 4 4 4 n
3.25 2.75 0.25 0.75 0.25 0.25 -0.25 Sum/n
2k Factorials 18
DOE Method Demonstration
2k Factorials 19
Heat Treat Example
2k Factorials 20
Step 4: Design the Experiment
In Minitab; go to Stat > DOE > Factorial > Create Factorial Design
Click the “Designs” button and then select the “Full factorial” design. Click OK.
2k Factorials 21
Step 4: Design the Experiment
(continued)
Select the “Factors” button and enter the names of the Factors.
2k Factorials 22
Step 4: Design the Experiment
(continued)
2k Factorials 23
Step 4: Minitab Output
Click on OK on the main DOE menu and you should get this:
2k Factorials 25
Minitab Output – Full Model
Estimated Effects and Coefficients for HRC (coded units)
Term Effect Coef
Constant 45.6250 The value of effect is calculated as the
Temp 3.2500 1.6250 amount of the change that occurred when
Time 2.7500 1.3750 the factor was moved from level –1 to 1.
Furnace 0.2500 0.1250 The coefficient is the amount of the change
Temp*Time 0.7500 0.3750 that occurs with a one unit change, thus in
Temp*Furnace 0.2500 0.1250 a two level factorial, the coefficient is half
Time*Furnace -0.2500 -0.1250 of the calculated effect.
Temp*Time*Furnace -0.2500 -0.1250
S = *
The DOE analysis routine does not show the ANOVA table for the details. It only
shows the table for the main categories.
2k Factorials 26
Using Minitab Graphs to Select Terms
60
50
40
30
20
10
5
1
-1 0 1 2 3
Effect
Lenth's PSE = 0.375
2k Factorials 27
The Pareto Diagram
Pareto Chart of the Effects
(response is HRC, Alpha = .10)
0.995
F actor N ame
A Temp
A
B Time
C F urnace
B
AB
Term
AC
ABC
BC
2k Factorials 28
Step 7: Re-run With the Reduced Model
2k Factorials 29
Turn on the Residual Plots
Click the “Graphs” button, then under “Residual Plots”, select “Four in one” and
click OK, OK.
2k Factorials 30
Minitab Results – Reduced Model
2k Factorials 31
Step 8: Investigate the Residuals
Do the residuals look normal? Are the Residuals vs. Fits plotted randomly
About zero with no trends? Are there any trends in sample order or outliers?
Residual Plots for HRC
Normal Probability Plot of the Residuals Residuals Versus the Fitted Values
99
0.50
90
0.25
Residual
Percent
50 0.00
-0.25
10
-0.50
1
-0.50 -0.25 0.00 0.25 0.50 44 46 48
Residual Fitted Value
4.5 0.25
Frequency
Residual
3.0 0.00
1.5 -0.25
-0.50
0.0
-0.4 -0.2 0.0 0.2 0.4 1 2 3 4 5 6 7 8
Residual Observation Order
2k Factorials 32
Step 9: Investigate the Interactions
Select Stat>DOE>Factorial>Factorial Plots…
2k Factorials 33
Minitab Output – Interactions Plots
Temp
48
-1
1
46
T emp
44
Time
48 -1
1
46
T ime
44
Furnace
48
-1
1
46
Fur nace
44
-1 1 -1 1
2k Factorials 34
Step 10: Investigate the Main Effects
47
46
45
Mean of HRC
44
-1 1 -1 1
Furnace
47
46
45
44
-1 1
2k Factorials 35
Step 11: Mathematical Model
2k Factorials 36
Step 11 (cont.): Calculate %SS
To get all of the Sums-of-Squares, you must run the Balanced ANOVA.
Go to Stat>ANOVA>Balanced ANOVA… In the “Responses” field, enter
“HRC”. In the “Model” field, enter “Temp Time Temp*Time”. Next
click on OK.
2k Factorials 37
Step 12: Translate into Practical Terms
Step 13: Replicate the optimum conditions. Plan the next experiment and
institutionalize the change.
2k Factorials 38
2k DOE Homework
Use the DOE Method to analyze the data for this second
alloy.
2k Factorials 39
Summary
2k basics
Factorial Design Notations
Calculating the Main Effect & Interaction
values from contrasts
How to apply the 2k DOE steps and translate
the outcome in practical terms.
2k Factorials 40
Questions?
2k Factorials 41
Nypro LSS
Training Material Change Log
7 August 2009 Scott Ford Updated for Wave 3. Based upon Wave 2 Material.
2k Factorials 42