Data for Chapter 7 from Table 7.3, page 155
input a score 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 end
Table 7.3, page 154. One-way analysis of variance of a transformed dependent variable
gen sqrt_sc = sqrt(score + .5) anova sqrt_sc a
Number of obs = 21 R-squared = 0.6868 Root MSE = .551326 Adj R-squared = 0.6520 Source | Partial SS df MS F Prob > F -----------+---------------------------------------------------- Model | 11.9958272 2 5.99791359 19.73 0.0000 | a | 11.9958272 2 5.99791359 19.73 0.0000 | Residual | 5.47128962 18 .303960535 -----------+---------------------------------------------------- Total | 17.4671168 20 .87335584