Psychology 340 Syllabus
Statistics for the Social Sciences

Illinois State University
J. Cooper Cutting
Fall 2002


1-way repeated measures ANOVA


Consider the following research description:

One might be tempted to analyze this data set using the ANOVA process that we discussed last time. But that's not the appropriate analysis to do because the data in the different conditions are not independent. This design is referred to as a within-subjects or repeated measures ANOVA design. What this means is that the everybody in the experiment participates in all levels of the factor (independent variable).

So when is an ANOVA the appropriate analysis? Check the decision tree.

Find the string of decisions that lead to a 1-way between groups Analysis of Variance.

Find the string of decisions that lead to a 1-way within groups (repeated measures) Analysis of Variance.

The difference is whether or not the data in the different experimental conditions are independent or not.


Why would we decide to design our experiment as a repeated measures design instead of a between subjects? By using participants as their own comparison group we can remove the variance due to subjects from the overall variance due to treatments.

Now let's consider the sources of variance in our design.


The computations for the two 1 factor ANOVAs are similar. The 1-way between groups ANOVA partitions the total variance into two parts: a between subjects part and a within subjects part.

The 1-way repeated measures ANOVA partitions the total variance into three parts: a between subjects part and a within subjects part and a between treatments part. This is accomplished by doing the same basic computations that we did for the 1-way between groups ANOVA, but then we further partition the within groups variance.



Computing Within groups ANOVA

Same notation as one-way independent ANOVA with one addition

Person pre-test 4 week test 16 week test person totals
A 2 4 6 12
B 0 2 4 6
C 1 3 5 9
D 3 6 6 15
E 4 5 9 18
Totals 10 20 30
means 2.0 4.0 6.0
SS 10 10 14
n 5 5 5

N = 15
K = 3
G = 60
Grand mean = 60/15 = 4.0
SStotal = S(X - grandmean)2 = 74

Step 1: State the hypotheses & set the alpha-level

Step 2: Figure out the degrees of freedom

Step 3: Compute your F-statistic for the samples Step 4: Compare this value with a critical value from the ANOVA table. Step 5: Make a decision about the null hypothesis

Source                  SS      df      MS                      
Between treatments      40      2       20.0    F = 40.00
Within treatments       34      12      2.83
   Between subjects	30	4	7.5
   Error		4	8	0.5				
Total                   74      14

Often the two Means Squares that you see in blue aren't reported


Using SPSS to do a 1-way repeated measures ANOVA

As was the case with match-samples t-test, repeated-measures designs require that the data be considered together. That is, all of a single participant's data need be grouped. As a result, the SPSS file needs to have a separate column of data for each level of the within-groups variable.

The repeated measures ANOVA is run through the General Linear Model submenu of the analyze menu.

You will use this option for both 1-way repeated measures designs and factorial (more than 1 factor) repeated measures designs. So you must specify what the factors and levels of the factors are.

You get a lot of output (even more than what is pictured below). For now, this is the only one that we're interested in.


Additional Information about Within subjects designs.



An example

A psychologist is asked by a dog food manufacturer to determine if animals will show a preference among three new food mixes recently developed. The psychologist takes a sample of n = 6 dogs. They are deprived of food overnight and presented simultaneously with three bowls of the mixes on the next morning. After 10 mins, the bowls are rmoved and the amount of food eaten is measured. The data are presented below. Perform the appropriate test with an alpha level = 0.05. Use SPSS or by hand to perform the One-way ANOVA (repeated measures).

Food type
Dog Mix A Mix B Mix C
A 3 2 1
B 0 5 1
C 2 4 3
D 0 7 5
E 0 3 3
F 1 3 5



If you have any questions, please feel free to contact me at jccutti@mail.ilstu.edu.