Repeated Measures ANOVA
Repeated Measures ANOVA
Repeated Measures ANOVA
A N O VA
O ld and N ew
One-Way ANOVA looks at differences between
compared.
across k conditions.
practice)
(Independent: 1 hour, 4 hours, 7 hours)
Compare different priming effects in a LDT
(Independent: Forward, backward, no-prime, non-word)
Simply examine performance under different
Comparing two
Ext
ending t-tests
independent
samples?
Independent-samples t-
test!
T-test
Comparing the
dependent measures
of a single sample
under two different
conditions?
Related- (or dependent-
ANOVA cousin
Comparing more than
Comparing the
dependent measures of a
single sample under
more than two different
conditions?
Repeated-Measures
ANOVA!
R-M AN O VA
Like the Related-samples t, repeated measures
W hy R-M AN O VA is CO O L
With a Repeated-Measure ANOVA, we can
parts:
SSwithin/error = SSsubjects/individual differences + SSerror
To get SSerror we subtract SSsubjects from SSwithin/error.
This time, we truly have SS error , or random
variability.
H ypotheses
For the overall RM ANOVA:
Ho: f = b = u= n
Ha: At least one treatment mean is
Specifically:
Ho: f < b
Ho: f and b < u and n
Ho: u < n
The D ata
Par
t
Forwa
rd
Backwa
rd
Unrelat
ed
Nonword
Sum
Part.
.2
.1
.4
.7
1.4
.5
.3
.8
.9
2.5
.4
.3
.6
.8
2.1
F2= 1.36
.4
.2
.8
.9
2.3
B2= .58
.6
.4
.8
.8
2.6
U2= 3.82
.3
.3
.5
.8
1.9
N2= 6.63
.1
.1
.5
.7
1.4
P2= 385
.2
.1
.6
.9
1.8
Xt2=
12.39
.3
.2
.4
.7
1.6
10
.4
.2
.6
.9
2.1
3.4
2.2
8.1
19.7
All = 19.7
X 2TOT
t
NTOT
Ians SS =
SSbetween
The D ata
Par
t
Forwa
rd
Backwa
rd
Unrelat
ed
Nonword
Sum
Part.
.2
.1
.4
.7
1.4
.5
.3
.8
.9
2.5
.4
.3
.6
.8
2.1
F2= 1.36
.4
.2
.8
.9
2.3
B2= .58
.6
.4
.8
.8
2.6
U2= 3.82
.3
.3
.5
.8
1.9
N2= 6.63
.1
.1
.5
.7
1.4
P2= 385
.2
.1
.6
.9
1.8
Xt2=
12.39
.3
.2
.4
.7
1.6
10
.4
.2
.6
.9
2.1
3.4
2.2
8.1
19.7
All = 19.7
group/condition.
Measures variability within each condition, then
adds them together.
( X 1
2
( X 1 ) 2
n1
) ( X 2
2
( X 2 ) 2
n2
) ... ( X k
2
( X k ) 2
nk
So, SSwithin/error =
(1.36 ([3.4]2/10)) + (.58 ([2.2]2/10)) + (3.82
6.561)
= .204+ .096+ .22+ .069= .589
The D ata
Par
t
Forwa
rd
Backwa
rd
Unrelat
ed
Nonword
Sum
Part.
.2
.1
.4
.7
1.4
.5
.3
.8
.9
2.5
.4
.3
.6
.8
2.1
F2= 1.36
.4
.2
.8
.9
2.3
B2= .58
.6
.4
.8
.8
2.6
U2= 3.82
.3
.3
.5
.8
1.9
N2= 6.63
.1
.1
.5
.7
1.4
P2= 385
.2
.1
.6
.9
1.8
Xt2=
12.39
.3
.2
.4
.7
1.6
10
.4
.2
.6
.9
2.1
3.4
2.2
8.1
19.7
All = 19.7
Breaking up SS w ithin/error
We must find SSSUBJECTS and subtract that
TOT
TOT
K is generic for the number
of conditions, as
usual.
SSSUBJECTS = (1.42/4 +2.52/4 +2.12/4 +2.32/4
+2.62/4 +1.92/4 +1.42/4 +1.82/4 +1.62/4 +2.12/4
+) 19.72/40 = .
49+1.5625+1.1025+1.3225+1.69+.9025+.49+.
81+.64+1.1025) -9.70225 = 10.1125-9.70225
=.41025
N ow for SS error
SSerror = SSwithin/error SSsubjects
SSerror = .589 - .41025 = .17875 or .
179
Weeeeeeeeee! We have pure
randomness!
The D ata
Par
t
Forwa
rd
Backwa
rd
Unrelat
ed
Nonword
Sum
Part.
.2
.1
.4
.7
1.4
.5
.3
.8
.9
2.5
.4
.3
.6
.8
2.1
F2= 1.36
.4
.2
.8
.9
2.3
B2= .58
.6
.4
.8
.8
2.6
U2= 3.82
.3
.3
.5
.8
1.9
N2= 6.63
.1
.1
.5
.7
1.4
P2= 385
.2
.1
.6
.9
1.8
Xt2=
12.39
.3
.2
.4
.7
1.6
10
.4
.2
.6
.9
2.1
3.4
2.2
8.1
19.7
All = 19.7
SS betw een-group :
The (same) Formula:
( X )
( X )
( X
...
2
n1
n2
nk
)2
( X TOT ) 2
NTOT
So = SSbetween =
[((3.4)2/10) + ((2.2)2/10) + ((6)2/10) +
((8.1)2/10)] 19.72/40
= (1.156+ .484+ 3.6+ 6.561) 9.70225
= 11.801 9.70225 = 2.09875 or
2.099
M ean Squared
MSbetween/group =
MSwithin/error =
SS between
df between
=
2.099/3
SS ERROR
=
.179/27
df ERROR
= .7
= .007
H ow do w e interpret these M S
MS error is an estimate of population
variance.
Or, variability due to ___________?
F?
MS
F =MS
= .7/.007 = 105.671
BET
ERROR
Null??
Disadvantages
Practice effects (learning)
Carry-over effects (bias)
Demand characteristics (more exposure, more time to think
Control
Counterbalancing
Time (greater spacingbut still have implicit memory).
Cover Stories
Sphericity
Levels of our IV are not independent
same participants are in each level (condition).
M ore Sphericity
Testing for Sphericity
Mauchlys test
Significant, no sphericity, NS Sphericity!
If no sphericity, we must engage in a correction of the Fratio. Actually, we alter the degrees of freedom associated
with the F-ratio.
(sphericity)
Greenhouse-Geiser (1/k-1)
Huynh-Feldt
MANOVA (assumes measures are independent)
non-parametric, rank-based Friedman test (one-factor only)
Sym m etry
Eff
ect Sizes
The issue is not entirely settled. Still
Specifi
c tests
Can use Tukey post-hoc for
exploration
Can use planned comparisons if you
have a priori predictions.
Sphericity not an issue
Contrasts
Some in SPSS:
Difference: Each level of a factor is compared to the mean
Specific:
GLM forward backward unrelate nonword
/WSFACTOR = prime 4 special (1 1 1 1
-1 -1 1 1
-1 1 0 0
0 0 -1 1)
2+ W ithin Factors
Set up.
Have participants run on tread mill
for 30min.
Within-subject factors:
Factor A
Measure Fatigue every 10min, 3 time
points.
Factor B
Do this once after drinking water, and
again (different day) after drinking new
sports drink.
between A and B.
These are within-subjects factors
All participants go through all the levels of each factor.
w/e
into
Effect
; SS
; and SS
ANOVAS)
Error
!!!!!!
!!!!!!
SS B*subj: Which measures variability within factor
B due to the different participants (i.e., error)
B*subj
A*B*subj
!!!!!!
W e are fi
nely chopping SS W /E
SS
W/E
SSSub
(A)
SSSub
(B)
SSSub
(AxB)
G etting to F
Factor A (Time)
SSA = 91.2; dfA = (kA 1) = 3 1 = 2
SSError(A*S) = 16.467; dfError(A*S) = (kA 1)(s
1) = (3-1)(10-1) = 18
So, MSA = 91.2/ 2 = 45.6
So, MSError(A*S) = 16.467/ 18 = .915
FA = 45.6/.915 = 49.846
Snapshot ofother Fs
Factor B (Drink)
dfB = (kB 1) = 2 1 = 1
dfError(B*S) = (kB 1)(s 1) = (2-1)(10-1) =
x 9 = 18