Closed gabrielodom closed 4 months ago
There's already a lesson here? https://gabrielodom.github.io/PHC6099_rBiostat/lessons_original/04_anova_random_intercept.html
I included both lessons (repeated measures ANOVA and random intercept regression). While they are mathematically congruent, it may be helpful to have both examples (especially considering that the regression version uses the lme4::
package while the ANOVA lesson uses rstatix::anova_test()
for the repeated measures implementation).
I'm not sure if this should be included in part 4 as an extension of ANOVA (for when not all the points are independent but the subjects/clusters are), or if this should be included in part 6 as a special topic. Start here: https://m-clark.github.io/mixed-models-with-R/random_intercepts.html