Lisa Koonce posted on Wednesday, April 13, 2011 - 2:04 pm
Question: I'm having trouble replicating a 2 x 2 mixed model ANOVA within MPlus. I'm trying to replicate before i do an involved path model.
I have one within-subjects manipulated (two levels) variable and one between-subjects manipulated variable (two levels). One DV. Trying to model the two main effects and interaction, like one would do in a standard MIXED model ANOVA in SAS.
My estimates in MPLUS generally seem close enough for the interaction term, but are all over the place, not even close on the main effects.
I did also "back up" and try to replicate SAS regular PROC GLM for the between subjects variable only (it worked) and replicate the sas PROC MIXED results for the within subjects variable only. I did replicate those within MPLUS .
But when I go to the 2 x 2 world, something goes awry. Can you help. SEe code below.
THE MIXED MODEL that doesn't replicate in MPLUS: VARIABLE: NAMES ARE subject GorL Bifurc GLxBi advant ; USEVAR = GorL Bifurc advant subject bixGL ; WITHIN = Bifurc bixGL; BETWEEN = GorL; CLUSTER = subject;
DEFINE: bixGL = bifurc * GorL;
ANALYSIS: TYPE=TWOLEVEL ; ALGORITHM = INTEGRATION; MODEL: %WITHIN% advant ON bifurc bixGL ; %BETWEEN% advant ON GorL;