Repeated Measures ANOVA

Single factor repeated measures ANOVA for one or more samples.
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 (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux

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

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