An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110108/2c946665/attachment.pl>
Anova with repeated measures for unbalanced design
4 messages · Ben Bolker, Frodo Jedi
Frodo Jedi <frodo.jedi <at> yahoo.com> writes:
Dear all, I need an help because I am really not able to find over internet a good example in R to analyze an unbalanced table with Anova with repeated measures. For unbalanced table I mean that the questions are not answered all by the same number of subjects. For a balanced case I would use the command aov1 = aov(response ~ stimulus*condition + Error(subject/(stimulus*condition)), data=scrd)
I recommend that you find a copy of Pinheiro and Bates 2000 ...
Does the same code still work for unbalanced design?
No, it doesn't.
Can anyone provide a R example of code in order to get the same analysis?
Something like library(nlme) lme1 <- lme(response~stimulus*condition,random=~1|subject,data=scrd) or possibly lme1 <- lme(response~stimulus*condition,random=~stimulus*condition|subject, data=scrd) if your experimental design would allow you to estimate stimulus and condition effects for each subject. Further questions along these lines should probably go to the r-sig-mixed-model mailing list.
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110108/b24529cc/attachment.pl>
1 day later
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110109/297a9ee7/attachment.pl>