






















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!























Analysis of Variance II Bios 662
Michael G. Hudgens, Ph.D. [email protected] http://www.bios.unc.edu/∼mhudgens 2006-11-07 15:
Outline
ANOVA: Example
9
10
11
12
13
14
15
Group
Age
Active Passive None Control
proc glm data=one; * proc anova data=one; class group; model age=group; run;
Sum of Source DF Squares Mean Square F Value Pr > F Model 3 14.77780797 4.92593599 2.14 0. Error 19 43.68958333 2. Corrected Total 22 58.
av <- aov(age ~ group) anova(av)
Analysis of Variance Table
Response: age Df Sum Sq Mean Sq F value Pr(>F) group 3 14.778 4.926 2.1422 0. Residuals 19 43.690 2.
Multiple Comparisons
ANOVA and Multiple Comparisons
2
null hyps H 0 : μi = μj (i 6 = j)
Scheffe: Passive smoking example
Comparison tij Significant NS-PS 6.01 yes NS-NI 3.65 yes NS-LS 6.27 yes NS-MS 13.17 yes NS-HS 14.92 yes PS-NI -0.16 no PS-LS 0.88 no PS-MS 7.14 yes PS-HS 8.90 yes NI-LS 0.71 no NI-MS 4.67 yes NI-HS 5.79 yes LS-MS 6.27 yes LS-HS 8.03 yes MS-HS 1.76 no
Scheffe: Example
2.59 2.73 3.23 3.30 3.
HS MS LS P NI NS
Scheffe: Example II
l l
l
ll
l
l
l
l
l
l
l l
l
l
l l
l
l
l
l l
l
l
l
l
l
l
l
l
l
l
l l
l
ll
l
l
l 16
18
20
22
24
26
28
Substance
Dosage at death
1 2 3 4
Scheffe: Example II
C 0. 05 = {|tij| >
ANOVA: Scheffe
Y¯i− Y¯j±
ni
nj
(K − 1)FK− 1 ,N −K, 1 −α
Y¯i − Y¯j ± 4. 09
Scheffe: SAS
proc glm; class group; model dose=group; means group/scheffe cldiff;
Scheffe’s Test for dose Comparisons significant at the 0.05 level are indicated by ***. Difference Simultaneous group Between 95% Confidence Comparison Means Limits 1 - 2 3.700 -0.394 7. 1 - 3 5.900 1.806 9.994 *** 1 - 4 6.300 2.206 10.394 *** 2 - 1 -3.700 -7.794 0. 2 - 3 2.200 -1.894 6. 2 - 4 2.600 -1.494 6. 3 - 1 -5.900 -9.994 -1.806 *** 3 - 2 -2.200 -6.294 1. 3 - 4 0.400 -3.694 4. 4 - 1 -6.300 -10.394 -2.206 *** 4 - 2 -2.600 -6.694 1. 4 - 3 -0.400 -4.494 3.