Two-Factor ANOVA with Repeated Measures on Both Factors



This page will perform a two-way factorial analysis of variance for designs in which there are 2-4 levels of each of two variables, A and B, with each subject measured under each of the AxB combinations.
  B1
B2
B3
A1
subj 1
X(A1B1)
subj 2
X(A1B1)
etc.
subj 1
X(A1B2)
subj 2
X(A1B2)
etc.
subj 1
X(A1B3)
subj 2
X(A1B3)
etc.
A2
subj 1
X(A2B1)
subj 2
X(A2B1)
etc.
subj 1
X(A2B2)
subj 2
X(A2B2)
etc.
subj 1
X(A2B3)
subj 2
X(A2B3)
etc.
The programming assumes that all active cells include the same number of measures. Thus, with 2 rows and 3 columns, there is a total of 2x3=6 measures for each subject, arranged as illustrated in the adjacent table.

subj = subject  
X = measure  


Procedure:
Two-Factor ANOVA with
Repeated Measures on Both Factors

Number of rows in analysis (A) =
Number of columns in analysis (B) =


Data Entry
  B1
B2
B3
B4
A1




A2




A3




A4




    

Data Check

n's for Cells, Rows, Columns, and Total
  B1
B2
B3
B4
Totals
A1





A2





A3





A4





Totals





Number of subjects:   Measures per subject:
Means for Cells, Rows, Columns, and Total
  B1
B2
B3
B4
Totals
A1





A2





A3





A4





Totals





ANOVA Summary    
A = row variable
B = column variable
Subj = subjects
Source
SS
df
MS
F
P
Subjects


Within Subjects
   A





  Subj x A



  B





  Subj x B



  A x B





  Subj x A x B



TOTAL






Home Click this link only if you did not arrive here via the VassarStats main page.

©Richard Lowry 2001-
All rights reserved.