Open anantawasthi opened 5 months ago
Upvote. Currently, AnovaRM is somehow limited with no support of spherity GG-corr and the between factor. It would be great if any plan to support this!
AFAIR, I never looked at this, and I don't know how difficult it is to add.
a recent article with Monte Carlo comparison of test size:
Blanca MJ, Arnau J, García-Castro FJ, Alarcón R, Bono R. Repeated measures ANOVA and adjusted F-tests when sphericity is violated: which procedure is best? Front Psychol. 2023 Aug 30;14:1192453. doi: 10.3389/fpsyg.2023.1192453. PMID: 37711324; PMCID: PMC10499170. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10499170/ uncorrected F-test vastly over-rejects in their table 1 (based on very brief skimming of article)
laerd has an intro https://statistics.laerd.com/statistical-guides/sphericity-statistical-guide-2.php which refers to SPSS, which usually has a good formula collection in the docs.
degrees of freedom correction in the style of robust cov_type. (AFAIR from some simulated experiments I did, cluster robust cov_type requires large number of clusters which is not required in RM-Anova) Worth a look to see if it is easy enough to implement so we can still add it for 0.15.
Describe the bug
I am not able to run repeated measure ANOVA with Greenhouse-Geisser Correction.
Code Sample, a copy-pastable example if possible
If the issue has not been resolved, please file it in the issue tracker.
Expected Output
A Standard Output of AnovaRM
Error
Output of
import statsmodels.api as sm; sm.show_versions()