Closed MKeller96 closed 3 years ago
Hi Max,
Unbalanced designs are indeed not yet supported for general ANOVA in spm1d. The necessary non-sphericity corrections have been implemented, but they are not yet working correctly for continuum-level results.
Running the two-way RM analyses worked likely because the design is balanced when considering one group in isolation.
One possibility to proceed would be to:
This is a non-ideal work-around, but the results would be robust if stable to random sub-sampling.
Todd
Hi todd,
I would like to conduct a three-way ANOVA (6x2x2) with one RM factor using; spm1d.stats.anova3onerm(Y, A, B, C, SUBJ). Sadly I get an error saying ''Design must be balanced.'' The SPM1d documentation (Matlab) says that unbalanced two- and three-way repeated-measures ANOVA results have not been verified and thus results have to be taken with caution. Therefore I thought it was possible to run this function for unequal group sizes. However, in another post I read that this is only supported for one way ANOVA's. I would still like to do this, am I doing something wrong?
Y = data set A = muscle
(I am analysing 6 muscles' RMS amplitude per subject) B = group
(I have 2 groups, one with 9 subjects and one with 22 subjects) C = time
(I measured the RMS amplitude at two points in time)
I already ran a 2-way RM ANOVA (6x2) for both groups seperatly which worked fine. I hope you can help me!
Kind regards,
Max Keller