Check Your Calendar : If You Are Qualified, Fill Out Make-Up Exam Form by 5pm This Friday, Attach Necessary Documents
Check Your Calendar : If You Are Qualified, Fill Out Make-Up Exam Form by 5pm This Friday, Attach Necessary Documents
3/23/12 Lecture 20 1
Interpreting the ANOVA
results
Chapter 9
3/23/12 Lecture 20 2
Assumptions (prior to ANOVA)
• Two important assumptions for ANOVA
1. Constant variance: The variances of the k
populations are the same.
– Check this with the ratio of the largest and smallest
standard deviations, the ratio must be < 2
3/23/12 Lecture 19 3
Quick sidenote
Actually, We can compare the means pairwise and keep the two
benefits of ANOVA, we do this by adjusting the T value we use to
compare the two means.
3/23/12 Lecture 20 6
Visual Check - Boxplots
3/23/12 Lecture 20 7
Visual Check – Scatterplot of
Means
3/23/12 Lecture 20 8
Multiple comparisons (General Concepts)
3/23/12 Lecture 20 10
More simply
MSE 10
• So, T = qα = 4.05 = 5.73
ni 5
3/23/12 Lecture 20 13
Example (from Monday’s Class)
• For the cereal example, let’s use Tukey’s method using
α = 0.01
n4 = 5, x4 = 27.2
n3 = 4, x3 = 19.5
n1 = 5, x1 = 14.6
n2 = 5, x2 = 13.4
• Note, group 3’s sample size, what effect will that have on
the comparisons?
3/23/12 Lecture 20 14
Another Method: Using SAS code
3/23/12 Lecture 20 15
Example (cont) using SAS
• Notice it stars the pairs
that are significantly
different.
3/23/12 Lecture 20 16
Alternate SAS code
3/23/12 Lecture 20 17
Example (cont) using SAS
• Same information as before,
differences are:
1 and 4
2 and 4
• Notice the nice “groupings”
though
3/23/12 Lecture 20 18
Dunnett’s Multiple
Comparison
3/23/12 Lecture 20 19
3/23/12 Lecture 20 20
Multiple Comparison – Dunnett’s
Method
3/23/12 Lecture 20 21
Dunnett’s Method
• Functions like a Tukey, just uses a different T
1 1
T = tα (k − 1, n − k ) MSE ( + )
ni nC
• tα comes from the Dunnett’s t table
– Table X on page 579
– Only use when one of the groups is a control group
– Only interested in comparing the “other” groups to
the control group
• Again we take pairwise differences, xi − xC
3/23/12 Lecture 20 22
Example (Cereal Design) using SAS
• Dunnett’s SAS code, pretend design 1 was the
regular design already used
Difference
design Between Simultaneous 99%
Comparison Means Confidence Limits
3/23/12 Lecture 20 24
Summary about ANOVA and
Multiple Comparison
• ANOVA (Analysis of Variances)
– Check the assumptions (constant variance/normality)
– Be able to do most of ANOVA by hand or by SAS both
• Lots of hand calculations
• Be able to read and interpret SAS output
– For Hw, do it either way you like, but for the exam be prepared to
do both!
3/23/12 Lecture 20 25
After Class
• Hw#8, due by 5pm next Monday
3/23/12 Lecture 20 26