Three way interactions and moderated ...
Message/Author
 Haesang Park posted on Friday, February 21, 2020 - 12:58 pm
We tested a three-way interactions among a Lv3 variable (coid) and two LV2 variables (Totendiv & Tid), and a mediation at Lv2 (Tcoh). That is, we tested whether Tcoh (team cohesion) mediates that relationship among three way interactions of coid, totendiv and Tid and OCBT (outcome). Also control variables at Lv1 (gender orgten Edu Ideals).
Could you take a look at the syntax and give us some advice on model constraints?
 Haesang Park posted on Friday, February 21, 2020 - 1:00 pm
VARIABLE: NAMES = Tcode Ocode gender edu orgten OCBT Ideals
Tcoh zTid zTotendiv TdivTid coid sector;
CLUSTER = Ocode Tcode;
USEVAR = Ocode Tcode gender edu orgten OCBT Ideals Tcoh zTid zTotendiv tdivTid coid sector;
BETWEEN = (Ocode) cOid sector (Tcode) tdivTid zTid zTotendiv;
WITHIN = gender orgten Edu Ideals;
Missing = all(-99);
DEFINE: CENTER gender orgten Edu Ideals(GRANDMEAN);
ANALYSIS: TYPE = THREELEVEL RANDOM;
MODEL:
%WITHIN%
OCBT ON gender orgten Edu Ideals;
%BETWEEN Tcode%
OCBT ON Tcoh (b1);
OCBT ON zTid (cdash);
a | Tcoh ON zTid (a1);
b | Tcoh ON zTotendiv (c1);
c | Tcoh ON TdivTid (c2);

%BETWEEN Ocode%
OCBT ON sector;
Tcoh ON sector;
Tcoh ON cOid (c6);
a ON cOid (c3);
b ON cOid (c4);
c ON cOid (c5);
 Haesang Park posted on Friday, February 21, 2020 - 1:00 pm
MODEL CONSTRAINT:
NEW (Low_cOid HI_cOid Low_div
HI_div
IND_LOWcOidLOWdiv IND_LOWcoidHIdiv IND_HIcOidLOWdiv
IND_HIcOidHIdiv
TOT_LOWcOidLOWdiv TOT_LOWcoidHIdiv TOT_HIcOidLOWdiv
TOT_HIcOidHIdiv);

Low_cOid=-1;
HI_cOid=1;
Low_div=-1;
HI_div=1;

IND_LOWcOidLOWdiv = a1*b1 + b1*c1*c2*c3*c4*c5*LOW_cOid*LOW_div;
IND_LOWcOidHIdiv = a1*b1 + b1*c1*c2*c3*c4*c5*LOW_cOid*HI_div;
IND_HIcOidLOWdiv = a1*b1 + b1*c1*c2*c3*c4*c5*HI_cOid*LOW_div;
IND_HIcOidHIdiv = a1*b1 + b1*c1*c2*c3*c4*c5*HI_cOid*HI_div;

TOT_LOWcOidLOWdiv = IND_LOWcOidLOWdiv + cdash;
TOT_LOWcoidHIdiv = IND_LOWcOidHIdiv + cdash;
TOT_HIcOidLOWdiv = IND_HIcOidLOWdiv + cdash;
TOT_HIcOidHIdiv = IND_HIcOidHIdiv + cdash;
 Bengt O. Muthen posted on Friday, February 21, 2020 - 3:57 pm