option ls=78; option ps=65; data OneWay; do Treat='T1','T2','T3','T4','T5'; input y @@;output; end; cards; 7 13 20 9 18 9 15 22 14 16 20 16 21 21 17 19 14 27 22 14 11 23 23 8 22 6 22 15 10 10 12 16 19 7 15 proc glm data = OneWay; class Treat; model y = Treat; means Treat / lsd line; means Treat / duncan alpha=0.01; run; The SAS System 1 04:07 Tuesday, November 14, 2006 The GLM Procedure Class Level Information Class Levels Values Treat 5 T1 T2 T3 T4 T5 Number of observations 35 The GLM Procedure Dependent Variable: y Sum of Source DF Squares Mean Square F Value Pr > F Model 4 355.600000 88.900000 3.97 0.0106 Error 30 672.000000 22.400000 Corrected Total 34 1027.600000 R-Square Coeff Var Root MSE y Mean 0.346049 29.95483 4.732864 15.80000 Source DF Type I SS Mean Square F Value Pr > F Treat 4 355.6000000 88.9000000 3.97 0.0106 Source DF Type III SS Mean Square F Value Pr > F Treat 4 355.6000000 88.9000000 3.97 0.0106 The GLM Procedure t Tests (LSD) for y NOTE: This test controls the Type I comparisonwise error rate, not the experimentwise error rate. Alpha 0.05 Error Degrees of Freedom 30 Error Mean Square 22.4 Critical Value of t 2.04227 Least Significant Difference 5.1666 Means with the same letter are not significantly different. t Grouping Mean N Treat A 21.000 7 T3 A B A 17.000 7 T2 B A B A 16.000 7 T5 B B 13.000 7 T4 B B 12.000 7 T1 The GLM Procedure Duncan's Multiple Range Test for y NOTE: This test controls the Type I comparisonwise error rate, not the experimentwise error rate. Alpha 0.01 Error Degrees of Freedom 30 Error Mean Square 22.4 Number of Means 2 3 4 5 Critical Range 6.957 7.256 7.455 7.602 Means with the same letter are not significantly different. Duncan Grouping Mean N Treat A 21.000 7 T3 A B A 17.000 7 T2 B A B A 16.000 7 T5 B B 13.000 7 T4 B B 12.000 7 T1