Docsity

Repeated Measures ANOVA and Mixed Model ANOVA, Summaries of Design

Partial preview of the text

Download Repeated Measures ANOVA and Mixed Model ANOVA and more Summaries Design in PDF only on Docsity!

Repeated Measures ANOVA

and Mixed Model ANOVA

Comparing more than two

measurements of the same or

matched participants

One-Way Repeated Measures ANOVA

  • Used when testing more than 2 experimental conditions.
  • In dependent groups ANOVA, all groups are dependent:

each score in one group is associated with a score in

every other group. This may be because the same

subjects served in every group or because subjects have

been matched.

Advantages of Repeated Measures (within-subjects) over Independent Groups (between-subjects) ANOVA

  • In repeated measures subjects serve as their own controls.
  • Differences in means must be due to:
    • the treatment
    • variations within subjects
    • error (unexplained variation)
  • Repeated measures designs are more powerful than independent groups designs.

An example: Fatigue and balance (fatigue.sav)

  • Example: Balance errors were measured five times, at

five levels of fatigue. Fatigue is a within subjects

factor with 5 levels.

Subjects rode for 15 minutes, divided into five 3-minute periods for the purpose of collecting data. Data were collected on the number of balance errors during the last minute of each 3-minute period, and resistance was increased at the end of each 3-minute period. In this design, the dependent variable is balance errors and the independent variable is increase in resistance (fatigue).

Calculating One-Way Repeated Measures ANOVA

  • variance is partitioned into SS T

, SS

M

and SS

R

  • in repeated-measures ANOVA, the model and residual

sums of squares are both part of the within-group

variance.

SST

SSBG SSWG

SSModel SSR

  • SST = as before (squared difference between each score and the grand mean)
  • SSBG = SST - SSWG
  • SSWG = for each participant, difference between their individual scores and their mean, squared and summed
  • SSM = the squared difference between each condition mean and the grand mean multiplied by the number of subjects, summed
  • SSR = SSWG – SSM (the amount of within-group variation not explained by the experimental manipulation)
  • Divide by the appropriate df: (1) df for SSM = levels of the IV minus 1 (= k - 1); (2) df for SSR = (k - 1) x (n - 1) [n = number of participants]
  • F = MSM/MSR = the probability of getting a value like this by chance alone. Steps in the Analysis

Sphericity condition

  • Sphericity : refers to the equality of variances of the

differences between treatment levels.

  • If we were to take each pair of treatment levels and calculate the differences between each pair of scores, then it is necessary that these differences have equal variances.
  • Mauchly’s test statistic
  • If significant, the variances are significantly different from equal, and a correction must be applied to produce a valid F-ratio: Corrections applied to degrees of freedom to produce a valid F-ratio:
  • when G-G Sphericity Epsilon estimates < .75, use Greenhouse- Geisser estimate
  • When G-G sphericity Epsilon esimates > .75, use Huynh-Feldt estimate

SPSS Output Within-Subjects Factors Measure: MEASURE_ Minute_ Minute_ Minute_ Minute_ Minute_ treatmnt 1 2 3 4 5 Dependent Variable Descriptive Statistics 8.5000 4.50309 10 11.4000 7.96102 10 16.4000 10.80329 10 31.1000 12.55610 10 36.5000 21.13055 10 Minute_ Minute_ Minute_ Minute_ Minute_ Mean Std. Deviation N General Linear Model Multivariate Testsc .866 9.694b^ 4.000 6.000 .009 .866 38.777. .134 9.694b^ 4.000 6.000 .009 .866 38.777. 6.463 9.694b^ 4.000 6.000 .009 .866 38.777. 6.463 9.694b^ 4.000 6.000 .009 .866 38.777. Pillai's Trace Wilks' Lambda Hotelling's Trace Roy's Largest Root Effect treatmnt Value F Hypothesis df Error df Sig. Partial Eta Squared Noncent. Parameter Observed Powera a. Computed using alpha =. b. Exact statistic Design: Intercept Within Subjects Design: treatmnt c.

SPSS Output: Within Subjects Factors Tests of Within-Subjects Effects Measure: MEASURE_ 6115.880 4 1528.970 18.359 .000 .671 73.437 1. 6115.880 1.485 4117.754 18.359 .000 .671 27.268. 6115.880 1.710 3575.916 18.359 .000 .671 31.400. 6115.880 1.000 6115.880 18.359 .002 .671 18.359. 2998.120 36 83. 2998.120 13.367 224. 2998.120 15.393 194. 2998.120 9.000 333. Sphericity Assumed Greenhouse-Geisser Huynh-Feldt Lower-bound Sphericity Assumed Greenhouse-Geisser Huynh-Feldt Lower-bound Source treatmnt Error(treatmnt) Type III Sum of Squares df Mean Square F Sig. Partial Eta Squared Noncent. Parameter Observed Powera a. Computed using alpha =. If Sphericity was okay then the statistics would be F(4,36) = 18.36, p = .000, power = 1. But since Sphericity was violated we use the adjusted values: F(1.48,13.37) = 18.36, p = .000, effect size or partial η 2 =. (remember: η 2 = (SSM/SSM + SSR) .02 small, .13 medium, .26 large)

SPSS Output: Between Subjects Effects Tests of Between-Subjects Effects Measure: MEASURE_ Transformed Variable: Average 21590.420 1 21590.420 45.801 .000 .836 45.801 1. 4242.580 9 471. Source Intercept Error Type III Sum of Squares df Mean Square F Sig. Partial Eta Squared Noncent. Parameter Observed Power a a. Computed using alpha =.

If we had a between subjects factor like

Gender, the ANOVA results would be printed

here.

Participants’s balance errors were measured after 3, 6, 9,

12 and 15 minutes of exercise on an ergometer.

The results of a One-Way Repeated Measures ANOVA

show that the number of balance errors was significantly

affected by fatigue, F (1.48, 13.36) = 18.36, p <.001. Since

Mauchley’s test of sphericity was violated, the

Greenhouse-Geisser correction was used. Eta

2

effect

size (η

2

= .67) indicated that the effect of fatigue on

balance errors was substantial. Bonferroni post-hoc tests

comparing adjacent fatigue conditions revealed a

significant difference in the number of balance errors

between 9 and 12 minutes of exercise p =.001, η

2

No other comparisons were significant.

Reporting the Results

Two-way repeated measures

• Two (or more) independent variables

• All are within-group variables – repeated

measures

• Effects:

– Main effect of Factor A

– Main effect of Factor B

– Interaction A x B

• In SPSS: define all independent variables in

General Lineral Model

Mixed Model ANOVA

• Two (or more) independent variables

– Some within-subjects

– Some between-subjects

• Effects:

– Main effect of within-subject variable

– Between-subject effect

– Interaction

Sample Problem: Stress and partner

The researcher conducts a study to determine whether the

presence of a person’s spouse while sleeping reduces the

presence of sleep disturbances (reduction in deep (delta)

sleep) in individuals who are stressed.

attachSleep.sav