top of page

Mixed ANOVA

KEY:

ds = dataset you are currently using.

DV = dependent variable of interest

IV = independent variable of interest

 

Subject = name of subject number column 

XYXY = dummy name for a variable, matrix, or data frame into which you are moving information.

Did you remember to turn your subjects column into a factor?????

2x2 Mixed

IV1 = Between subjects

IV2 = Within subjects

_____________________________

XYXY<-aov(DV ~ IV1 * IV2 + Error(Subject / (IV2)), data=ds)

summary(XYXY)

_____________________________

2x2x2 Mixed

IV1 = Between subjects

IV2 = Within subjects

IV3 = Within subjects

_____________________________

XYXY<-aov(DV ~ IV1 * IV2 * IV3 + Error(Subject / (IV2 * IV3)), data=ds)

summary(XYXY)

_____________________________

bottom of page