Professional Documents
Culture Documents
7E 2009 Montgomery
What If There Are More Than
T
Two Factor
F Levels?
L l ?
• The t-test does not directlyy apply
pp y
• There are lots of practical situations where there are
either more than two levels of interest, or there are
severall ffactors
t off simultaneous
i lt interest
i t t
• The analysis of variance (ANOVA) is the appropriate
analysis “engine”
engine for these types of experiments
• The ANOVA was developed by Fisher in the early
1920s, and initially applied to agricultural experiments
• Used extensively today for industrial experiments
i 1,2,...,
, , ,a
yij i ij ,
j 1,2,..., n
i 1 j 1
ij .. i. .. ij i.
( y y
i 1 j 1
) [( y
2
y ) ( y y
i 1 j 1
)]2
a a n
n ( yi. y.. ) 2 ( yij yi. ) 2
i 1 i 1 j 1
SST SSTreatments
T t t SS E
SST SSTreatments SS E
• A large value of SSTreatments reflects large differences in
treatment means
• A small value of SSTreatments likely indicates no
diff
differences in
i treatment
t t t means
• Formal statistical hypotheses are:
H 0 : 1 2 a
H1 : At least one mean is different
• Computing…see text, pp 69
• Th reference
The f di
distribution
t ib ti for
f F0 is
i th
the Fa-1, a(n-1) distribution
di t ib ti
• Reject the null hypothesis (equal treatment means) if
F0 F ,a 11,a ( n 1)
P-value
• Checking
Ch ki assumptions ti i iimportant
is t t
• Normality
• Constant variance
• Independence
• Have we fit the right model?
• L t we will
Later ill ttalk
lk about
b t what
h t tto d
do if
some of these assumptions are
violated
i l t d
Chapter 3 Design & Analysis of Experiments 19
7E 2009 Montgomery
The normality assumption could be verified by
constructing a normal probability plot of the residuals. If
the underlying error distribution is normal, this plot will
resemble a straight line.
DOX 6E Montgomery 20
Model Adequacy Checking in the ANOVA
• Examination of
residuals (see text, Sec.
3 4 pg. 75)
3-4,
• Computer software
generates the residuals
• Residual plots are very
useful
• Normal probability plot
of residuals
DOX 6E Montgomery 23
Plot of residuals versus fitted values
• If the model is correct and if the
assumptions are satisfied, the
residuals should be
structureless A simple check is
structureless.
to plot the residuals versus the
fitted values. This plot should
nott reveall any obvious
b i pattern
tt
as shown in Fig. 3.6.
• Nonconstant variance may
show up on this plot in a form of
an outward opening funnel or
megaphone.
megaphone
• One way in dealing with
nonconstant variance is to
apply a variance stabilizing
DOX 6E Montgomery 24
transformation
The Regression Model
SS Model 66870.55
R2 0.9261
SS Total 72209.75
• R2 is loosely interpreted as
the proportion of the
variability in the data
explained by the ANOVA
model. Values closer to 1 is
desirable.
• Adjusted R2 reflects the
number of factors in the
model and useful for
evaluating the impact of
increasing or decreasing the
number of model terms.
• Others – see text pg. 98
DOX 6E Montgomery 30
Figure 3.13 (p. 100)
Minitab computer output for
Example 3-1.
DOX 6E Montgomery 31
Why Does the ANOVA Work?
We are sampling
W li fromf normall populations,
l i so
SSTreatments SS E
2
a 1 if H is true,
, and 2
a ( n 1)
2
0 2
Cochran's theorem gives the independence of
these
h two chi-square
hi random
d variables
i bl
SSTreatments /(a 1) a21 /(a 1)
So F0 Fa 1,1 a ( n 1)
SS E /[a (n 1)] 2
a ( n 1) /[a (n 1)]
n
n i
2
Finally, E ( MSTreatments ) 2 i 1
and E ( MS E ) 2
a 1
Therefore an upper-tail F test is appropriate.
Chapter 3 Design & Analysis of Experiments 32
7E 2009 Montgomery
Sample Size Determination
Text, Section 3.7, pg. 101
• FAQ in designed experiments
• Answer depends on lots of things; including
what type
yp of experiment
p is being
g
contemplated, how it will be conducted,
resources, and desired sensitivity
• Sensitivity
S iti it refers
f tto the
th difference
diff in
i means
that the experimenter wishes to detect
• Generally,
Generally increasing the number of
replications increases the sensitivity or it
makes it easier to detect small differences in
means
Chapter 3 Design & Analysis of Experiments 33
7E 2009 Montgomery
Sample Size Determination
Fi d Eff
Fixed Effects
t Case
C
2a 2
• Typically work in term of the ratio of D / and try values
off n untilil the
h desired
d i d power is
i achieved
hi d
• Most statistics software packages will perform power and
sample size calculations – see page 103
• There
Th are some other
th methods
th d didiscussedd iin th
the ttextt
• Chapter 3
No. 3.1, 3.3, 3.6, 3.9
(N 3
(No. 3.7,
7 33.8,
8 33.11,
11 33.5)
5)
DOX 6E Montgomery 42