Beruflich Dokumente
Kultur Dokumente
Factorial designs
Petter Mostad
mostad@chalmers.se
Experiments
Actively making changes and observing the result,
to find causal relationships.
Many types of experimental plans
Measuring response over a range of values
Searching for factors influencing a result
Make sure experiment is likely to answer your
questions. Adapt the experiment to the question
you want to ask!
1
Factorial designs
A number of factors are selected: They can be set by the
experimenter, and they are suspected to influence the
measured outcome
Two or more levels are selected for each factor.
The experiment is performed using all combinations of all
factor levels
The experiment may be replicated n times for each
combination of factor levels.
All other factors, including time should be randomized!
2
Some Basic Definitions
DOX 6E 5
Montgomery
50 + 12 20 + 40
A = y A+ y A = =1
2 2
40 + 12 20 + 50
B = yB + yB = = 9
2 2
12 + 20 40 + 50
AB = = 29
2 2
DOX 6E 6
Montgomery
3
Regression Model & The Associated Response Surface
y = 0 + 1 x1 + 2 x2 + 12 x1 x2 +
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
DOX 6E 7
Montgomery
4
Some types of factorial designs
22, as above
Two factors with several levels: rest of this
lecture
2k: Next lecture
5
Statistical (effects) model:
i = 1, 2,..., a
yijk = + i + j + ( )ij + ijk j = 1, 2,..., b
k = 1, 2,..., n
Other models (means model, regression models) can be useful
DOX 6E 11
Montgomery
6
Extension of the ANOVA to Factorials
(Fixed Effects Case) pg. 177
a b n a b
( yijk y... ) 2 = bn ( yi.. y... ) 2 + an ( y. j . y... ) 2
i =1 j =1 k =1 i =1 j =1
a b a b n
+n ( yij . yi.. y. j . + y... ) 2 + ( yijk yij . ) 2
i =1 j =1 i =1 j =1 k =1
SST = SS A + SS B + SS AB + SS E
df breakdown:
abn 1 = a 1 + b 1 + (a 1)(b 1) + ab(n 1)
DOX 6E 13
Montgomery
DOX 6E 14
Montgomery
7
Hypothesis testing
Normality assumptions about the
observations in each group
Three different null hypotheses: No
interaction, no row effect, no column effect.
The distribution of the test statistic under
the null hypothesis.
Checking assumptions
Compute the residuals!
Plot the residuals in various ways
Check also the random sample assumption
8
Example 5-1 The Battery Life Experiment
Text reference pg. 165
DOX 6E 17
Montgomery
9
Figure 5.9 (p. 171)
Material type-temperature plot for Example 5-1.
Design and Analysis of Experiments, 6/E
by Douglas C. Montgomery
10
Residual Analysis Example 5-1
DOX 6E 21
Montgomery
DOX 6E 22
Montgomery
11
Interaction Plot
DE S IG N-E X P E RT P l o t Interaction Graph
L i fe A: Mate ria l
188
X = B : T e m p e ra tu re
Y = A : M a te ri a l
A1 A1 146
A2 A2
A3 A3
L ife
104
2
62
2
20
15 70 125
B: Te m pe ra tu re
DOX 6E 23
Montgomery
12
What to test, and conclusions
Test first whether there is an interaction
If there is an interaction, the effects of rows and columns
may be difficult to interpret by themselves
If you get a high p-value when testing for interaction, it
may be a good idea to use a model without interaction (as
in the randomized blocks computations)
NOTE: Results from a model without interaction can be
seen directly from the ANOVA table!
13
Making concludions, multiple
testing, and Tukeys procedure
Once you have your model (interaction or
not) you will want to find which effects are
significantly different, and which are not.
You can make pairwise tests, or compute
confidence intervals for differences, as
above.
Multiple testing is an issue: One way to deal
with this is Tukeys procedure.
Overview
Given data from factorial experiment: How to
analyze?
Plot data
If only one observation per cell, compute the
interaction, or assume no interaction and look at the
residuals
Otherwise, test for an interaction term
Estimate the effects in the chosen model
Study residuals! Check the model
Find conf. intervals, possibly with Tukeys method
14