Program
1

TITLE 'ONE-WAY ANOVA AND ITS POST HOC ANALYSES,p.171 of Kirk(1994)';
OPTIONS LS=75 NODATE PAGENO=1;
DATA oneway;
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 MEANS DATA=oneway;
BY treat;
VAR score;
PROC GLM DATA=oneway;
CLASS treat;
MODEL score=treat;
MEANS treat/SCHEFFE TUKEY ALPHA=.05;
RUN;
ONE-WAY ANOVA AND ITS POST HOC ANALYSES,p.171 of Kirk (1994) 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 AND ITS POST HOC ANALYSES,p.171 of Kirk (1994) 2
Analysis Variable : SCORE the dependent or response scores
-------------------------- treatment conditions=1 -------------
N Mean Std Dev Minimum Maximum
----------------------------------------------------------
8 3.0000000 1.5118579 1.0000000 6.0000000
----------------------------------------------------------
-------------------------- treatment conditions=2 -------------
N Mean Std Dev Minimum Maximum
----------------------------------------------------------
8 3.5000000 0.9258201 2.0000000 5.0000000
----------------------------------------------------------
-------------------------- treatment conditions=3 -------------
N Mean Std Dev Minimum Maximum
----------------------------------------------------------
8 4.2500000 1.0350983 3.0000000 6.0000000
----------------------------------------------------------
-------------------------- treatment conditions=4 -------------
N Mean Std Dev Minimum Maximum
----------------------------------------------------------
8 6.2500000 2.1213203 3.0000000 10.0000000
----------------------------------------------------------
ONE-WAY ANOVA AND ITS POST HOC ANALYSES, p. 171 of Kirk (1994) 3
General Linear Model Procedure
Class Level Information
Class Levels Values
TREAT 4 1 2 3 4
Number of observations in data set = 32
ONE-WAY ANOVA AND ITS POST HOC ANALYSES, p.171 of Kirk (1994) 4
General Linear Model Procedure
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 AND ITS POST HOC ANALYSES, p.171 of Kirk (1994) 5
General Linear Model Procedure
Tukey's Studentized Range (HSD) Test for variable: SCORE
NOTE: This test controls the type I experimentwise error rate,
but generally has a higher type II error rate than REGWQ.
Alpha= 0.05 df= 28 MSE= 2.178571
Critical Value of Studentized Range= 3.861
Minimum Significant Difference= 2.015
Means with the same letter are not significantly different.
Tukey Grouping Mean N TREAT
A 6.2500 8 4
A
B A 4.2500 8 3
B
B 3.5000 8 2
B
B 3.0000 8 1
ONE-WAY ANOVA AND ITS POST HOC ANALYSES, p.171 of Kirk (1994) 6
General Linear Model Procedure
Scheffe's test for variable: SCORE
NOTE: This test controls the type I experimentwise error rate
but generally has a higher type II error rate than
REGWF for all pairwise comparisons
Alpha= 0.05 df= 28 MSE= 2.178571
Critical Value of F= 2.94669
Minimum Significant Difference= 2.1942
Means with the same letter are not significantly different.
Scheffe Grouping Mean N TREAT
A 6.2500 8 4
A
B A 4.2500 8 3
B
B 3.5000 8 2
B
B 3.0000 8 1
