Repeated Measures ANOVA
******** Warning *********
This program was originally released when MATLAB had no support for repeated measures ANOVA. However, since a few releases ago, MATLAB statistics toolbox has added this functionality (see the fitrm function). Thus this program is now deprecated and is not recommended anymore. The issue is that it only support a very small subclass of the problems that fitrm can solve. Also, it might not have been tested as extensively as fitrm so it is possible that it does not produce correct results in all cases.
I keep the program as it is here but it will not be maintained any more.
**************************
[p, table] = anova_rm(X, displayopt) performs a repeated measures ANOVA for comparing the means of two or more columns (time) in one or more samples(groups). Unbalanced samples (i.e. different number of subjects per group) is supported though the number of columns (followups) should be the same.
Cite As
Arash Salarian (2023). Repeated Measures ANOVA (https://www.mathworks.com/matlabcentral/fileexchange/22088-repeated-measures-anova), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: Intraclass Correlation Coefficient (ICC)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | The program is now deprecated! Please use MATLAB's fitrm instead. |