I have a small data where there are 3 groups (A,B,C) and 5 participants from each group. All of those participants are measured 6 times on each of 7 different exams, so each participant get 6*7=42 scores in total. A simple linear mixed model was built mylmm<-lmer(score ~1+group+exam+group*exam+(1|participant), data = mydata). I could obtain the anova results and post-hoc pairwise comparison for group, exam, and interaction of them using anova(mylmm) and multiple comparison function.
However, the data is very small (only 5 participants) and residual of mylmm is not normal, so the power is insufficient. The score is continuous and I really need to keep it in the original scale if possible (but tranformations including box-cox don't work). I am aware of robust mixed model using robustlmm and residual bootstrap mixed model using lmeresampler. However, I am unable to perform anova and multiple comparisons using these packages. Could anyone help me with the following questions? It is really appreciated.
- Is there a method and available R package to perform bootstrap anova (and post-hoc comparisons) of linear mixed model?
- Is it still necessary to calculate the power of the bootstrap or nonparametric anova? If so, how to calculate the power?
- I am also aware of aligned ranks transformation ANOVA. Does this method work here and especially for small data? Also, how can I calculate for the power?
- There is also another related but not so important question. For the model built directly from
lme(without bootstrapping), I was able to usesimrwith methods anova to calculate power of testing group, exam, and the interaction. Cansimralso be used to find power of post hoc pairwise comparisons? Thanks.
lattice::qqmath(mylmm)? Also see this handy thread about residuals. https://stats.stackexchange.com/questions/111010/interpreting-qqplot-is-there-any-rule-of-thumb-to-decide-for-non-normality/111013#111013 – Erik Ruzek Jan 03 '24 at 20:51