Question

Create a SAS data set by reading these data. As an interesting exercise, try reading three lines like this: 7.2 Two cholester(use TUKEY for the multiple comparisons)

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Solution:

SAS CODE:

data cholesterol;
infile cards;
input treat $ cholvalues;
cards;
A 220
A 190
A 180
A 185
A 210
A 170
A 178
A 200
A 177
A 189
B 160
B 168
B 178
B 200
B 172
B 155
B 159
B 167
B 185
B 199
placebo 240
placebo 220
placebo 246
placebo 244
placebo 198
placebo 238
placebo 277
placebo 255
placebo 190
placebo 188
;
run;

proc anova data=cholesterol;
class treat;
model cholvalues = treat;
means treat / tukey cldiff ;
run;

output:

The ANOVA Procedure
Dependent Variable: cholvalues
Source DF Sum of Squares Mean Square F Value Pr > F
Model 2 16258.47 8129.233 17.58 <.0001
Error 27 12483.4 462.3482
Corrected Total 29 28741.87

From ANOVA table

F(2,27)=17.58

p<0.0001

p<0.05

Reject H0

there is sufficient statistical evidence at 5% level of significance to conclude that all the 3 group means are different.

The ANOVA Procedure
Tukey's Studentized Range (HSD) Test for cholvalues

Note:This test controls the Type I experimentwise error rate.

Alpha 0.05
Error Degrees of Freedom 27
Error Mean Square 462.3481
Critical Value of Studentized Range 3.50633
Minimum Significant Difference 23.842
Comparisons significant at the 0.05 level are indicated by ***.
treat Difference Simultaneous 95% Confidence Limits
Comparison Between
Means
placebo - A 39.7 15.858 63.542 ***
placebo - B 55.3 31.458 79.142 ***
A - placebo -39.7 -63.542 -15.858 ***
A - B 15.6 -8.242 39.442
B - placebo -55.3 -79.142 -31.458 ***
B - A -15.6 -39.442 8.242

from tukey paiwise comparsions

A - placebo
B - placebo

are different

Add a comment
Know the answer?
Add Answer to:
(use TUKEY for the multiple comparisons) Create a SAS data set by reading these data. As...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT