Professional Documents
Culture Documents
Anova - Example - P60 - 69
Anova - Example - P60 - 69
Anova - Example - P60 - 69
15 20 25 30 35 Cotton %
15 20 25 30 35 Cotton %
Can we determine which is better?
ANOVA_EXAMPLE P60 Brainerd 6
ANOVA: Design of Experiments
Chapter 3
H 0 : µ1 = µ 2 = µ 3 = ... = µ i
H a : At least one µ i is different
REPLICATION
Tensile
Strength
15 20 25 30 35 Cotton %
What does replication provide?
ANOVA_EXAMPLE P60 Brainerd 7
ANOVA: Design of Experiments
Chapter 3
H 0 : µ1 = µ 2 = µ 3 = ... = µ i
H a : At least one µ i is different
REPLICATION
Tensile Effect
Strength If the sample mean is used
to estimate the effect of a
factor in the experiment,
then replication permits
the experimenter to obtain
a more precise estimate of
this effect.
15 20 25 30 35 Cotton %
What else does replication provide?
ANOVA_EXAMPLE P60 Brainerd 8
ANOVA: Design of Experiments
Chapter 3
H 0 : µ1 = µ 2 = µ 3 = ... = µ i
H a : At least one µ i is different
REPLICATION
Tensile Effect
Strength Error
Allows the experimenter to
σ 2
obtain an estimate of the
experimental error. This
σ 2
=
estimate if error becomes a
xi of measurement
basic unit
n
for determining whether
observed differences in the
data are really statistically
15 20 25 30 35 different. Cotton %
What assumption does the error estimate depend upon?
ANOVA_EXAMPLE P60 Brainerd 9
ANOVA: Design of Experiments
Chapter 3
H 0 : µ1 = µ 2 = µ 3 = ... = µ i
H a : At least one µ i is different
REPLICATION
Tensile Effect
Strength Error
RANDOMIZATION
Both the allocation of the
experimental material and the
order in which the individual
runs or trials of the experiment
are to be performed are
randomly determined.
Cotton % 15 20 25 30 35
Cotton %
15 20 25 30 35
What if the measurements varied widely because of human operators?
ANOVA_EXAMPLE P60 Brainerd 13
ANOVA: Design of Experiments
Chapter 3
• PUSHUP EXAMPLE
– Test if one can do push ups better in the
morning or afternoon. 20 DATA POINTS
– Select 40 people at random
Is PM really
better than AM?
AM PM
ANOVA_EXAMPLE P60 Brainerd 14
ANOVA: Design of Experiments
Chapter 3
• What if the PM group of 20 was in better shape then the AM group of
20?
• What if the test was conducted on a Monday morning?
• What if different people counted the push ups between AM and PM?
Is PM really
better than AM?
AM PM
Uncontrollable Factors
15 20 25 30 35 Cotton %
Variation
Within 15 20 25 30 35 Cotton %
Samples
ANOVA_EXAMPLE P60 Brainerd 19
Analysis of Variance (ANOVA)
When very different
Tensile
Strength
Between Sample
Variation Large
Within Sample
Variation Small
15 20 25 30 35 Cotton %
Tensile
Strength
15 20 25 30 35 Cotton %
Between Sample Variation near equal to
Within Sample Variation
ANOVA_EXAMPLE P60 Brainerd 21
Analysis of Variance (ANOVA)
Between Sample Variation
TEST STAT =
Within Sample Variation
F-TEST
REQUIRED ASSUMPTION
All data is normal with equal variance
EXTENSION OF TWO SAMPLE POOLED t
S + S + S + ....S
2 2 2 2
MSE = 1 2 3 I
I
ANOVA_EXAMPLE P60 Brainerd 25
Analysis of Variance (ANOVA)
H 0 : µ1 = µ 2 = µ 3 = ... = µ i
H a : At least one µ i is different
Between Sample Variation
TEST STAT =
Within Sample Variation
MSTr If H 0 true
f = E ( MSTr ) = E ( MSE ) = σ 2
MSE
If H 0 false
Fα , I −1, I ( J −1) E ( MSTr ) > E ( MSE ) = σ 2
SST = SSTreatments + SS E
• A large value of SSTreatments reflects large differences in
treatment means
• A small value of SSTreatments likely indicates no differences in
treatment means
• Formal statistical hypotheses are:
H 0 : µ1 = µ 2 = L = µ a
H1 : At least one mean is different
• Computing…see text, pp 70 – 73
• The reference distribution for F0 is the Fa-1, a(n-1) distribution
• Reject the null hypothesis (equal treatment means) if
F0 > Fα ,a −1,a ( n −1)
15% Cotton 20% Cotton 25% Cotton 30% Cotton 35% Cotton
Tensile Strength Tensile Strength Tensile Tensile Tensile
lb/in2 lb/in2 Strength lb/in2 Strength lb/in2 Strength lb/in2
7 12 14 19 7
7 17 18 25 10
15 12 18 22 11
11 18 19 19 15
9 18 19 23 11
SUMMARY
Groups Count Sum Average Variance
15% Cotton
Tensile Strength
lb/in2 5 49 9.8 11.2
20% Cotton
Tensile Strength
lb/in2 5 77 15.4 9.8
25% Cotton
Tensile Strength
lb/in2 5 88 17.6 4.3
30% Cotton
Tensile Strength
lb/in2 5 108 21.6 6.8
35% Cotton
Tensile Strength
lb/in2 5 54 10.8 8.2
Within
Groups 161.2 20 8.06
Total 636.96 24
Within as =
Groups Error 161.2 20 8.06 118.94/8.06 =
as = [(25 x 6292) -
Total =(n( ΣΣxij2)-(ΣΣxij)2)/n 636.96 (376^2)]/25 24 14.76
Press
continue ...
STEP 2
Press
continue ...
STEP 3
Define #
replicates
Press
continue ...
STEP 4
# and
Name
response
Press
continue ...
STEP 5
Run experiment
in the defined
random order
and
measure/input
responses
Press
continue ...
STEP 6
Design Expert
Analysis
STEP 7
Design Expert
Analysis
ANOVA
STEP 8
Design Expert
Analysis
STEP 9
Design Expert
Analysis
Effects
M for Model
e for error
DF: Degrees of freedom for the model. It is the number of model terms, including the intercept, minus one.
Mean Square: Estimate of the model variance, calculated by the model sum of squares divided by model degrees
of freedom.
F Value: Test for comparing model variance with residual (error) variance. If the variances are close to the
same, the ratio will be close to one and it is less likely that any of the factors have a significant effect on the
response. Calculated by Model Mean Square divided by Residual Mean Square.
Probe > F: Probability of seeing the observed F value if the null hypothesis is true (there is no factor effect).
Small probability values call for rejection of the null hypothesis. The probability equals the proportion of the
area under the curve of the F-distribution that lies beyond the observed F value. The F distribution itself is
determined by the degrees of freedom associated with the variances being compared.
(In "plain English", if the Probe>F value is very small (less than 0.05) then the terms in the
model have a significant effect on the response.)
Std Dev: (Root MSE) Square root of the residual mean square. Consider this to be an estimate
of the standard deviation associated with the experiment.
Adj R-Squared: A measure of the amount of variation around the mean explained by the model,
adjusted for the number of terms in the model. The adjusted R-squared decreases as the number of
terms in the model increases if those additional terms don’t add value to the model.
1-(PRESS / (SStotal-SSblock)
The predicted r-squared and the adjusted r-squared should be within 0.20 of each other. Otherwise
there may be a problem with either the data or the model. Look for outliers, consider
transformations, or consider a different order polynomial.
• Examination of residuals
(see text, Sec. 3-4, pg. 76)
eij = yij − yˆij
= yij − yi.
• Design-Expert generates
the residuals
• Residual plots are very
useful
• Normal probability plot
of residuals
2.95 2.95
2
R es iduals
R es iduals
0.7 0.7
2
2
-1.55 -1.55
2
2
2
-3.8
-3.8
1 4 7 10 13 16 19 22 25
9.80 12.75 15.70 18.65 21.60
Predicted R un N um ber
Actual Factors:
%
20.5
Strength = +62.61143
2 2
-9.01143* Cotton Weight 2 2
Strength
% +0.48143 * Cotton 16
A: C otton Weight %