R and SAS code to fit a mixed-effects model instead of two-way ANOVA with repeated measures in both factors
Prism 8 introduces fitting a mixed-effects model to allow, essentially, repeated measures ANOVA with missing values. We provide R and SAS code to show your statistical consultants, so they can understand what Prism is doing. This example is for two-way ANOVA with repeated measures in both factors. Another FAQs covers one-way repeated measures ANOVA.
Download the data file used by R and SAS. anova2.rm.maxwell_12.1.csv