[R] AOV() may misslabel random effects.

Giles Crane gilescrane at verizon.net
Mon Mar 14 17:57:07 CET 2011


Greetings,

The aov() function may mislabel
the random effects as in the example below:
Has anybody else noticed this?

Cordially,
Giles Crane, MPH, ASA, NJPHA
gilescrane at verizon.net

 > m2

Call:
aov(formula = y ~ ap + pe + Error(ju), data = d)

Grand Mean: 77.50667

Stratum 1: ju

Terms:
                       ap
Sum of Squares  4322.538
Deg. of Freedom       12

13 out of 25 effects not estimable
Estimated effects may be unbalanced

Stratum 2: Within

Terms:
                       ap       pe Residuals
Sum of Squares  7047.885  255.034  2981.290
Deg. of Freedom       25        2        35

Residual standard error: 9.229285
Estimated effects may be unbalanced



More information about the R-help mailing list