Note: This page has been translated by MathWorks. Click here to see

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

**Class: **RepeatedMeasuresModel

Repeated measures analysis of variance

`ranovatbl = ranova(rm)`

`ranovatbl = ranova(rm,'WithinModel',WM)`

```
[ranovatbl,A,C,D]
= ranova(___)
```

`ranova`

computes the regular *p*-value
(in the `pValue`

column of the `rmanova`

table)
using the *F*-statistic cumulative distribution function:

*p*-value
= 1 – fcdf(*F*,*v*_{1},*v*_{2}).

When the compound symmetry assumption is not satisfied, `ranova`

uses
a correction factor epsilon, *ε*, to compute
the corrected *p*-values as follows:

*p*-value_corrected
= 1 – fcdf(*F*,*ε***v*_{1},*ε***v*_{2}).

The `mauchly`

method tests for sphericity (hence,
compound symmetry) and `epsilon`

method returns the
epsilon adjustment values.