Skip to content
Prev 17715 / 398502 Next

Unbalanced ANOVA in R?

The lme() function doesn't need aov(). So you would type:

lme(DELAY ~ DOSE + TRIALS,data=epinuneq)

however see ?lme o some book about mixed models: you need to specify the
random part and "clustering" variable (e.g. id-subject in a repeated
measurement design). Something like

lme(DELAY ~ DOSE + TRIALS, random=~1|your_cluster_variable, data=epinuneq)

best,
vito

After all, I don't think that simple "unbalanced ANOVA" and mixed models are
the same!


----- Original Message -----
From: "Fredrik Karlsson" <fredrik.karlsson at ling.umu.se>
To: "r-help-request Mailing List" <r-help at r-project.org>
Sent: Friday, March 08, 2002 6:56 AM
Subject: [R] Unbalanced ANOVA in R?
-.-.-
http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
_._
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._