Repeated Measures ANOVA

Single factor repeated measures ANOVA for one or more samples.

You are now following this Submission

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

Acknowledgements

Inspired: Intraclass Correlation Coefficient (ICC)

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

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