Data for Chapter 7 from Table 7.3, page 155
data table7_3; input a score; datalines; 1 5 1 10 1 8 1 8 1 5 1 6 1 7 2 15 2 7 2 12 2 17 2 8 2 5 2 14 3 27 3 18 3 24 3 20 3 13 3 16 3 25 ; run;
Table 7.3, page 154. One-way analysis of variance of a transformed dependent variable
data table7_3; set table7_3; sqrtsc = sqrt(score + .5); run; proc glm data = table7_3; class a; model sqrtsc = a/ ss3; run; quit;
The GLM Procedure Class Level Information Class Levels Values a 3 1 2 3 Number of observations 21 Dependent Variable: sqrtsc Sum of Source DF Squares Mean Square F Value Pr > F Model 2 11.99582622 5.99791311 19.73 <.0001 Error 18 5.47129053 0.30396058 Corrected Total 20 17.46711675 R-Square Coeff Var Root MSE sqrtsc Mean 0.686766 15.57806 0.551326 3.539121 Source DF Type III SS Mean Square F Value Pr > F a 2 11.99582622 5.99791311 19.73 <.0001