Академический Документы
Профессиональный Документы
Культура Документы
Chapter 11
Analysis of Variance
Statistics for Managers Using Microsoft Excel, 5e 2008 Prentice-Hall, Inc. Chap 11-1
Learning Objectives
After completing this chapter, you should be able to:
Recognize situations in which to use analysis of variance
(ANOVA)
Understand different analysis of variance designs
Evaluate assumptions of the model
Perform a single-factor ANOVA and interpret the results
Conduct and interpret a Tukey-Kramer post-analysis to
determine which means are different
Analyze two-factor analysis of variance tests
Conduct and interpret a Tukey-Kramer post-analysis procedure
to determine which factors are different
Statistics for Managers Using Microsoft Excel, 5e Chap 11-2
General ANOVA Analysis
Investigator controls one or more independent variables
Called factors or treatment variables
One factor contains three or more levels or groups or
categories/classifications
Other factors contains two or more levels or groups or
categories/classifications
Experimental design: the plan used to test the hypothesis
Assumptions
Populations are normally distributed
(test with Box plot or Normal Probability Plot)
Populations have equal variances
(use Levenes Test for Homogeneity of Variance)
Samples are randomly and independently drawn
H0 : 1 2 3 c
All population means are equal
i.e., no treatment effect (no variation in means among groups)
H1 : Not all of the population means are the same
At least one population mean is different
i.e., there is a treatment (groups) effect
Does not mean that all population means are different (at
least one of the means is different from the others)
1 2 3
Statistics for Managers Using Microsoft Excel, 5e Chap 11-8
Hypotheses: One-Factor
ANOVA
or
1 2 3 1 2 3
Statistics for Managers Using Microsoft Excel, 5e Chap 11-9
One-Factor ANOVA Table
Source of df SS MS P-value F-Ratio
Variation (Variance)
Between c-1 SSA MSA P(X=F) MSA
F
Groups MSW
Within n-c SSW MSW
Groups
Total n-1 SST =
SSA+SSW
c = number of groups
n = sum of the sample sizes from all groups
df = degrees of freedom
Decision Rule:
Reject H0 if F > FU, = .05
otherwise do not reject H0
0 Do not Reject H0
reject H0
FU
= .05
p-value: 4.99E-05
Decision:
Reject H0 at = 0.05 There is evidence that
Conclusion: at least one i differs
from the rest
1= 2 3 x
MSW 1 1
Critical Range QU
2 n j n j'
where:
QU = Value from Studentized Range Distribution with c
and n - c degrees of freedom for the desired level
of (see appendix E.9 table)
MSW = Mean Square Within
nj and nj = Sample sizes from groups j and j
QU 3.77
4. Compare:
5. All of the absolute mean differences x x 23.2
1 2
are greater than critical range.
Therefore there is a significant x1 x 3 43.4
difference between each pair of
means at 5% level of significance. x 2 x 3 20.2
PhStat does all the calculations for you
but you must input the Q value
Statistics for Managers Using Microsoft Excel, 5e Chap 11-20
Tukey-Kramer in PHStat
Assumptions
Sample
MSA = MSA/ f (FA)
Factor A r1 SSA
SSA/(r 1) MSE
(Row)
Columns MSB = MSB/
c1 SSB f (FB)
Factor B SSB/(c 1) MSE
MSAB/
Interaction MSAB = MSE f (FA&B)
(r 1)(c 1) SSAB
(AB) SSAB/ [(r 1)(c 1)]
Within MSE =
rc n 1) SSE
Error SSE/[rc n 1)]
Total rc n 1 SST