In: Math
SAS code please.
Two cholesterol-lowing medications (statins) and a placebo were given to each of 10 volunteers with total cholesterol; readings of 240 or higher. After 6 weeks, the flowing total cholesterol values were recorded:
Stain A: 220 190 180 185 210 170 178 200 177 189
Stain B: 160 168 178 200 172 155 159 167 185 199
Placebo: 240 220 246 244 198 238 277 255 190 188
(a) Run a one-way ANOVA followed by a Duncan’s multiple range test.
(b) Create a contrast to compare Placebo against the mean of Stain A and Stain B.


| 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