Simple RM/Mixed ANOVA for any design

Simple Function for all RM or Mixed ANOVAs
1,7K Downloads
Aktualisiert 7. Nov 2017

Lizenz anzeigen

Performing repeated-measures or mixed ANOVAs in MATLAB can be quite tedious. Once you have mastered Wilkinson notation and the rather unusual procedures that the MATLAB fitrm and ranova demand, you still have to create multiple tables each time. There is always the possibility of using functions available on MATLAB Central, but you're often not sure if the code is okay, and these functions don't allow to execute designs with more than two factors.
The present function builds on top of the existing MATLAB functions but only asks for a single matrix as input (or two if you also have between-subjects factors). It allows to perform repeated-measures and mixed ANOVAs with any number of factors. The only caveats: it cannot be used (for now) for partial models in which not all interactions are modelled, or to model covariates.
The function is quite simple and should work fine on all MATLAB versions in which the present ANOVA architectures are available (fitrm and ranova functions; requires Statistics Toolbox). However, this function has only been tested on MATLAB 2014a and 2015a for now; as such, it should be considered a beta version.

Zitieren als

Laurent Caplette (2024). Simple RM/Mixed ANOVA for any design (https://www.mathworks.com/matlabcentral/fileexchange/64980-simple-rm-mixed-anova-for-any-design), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2015a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.1.0.0

Corrected minor bug in the case of 1 within-subject factor.
Changed title (automatically changes back to first title every update)

1.0.0.0

Changed title and description.
Changed title