Main Content

Repeated Measures and MANOVA

Analysis of variance, repeated measures modeling, and multiple comparisons for data with multiple responses

Statistics and Machine Learning Toolbox™ provides functions for working with one-way, two-way, and N-way multiple analysis of variance (MANOVA); analysis of variance (ANOVA); repeated measures models; and analysis of covariance (ANCOVA). A repeated measures model is a regression model in which observations have multiple response variables. The responses for each observation typically correspond to measurements at multiple times. MANOVA is a procedure for determining whether variation in multiple response variables occurs within or among different population groups.


expand all

Create RepeatedMeasures Object

fitrmFit repeated measures model

Work with RepeatedMeasures Object

ranovaRepeated measures analysis of variance
anovaAnalysis of variance for between-subject effects in a repeated measures model
mauchlyMauchly’s test for sphericity
epsilonEpsilon adjustment for repeated measures anova
multcompareMultiple comparison of estimated marginal means
manovaMultivariate analysis of variance
coeftestLinear hypothesis test on coefficients of repeated measures model
grpstatsCompute descriptive statistics of repeated measures data by group
margmean Estimate marginal means
plotPlot data with optional grouping
plotprofile Plot expected marginal means with optional grouping
predictCompute predicted values given predictor values
random Generate new random response values given predictor values

Create manova Object

manovaMultivariate analysis of variance (MANOVA) results (Since R2023b)

Work with manova Object

barttestBartlett's test for multivariate analysis of variance (MANOVA) (Since R2023b)
boxchartBox chart (box plot) for multivariate analysis of variance (MANOVA) (Since R2023b)
canonvarsCanonical variables (Since R2023b)
coeftestLinear hypothesis test on MANOVA model coefficients (Since R2023b)
groupmeansMean response estimates for multivariate analysis of variance (MANOVA) (Since R2023b)
multcompareMultiple comparison of marginal means for multiple analysis of variance (MANOVA) (Since R2023b)
plotprofilePlot MANOVA response variable means with grouping (Since R2023b)
statsMultivariate analysis of variance (MANOVA) table (Since R2023b)
manova1One-way multivariate analysis of variance
manovaclusterDendrogram of group mean clusters following MANOVA


expand all

RepeatedMeasuresModelRepeated measures model object
manovaMultivariate analysis of variance (MANOVA) results (Since R2023b)


Repeated Measures