X is the predictor, Y is the outcome, M is the mediation, W and Z are the moderations.X->M is moderated by W, and M->Y is moderated by Z. My syntax is like below. ANALYSIS: TYPE = RANDOM; ALGORITHM=INTEGRATION; MODEL: X BY g1-g6; W BY i1-i2; M BY c1-c3;...
I am trying a 2-1-1 multilevel moderated mediational model. However, I always got a error message to ask me to define cluster, which I have included (teacher's id). Could you please take a look at my Mplus syntax? Thanks a lot! (w=moderator, x=predictor,m=mediator, Sex=covariate...