|
|
|
||||
|
|
|||||
Page 59 of Keppel illustrates a one way Analysis of Variance. This example compares the number of errors (failures) for 4 different treatment groups who differed in their level of sleep deprivation (indicated by the variable a). The analysis is shown below using the anova command.
use http://www.ats.ucla.edu/stat/stata/examples/da/chap3, clear
anova failures a
Number of obs = 16 R-squared = 0.6473
Root MSE = 12.2661 Adj R-squared = 0.5592
Source | Partial SS df MS F Prob > F
-----------+----------------------------------------------------
Model | 3314.25 3 1104.75 7.34 0.0047
|
a | 3314.25 3 1104.75 7.34 0.0047
|
Residual | 1805.50 12 150.458333
-----------+----------------------------------------------------
Total | 5119.75 15 341.316667
UCLA Researchers are invited to our Statistical Consulting Services
We recommend others to our list of Other Resources for Statistical Computing Help
These pages are Copyrighted (c) by UCLA Academic Technology Services