I have a model with a within-subject variable (two levels) and a between-subjects variable (three levels which represent experimental groups). I create two dummy codes to account for the three levels of the between-subject variable.
Here is the model I end up with:
Y = Intercept + WithinVariable + GroupB + GroupC + GroupB:WithinVariable + GroupC:WithinVariable+randomeffects
How do you test differences between group means?
Basically, I want post-hoc comparisons between the means of all three groups in each level of the within-subjects variable.
I know that the GroupB and GroupC coefficients test differences in means of those groups relative to the control group (when the within-subjects variable dummy code = 0). But what about comparing the means of Group B and C?