Timeline for Repeated measures ANOVA with lme/lmer in R for two within-subject factors
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2017 at 12:44 | history | edited | CommunityBot |
replaced http://stats.stackexchange.com/ with https://stats.stackexchange.com/
|
|
May 9, 2016 at 10:45 | history | edited | amoeba | CC BY-SA 3.0 |
added 2 characters in body
|
Aug 16, 2011 at 8:00 | vote | accept | mark999 | ||
Aug 15, 2011 at 15:47 | history | edited | Aaron - mostly inactive | CC BY-SA 3.0 |
added comments into answer
|
Aug 12, 2011 at 17:50 | history | edited | Aaron - mostly inactive | CC BY-SA 3.0 |
Added nlme code and a note about positive variance components
|
Aug 4, 2011 at 2:54 | comment | added | Aaron - mostly inactive | Also note that the answer you linked to does not have any examples of crossed random effects. | |
Aug 4, 2011 at 2:45 | comment | added | Aaron - mostly inactive |
The OP's aov call has three random effects; to replicate that with lmer my above code is correct. Your lmer code only has one random effect. Which is correct will depend on the context.
|
|
Aug 3, 2011 at 22:52 | comment | added | Mike Lawrence |
Aaron, I don't think that your lmer code is correct. The OPs aov call is simply a standard repeated-measures design, which one would analyze with lmer as lmer(Y~A*B+(1|subject)) . (Though see also this answer for more complicated models that permit estimation of across-Ss effect variance and correlations: stats.stackexchange.com/questions/13166/rs-lmer-cheat-sheet/…)
|
|
Aug 3, 2011 at 18:42 | history | edited | Aaron - mostly inactive | CC BY-SA 3.0 |
added third link
|
Aug 3, 2011 at 18:31 | history | edited | Aaron - mostly inactive | CC BY-SA 3.0 |
added lmer code
|
Aug 3, 2011 at 18:22 | history | answered | Aaron - mostly inactive | CC BY-SA 3.0 |