|
|

Practice
Computer
Programs
SAS
headstart
SAS
procedures
Program
1
Program
2
Program 3
Program
4
Program
5
Program
6
Program
7
Program
8
Program
9
Program
10
Program
11
Program
12
Program
13
Program
14
Topical
Bibliographies (Readings)
Datasets
and Stories
Software
Help
Search
for
|

|
Program
3

TITLE 'One-way ANOVA, Dunnett and Newman-Keuls tests, p.171,Kirk (94)';
OPTIONS LS=75 NODATE PAGENO=1;
DATA dunnett;
INPUT id treat score;
LABEL treat='treatment conditions'
score='the dependent or response scores';
CARDS;
1 1 4
2 1 6
3 1 3
4 1 3
5 1 1
6 1 3
7 1 2
8 1 2
9 2 4
10 2 5
11 2 4
12 2 3
13 2 2
14 2 3
15 2 4
16 2 3
17 3 5
18 3 6
19 3 5
20 3 4
21 3 3
22 3 4
23 3 3
24 3 4
25 4 3
26 4 5
27 4 6
28 4 5
29 4 6
30 4 7
31 4 8
32 4 10
;
PROC PRINT;
PROC GLM DATA=dunnett ORDER=data;
CLASS treat;
MODEL score=treat;
MEANS treat/DUNNETT('4') DUNNETTL('4') DUNNETTU ('4')
SNK ALPHA=0.05;
RUN;
One-way ANOVA, Dunnett and Newman-Keuls tests, p.171,Kirk (94) 1
OBS ID TREAT SCORE
1 1 1 4
2 2 1 6
3 3 1 3
4 4 1 3
5 5 1 1
6 6 1 3
7 7 1 2
8 8 1 2
9 9 2 4
10 10 2 5
11 11 2 4
12 12 2 3
13 13 2 2
14 14 2 3
15 15 2 4
16 16 2 3
17 17 3 5
18 18 3 6
19 19 3 5
20 20 3 4
21 21 3 3
22 22 3 4
23 23 3 3
24 24 3 4
25 25 4 3
26 26 4 5
27 27 4 6
28 28 4 5
29 29 4 6
30 30 4 7
31 31 4 8
32 32 4 10
One-way ANOVA, Dunnett and Newman-Keuls tests, p.171,Kirk (94) 2
General Linear Models Procedure
Class Level Information
Class Levels Values
TREAT 4 1 2 3 4
Number of observations in data set = 32
One-way ANOVA, Dunnett and Newman-Keuls tests, p.171,Kirk (94) 3
Dependent Variable: SCORE the dependent or response scores
Sum of Mean
Source DF Squares Square F Value Pr > F
Model 3 49.0000000 16.3333333 7.50 0.0008
Error 28 61.0000000 2.1785714
Corrected Total 31 110.0000000
R-Square C.V. Root MSE SCORE Mean
0.445455 34.72938 1.47600 4.25000
Source DF Anova SS Mean Square F Value Pr > F
TREAT 3 49.0000000 16.3333333 7.50 0.0008
One-way ANOVA, Dunnett and Newman-Keuls tests, p.171,Kirk (94) 4
Dunnett's T tests for variable: SCORE
NOTE: This tests controls the type I experimentwise error for
comparisons of all treatments against a control.
Alpha= 0.05 Confidence= 0.95 df= 28 MSE= 2.178571
Critical Value of Dunnett's T= 2.483
Minimum Significant Difference= 1.8325
Comparisons significant at the 0.05 level are indicated by '***'.
Simultaneous Simultaneous
Lower Difference Upper
TREAT Confidence Between Confidence
Comparison Limit Means Limit
3 - 4 -3.8325 -2.0000 -0.1675 ***
2 - 4 -4.5825 -2.7500 -0.9175 ***
1 - 4 -5.0825 -3.2500 -1.4175 ***
One-way ANOVA, Dunnett and Newman-Keuls tests, p.171,Kirk (94) 5
Dunnett's One-tailed T tests for variable: SCORE
NOTE: This tests controls the type I experimentwise error for
comparisons of all treatments against a control.
Alpha= 0.05 Confidence= 0.95 df= 28 MSE= 2.178571
Critical Value of Dunnett's T= 2.154
Minimum Significant Difference= 1.5894
Comparisons significant at the 0.05 level are indicated by '***'.
Simultaneous Simultaneous
Lower Difference Upper
TREAT Confidence Between Confidence
Comparison Limit Means Limit
3 - 4 -3.5894 -2.0000 -0.4106
2 - 4 -4.3394 -2.7500 -1.1606
1 - 4 -4.8394 -3.2500 -1.6606
One-way ANOVA, Dunnett and Newman-Keuls tests, p.171,Kirk (94) 6
General Linear Models Procedure
Dunnett's One-tailed T tests for variable: SCORE
NOTE: This tests controls the type I experimentwise error for
comparisons of all treatments against a control.
Alpha= 0.05 Confidence= 0.95 df= 28 MSE= 2.178571
Critical Value of Dunnett's T= 2.154
Minimum Significant Difference= 1.5894
Comparisons significant at the 0.05 level are indicated by '***'.
Simultaneous Simultaneous
Lower Difference Upper
TREAT Confidence Between Confidence
Comparison Limit Means Limit
3 - 4 -3.5894 -2.0000 -0.4106 ***
2 - 4 -4.3394 -2.7500 -1.1606 ***
1 - 4 -4.8394 -3.2500 -1.6606 ***
One-way ANOVA, Dunnett and Newman-Keuls tests, p.171,Kirk (94) 7
General Linear Models Procedure
Student-Newman-Keuls test for variable: SCORE
NOTE: This test controls the type I experimentwise error rate
under the complete null hypothesis but not under partial
null hypotheses.
Alpha= 0.05 df= 28 MSE= 2.178571
Number of Means 2 3 4
Critical Range 1.5117284 1.8260245 2.0149687
Means with the same letter are not significantly different.
SNK Grouping Mean N TREAT
A 6.2500 8 4
B 4.2500 8 3
B
B 3.5000 8 2
B
B 3.0000 8 1

Comments: peng@indiana.edu
Dr. Peng's Home Page: Dr.
Chao-Ying Joanne Peng
Copyright
1999, The Trustees of Indiana
University
|