Chapter 6 - S
Chapter 6 - S
Analysis of Variance
( 3 hours)
Chapter outline
Do Not
Reject H 0
0 F
F(α; k – 1, n – k)
Always One-Tail!
© 1984-1994 T/Maker Co.
Example
You select independent random samples of five female
and five male high school seniors and record their SAT
scores Can we conclude that the population of female
high school students scores higher, on average, than the
population of male students?
Example
Are the assumptions required for the
test approximately satisfied?
Degrees Mean
Source of Sum of
of Square F
Variation Squares
Freedom (Variance)
Treatment k–1 SST MST = MST
SST/(k – 1) MSE
Error n–k SSE MSE =
SSE/(n – k)
Total n–1 SS(Total) =
SST+SSE
ANOVA F-Test Hypotheses
H0: 1 = 2 = 3 = ... = k
f(x)
— All population means
are equal
— No treatment effect
x
1 = 2 = 3
Ha: Not All i Are Equal
— At least 2 pop. means
f(x)
are different
— Treatment effect
— ... is
1 2 k x
Wrong 1 = 2 3
ANOVA F-Test Example
As production manager,
you want to see if three Mach1 Mach2 Mach3
filling machines have 25.40 23.40 20.00
different mean filling times. 26.31 21.80 22.20
You assign 15 similarly 24.10 23.50 19.75
trained and experienced 23.74 22.75 20.60
workers, 5 per machine, to 25.10 21.60 20.40
the machines. At the .05
level of significance, is
there a difference in mean
filling times?
ANOVA F-Test
Thinking Challenge
10 11 13 18
9 16 8 23
5 9 9 25
Use the following table.
Summary Table
(Partially Completed)
Degrees Mean
Source of Sum of
of Square F
Variation Squares (Variance)
Freedom
Treatment 348
(Methods)
Error 80
Total
The Randomized Block Design
Randomized Block Design
The randomized block design consists of a two-
step procedure:
1. Matched sets of experimental units, called
blocks, are formed, each block consisting of k
experimental units (where k is the number of
treatments). The b blocks should consist of
experimental units that are as similar as possible.
2. One experimental unit from each block is
randomly assigned to each treatment, resulting in
a total of
n = bk responses.
Randomized Block Design
Reduces sampling variability (SSE)
Matched sets of experimental units (blocks)
One experimental unit from each block is
randomly assigned to each treatment
Randomized Block Design
Total Variation Partitioning
ANOVA F-Test to Compare k Treatment
Means: Randomized Block Design
H0: µ1 = µ2 = … = µk
Ha: At least two treatment means differ
MST
Test Statistic: F
MSE
Rejection region: F > F, where F is based on (k –
1) numerator degrees of freedom and (n – b – k
+1) denominator degrees of freedom.
Conditions Required for a Valid ANOVA F-test:
Randomized Block Design
Factor Factor B
A 1 2 ... b Observation k
1 x111 x121 ... x1b1
x112 x122 ... x1b2 xijk
2 x211 x221 ... x2b1
x212 x222 ... x2b2 Level i Level j
: : : : : Factor Factor
a xa11 xa21 ... xab1 A B
Low Low
A B C A B C
Two-Way ANOVA
Total Variation Partitioning
Two-Way ANOVA
Summary Table