# Difference between revisions of "SMHS rANOVA"

## Scientific Methods for Health Sciences - Repeated measures Analysis of Variance (rANOVA)

### Overview

The phrase Repeated measures is used in situations when the same objects/units/entities take part in all conditions of an experiment. Given there is multiple measures on the same subject, we have to control for correlation between multiple measures on the same subject. Repeated measures ANOVA (rANOVA) is a commonly used statistical approach for analyzing repeated measure designs. It is the equivalent of the one-way ANOVA, but for related, not independent, groups. It is also referred to as within-subject ANOVA or ANOVA for correlated samples. The test is to detect any overall differences between related means. We can analyze data using repeated measures ANOVA for two types of study design. Studies that investigate either (1) changes in mean scores over three or more time points, or (2) difference in mean scores under three or more different conditions.

### Motivation

If you want to test the equality of means, ANOVA would often be a good way to go. However, when it comes to data with repeated measures, a standard ANOVA would be inappropriate because it fails to model the correlation between the repeated measures: the data violate the ANOVA assumption of independence. Repeated measures is used for several reasons: First, some research hypotheses require repeated measures. Longitudinal research, for example, measures each sample member at each of several ages. In this case, age would be a repeated factor. Second, in cases where there is a great deal of variation between sample members, error variance estimates from standard ANOVAs are large. Repeated measures of each sample member provide a way of accounting for this variance, thus reducing error variance. Third, when sample members are difficult to recruit, repeated measures designs are economical because each member is measured under all conditions. Fourth, it applies when members have been matched according to some important characteristic.

In order to provide a demonstration of how to calculate a repeated measures ANOVA, we shall use the example of a 6-month exercise-training intervention where six subjects had their fitness level measured on three occasions: pre-, 3 months, and post-intervention. Their data is shown below along with some initial calculations:

 Subjects Pre- 3 Months 6 Months Subject Means 1 45 50 55 50 2 42 42 45 43 3 36 41 43 40 4 39 35 40 38 5 51 55 59 55 6 44 49 56 49.7 Monthly Means 42.8 45.3 49.7

 Source SS df MS F Conditions $SS_{conditions}$ $(k-1)$ $MS_{conditions}$ $\frac {MS_{conditions}}{MS_{error}}$ Subjects $SS_{subjects}$ $(n-1)$ $MS_{subjects}$ $\frac{MS_{subjects}} {MS_{error}}$ Error $SS_{error}$ $(k-1)(n-1)$ $MS_{error}$ Total $SS_{T}$ $(N-1)$

$F=\frac {MS_{conditions}}{MS_{error}}=\frac {MS_{time}}{MS_{error}}$

$SS_{Total} = SS_{conditions}+SS_{subjects}+SS_{Error}$