Analysis of Variance Webinar
Analysis of Variance Webinar
1
Analysis of Variance
Analysis of variance (ANOVA) models partition the variability of
a response variable into components attributable to one or
more explanatory factors.
2
Procedures
STATGRAPHICS has procedures for:
3
Example #1 – Oneway ANOVA
• Data: 1/10-th systematic sample of companies in the Fortune
500 list for 1986 (Source: DASL – Data and Story Library)
4
Data file: profits.sgd
5
Data Input
6
ANOVA Table
7
Means Plot
8
Multiple Range Tests
9
Analysis of Means (ANOM)
10
Residual Plot
11
Excluding Row #49
12
Example #2 – Multifactor
ANOVA
• Data: Exercise tolerance in a stress test (Applied Linear
Statistical Models by Neter et al.)
14
Data Input
15
Analysis of Variance Table
16
Graphical ANOVA
17
Interaction Plot
18
Example #3: Analysis of
Covariance
• Tests whether certain factors have an effect on the response
after removing the effect of one or more quantitative factors.
• Covariate: LOG(sales)
19
X-Y Plot
20
Data Input
21
Profits / Employees
C
-10
0
10
20
30
40
om
m
un
ic
at
io
n
En
er
gy
Means Plot
Fi
na
nc
e
M H
an iT
ec
uf h
ac
tu
rin
g
M
ed
ic
al
O
th
er
Tr
an R
et
sp ai
or l
ta
Means and 95.0 Percent Tukey HSD Intervals
ti o
n
Sector
22
Example #4 – Variance
Components Study
• Data: Pigment paste example (Statistics for Experimenters by
Box, Hunter and Hunter)
23
Data file: pigment.sgd
24
Data Input
25
Variance Components Plot
26
Analysis of Variance
27
Example #5 – Split-Plot Design
• Data: Corrosion resistance example (Statistics for
Experimenters by Box, Hunter and Hunter)
28
Experimental Design
30
Data Input - GLM
31
Model Specification
32
Analysis of Variance
33
F-tests and Error Components
34
Interaction Plot
35
Example #6 – Repeated
Measures Design
Subject Drug T1 T2 T3 T4
1 AX23 72 86 81 77
2 AX23 78 83 88 81
…
9 BWW9 85 86 80 84
10 BWW9 82 86 80 84
…
17 CONTROL 69 73 72 74
18 CONTROL 66 62 67 73
…
Each of 3 drugs was given to 8 different patients. Their heart rate was
measured at 4 distinct times.
37
Data input
38
Model Specification
39
Analysis of Variance
40
Comparison to Control
41
User-Defined Contrast
42
Interaction Plot
43
References
• Box, G. E. P., Hunter, W. G. and Hunter, J. S. (2005). Statistics
for Experimenters: An Introduction to Design, Data Analysis,
and Model Building, 2nd edition. New York: John Wiley and
Sons.
• DASL – Data and Story Library. (lib.stat.cmu.edu/DASL)
• Milliken, G. A. and Johnson, D. E. (1992). Analysis of Messy
Data - Volume 1: Designed Experiments, reprint edition. New
York: Van Nostrand Reinhold.
• Neter, J., Kutner, M.H., Wasserman, W., and Nachtscheim, C.J.
(1996). Applied Linear Statistical Models, 4th edition.
Homewood, Illinois: Irwin.
44