Repeated Measures ANOVA

Single factor repeated measures ANOVA for one or more samples.
12.6K Downloads
Updated 15 Nov 2016

View License

******** 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 (2024). Repeated Measures ANOVA (https://www.mathworks.com/matlabcentral/fileexchange/22088-repeated-measures-anova), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux
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!
Version Published Release Notes
1.0.0.0

The program is now deprecated! Please use MATLAB's fitrm instead.