Design and Analysis of Experiments
Design and Analysis of Experiments
of Experiments
Chapter 3
• Models of data:
Means model : Effects model:
i 1, 2,..., a Define: i i
yij i ij ,
j 1, 2,..., n yij i ij ,
i mean of the i th factor level, an overall mean,
ij experimental error. i i th treatment effect.
ij N 0, 2
yij N i , 2 8
The Analysis of Variance
To test the equality of the a treatment means, appropriate
hypotheses are:
H 0 : 1 2 a
H1 : i j for at least one pair (i, j )
In a effects model, we breaks a
the i th
treatment mean into:
i a
i i , i 1 , i 0
a i 1
i i treatment effect.
th
Let:
yi. :total of the observations under the i th treatment,
yi. :average of the observations under the i th treatment,
y.. :total of all observations,
y.. :average of all observations,
n
yi.
yi. yij , yi. , i 1, 2,..., a
j 1 n
a n
y..
y.. yij , y.. ,
i 1 j 1 N
N a n :total number of observations 10
The Analysis of Variance
• Total variability is measured by the total sum of squares(SS)
a n
SST ( yij y.. ) 2
i 1 j 1
• The basic ANOVA partitioning is:
a n a n
ij .. i. .. ij i.
( y y
i 1 j 1
) [( y y2
) ( y y )]2
i 1 j 1
a a n a n
n ( yi. y.. ) ( yij yi. ) 2 ( yi. y.. )( yij yi. )
2 2
i 1 i 1 j 1
i 1 j 1
0
a a n
n ( yi. y.. ) 2 ( yij yi. )2 Ý nghĩa?
i 1 i 1 j 1
SST SSTreatments SS E
11
due to treatments due to error
The Analysis of Variance
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 a
H1 : At least one mean is different
12
The Analysis of Variance
•• While sums of squares cannot be directly compared to test
the hypothesis of equal means, mean squares can be
compared.
• A mean square is a sum of squares divided by its degrees
of freedom:
E MS E
2
15
The Reference
Distribution:
Reject H 0
16
Model Adequacy Checking in the
ANOVA
ij N 0, 2 ?
useful
• Normal probability plot
of residuals
18
Other Important Residual Plots
19
Post-ANOVA Comparison of
Means
• The analysis of variance tests the hypothesis of equal
treatment means
• Assume that residual analysis is satisfactory
• If that hypothesis is rejected, we don’t know which
specific means are different
• Determining which specific means differ following an
ANOVA is called the multiple comparisons problem
• There are lots of ways to do this…see text, Section 3-5,
pg. 90
• We will use pairwise t-tests on means…sometimes
called Fisher’s Least Significant Difference (or Fisher’s
LSD) Method
20
Fisher Pairwise Comparisons
Grouping Information Using the Fisher LSD Method and 95% Confidence
RF
power N Mean Grouping
220 5 707.00 A
200 5 625.40 B
180 5 587.40 C
160 5 551.20 D
Means that do not share a letter are significantly different.
22
Sample Size Determination
a 2 23
Sample Size Determination
Fixed Effects Case: use of OC Curves
• The OC curves for the fixed effects model are in
the Appendix, Table V, pg. 615
• A very common way to use these charts is to
define a difference in two means D of interest,
then the minimum value of is
2
2
nD
2
2a 2
• Typically work in term of the ratio of D / and
try values of n until the desired power is
achieved
• Minitab can perform power and sample size
calculations
24
Thực hành chương 3