I have multilevel data (two nested levels: individual and team) and an upper level and lower level mediation. I will hypothesize that an individual-level predictor (X) affects a group level mediator (M1), and affects another individual level mediator (M2), which, in turn affects a group level outcome (Y). Is there a way to test this model?
X (individual) - M1 (group level) - M2 (individual) - Y (group level)
Hello, I find this forum extremely helpful and have already learned a lot. But now I have a problem where I can't find a solution: I am having a multilevel 2-1-1 mediation with 2 predictors (x1, x2) and a dichotomous mediator (m) and a number of control variables (cv). The model works very well, but if I would specify m as Categorical, the model does not work. What can I do?
Within= cv1 cv2 cv3 cv4; between= X1Index AYoS X2index income; CLUSTER=origin; Define: Center cv1 X1Index X2index AYoS (Grandmean); Analysis: TYPE= TWOLEVEL; Estimator= Bayes; fbiteration=10000; Processors=2; MODEL: %Within% y ON cv1 cv2 cv3 cv4; y ON M; !(bw) y M; %Between% M y X2 X1; X1 BY X1Index AYoS; X2 BY income X2index; M ON X1 (a1); M ON X2 (a2); y ON M(b); y ON X1 (c1); y ON IN (c2); X1 with X2; MODEL CONSTRAINT: New(indX1 indX2); indX1=a1*b; indX2=a2*b;
Dear Mr Muthen, thank you for your answer, I have contacted my university because I use a general university access and they do not have a license number that I can use as an individual. Therefore I can not use the support. May I therefore ask a short question of understanding. Do I have to specify a Binary Mediator for a multilevel analysis? Which estimator do I use for this?
I have a three-level data-set (individual, team and organization) and I was hoping to test a moderated mediation in which a team level variable (coh) mediates a three-way interaction between two team (Tid and Tdiv) and one organization-level variables (cOid) on an individual outcome (OCB). X Y Z are control variables on the individual level.
1. Is this possible with MPLUS; Type = Threelevel random? Estimator = MLR.
2. Disregarding the model constraints would the below code fit with the description above?
MODEL: %WITHIN% OCB ON X Y Z
%BETWEEN Tcode% OCB ON coh (b1); OCB ON Tid (cdash); a | coh ON Tid (a1); b | coh ON Tdiv (c1); c | coh ON TdivxTid (c2);
%BETWEEN Ocode% coh ON cOid (c6); a ON cOid (c3); b ON cOid (c4); c ON cOid (c5);