Professional Documents
Culture Documents
Analysis of Variance
Chapter outline
Total variation
Response, x
2
SST ni xi x
i1
Response, x
x3
x
x2
x1
j 1 j 1 j 1
Response, x
x3
x2
x1
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
Test Statistic
H0 is true: the sample means would be close to one
another SST is small
H1 is true: there would be large differences between some
Degrees of Freedom
• 1 = k – 1 numerator degrees of freedom
• 2 = n – k denominator degrees of freedom
— k = Number of groups
— n = Total sample size
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 to Compare k
Treatment Means:
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 (associated with
MST) and (n – k) denominator degrees of freedom
(associated with MSE).
ANOVA F-Test Critical Value
Do Not
Reject H 0
0 F
F(α; k – 1, n – k)
Always One-Tail!
© 1984-1994 T/Maker Co.
Conditions Required for a Valid ANOVA F-
test:Completely Randomized Design
= .05
0 3.89 F
Summary Table
Solution
From Computer
Degrees Mean
Source of Sum of
of Square F
Variation Squares (Variance)
Freedom
Total 15 – 1 = 14 58.2172
ANOVA F-Test Solution
H0: 1 = 2 = 3
Test Statistic:
Ha: Not all equal
= .05 MST 23 .5820
F 25.6
1 = 2 2 = 12 MSE .9211
Critical Value(s):
Decision:
Reject at = .05
= .05
Conclusion:
There is evidence population
0 3.89 F means are different
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
ANOVA F-Test
Solution
H0: 1 = 2 = 3 = 4
Test Statistic:
Ha: Not all equal
= .05
= 3
1 2 = 8
Critical Value(s):
Decision:
= .05
Conclusion:
0 4.07 F
Summary Table
Solution
Degrees Mean
Source of Sum of
of Square F
Variation Squares (Variance)
Freedom
Treatment 4–1=3 348 116 11.6
(Methods)
Error 12 – 4 = 8 80 10
Total 12 – 1 = 11 428
ANOVA F-Test
Solution
H0: 1 = 2 = 3 = 4
Test Statistic:
Ha: Not all equal
MST 116
= .05 F 11.6
MSE 10
= 3
1 2 = 8
Critical Value(s):
Decision:
Reject at = .05
= .05
Conclusion:
There is evidence population
0 4.07 F means are different
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
= .05
0 4.46 F
Summary Table
Solution
Degrees Mean
Source of Sum of
of Square F
Variation Squares (Variance)
Freedom
Treatment 3–1=2 5.43 2.71 12.9
(Methods)
Block 5–1=4 10.69 2.67 12.7
(Employee)
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
0 4.39 F
Two-Way ANOVA
Summary Table
Corrected
11 1390.3
Total
Treatment Means F-Test
Solution
H0: The 6 treatment
Test Statistic:
means are equal
MST
Ha: At least 2 differ F 7.65
MSE
= .05
= 5
1 2 = 6
Decision:
Critical Value(s): Reject at = .05
= .05
Conclusion:
There is evidence population
0 4.39 F means are different
Factor Interaction F-Test
Solution
H0: The factors
do not interact
Ha: The factors interact
= .05
=2
1 2= 6
Critical Value(s): = .05
0 5.14 F
Two-Way ANOVA
Summary Table
0 5.99 F
Two-Way ANOVA
Summary Table
0 5.14 F
Two-Way ANOVA
Summary Table