|
|
1x(2-2-2) moderated mediation model _... |
|
Message/Author |
|
|
Hi I have a 1x(2-2-2) model. The moderator(w) at level 1, which moderates the relationship between x and m. I want to examine the moderated mediation effect. Could someone help me to check the code below. Am I right so far? Another question is how do I add control variables @Level 1, 2 into the code. Thanks a lot! VARIABLE: NAMES = CID ID x1-x4 m1-m4 y1-y6 w1-w21; USEVARIABLES = x1-x4 m1-m4 y1-y6 w1-w21; CLUSTER = CID; ANALYSIS: type = twolevel RANDOM; ALGORITHM=INTEGRATION; MODEL: %WITHIN% ETAWX BY x1-x4; ETAWY BY y1-y6; ETAWM BY m1-m4; ETAWW BY w1-w21; ETAWY on ETAWM (Wb1) ETAWX ETAWW; ETAWM on ETAWW(Wg11) ETAWX(Wa1); [ETAWM](Wg10); %BETWEEN% ETABX BY x1-x4; ETABY BY y1-y6; ETABM BY m1-m4; ETABW BY w1-w21; ETABY on ETABM(Bb1) ETABX(Bb2) ETABW; ETABM on ETABW; ETABM on ETABX(Ba1); MODEL CONSTRAINT: NEW(ind_h ind_l); ind_h=Bb1*Wg10+Bb2+Bb1*Wg11*(0.89); ind_l=Bb1*Wg10+Bb2+Bb1*Wg11*(-0.89); NEW(diff); Diff= ind_h-ind_l; NEW(INDB INDW); INDB=Bb1*Ba1; INDW=Wb1*Wa1; |
|
|
Please send your full output to Support along with your license number. |
|
Back to top |
|
|