Simple RM/Mixed ANOVA for any design

Simple Function for all RM or Mixed ANOVAs
1,8K Descargas
Actualizado 7 nov 2017

Ver licencia

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.

Citar como

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

Compatibilidad con la versión de MATLAB
Se creó con R2015a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre ANOVA en Help Center y MATLAB Answers.

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
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