Message/Author |
|
|
It's a moderated mediation multilevel model in a negotiation study. IV: essentialism (TrEnt) Mediator: Positive perception towards partner (PercPos) DV: negotiation outcome (FinalPt) Moderator: Cultural similarity (CultBg), a categorical between-level variable moderating IV-> Med. We are interested in the indirect effect of Moderator (1= dissimilar) on DV. Does this syntax below looks correct? Thanks!! Define: Interact=CultBg*(TrEnt-3.37); ANALYSIS: TYPE IS TWOLEVEL RANDOM; MODEL: %WITHIN% TrEnt PercPos FinalPt; PercPos ON TrEnt; FinalPt ON PercPos; FinalPt ON TrEnt; %BETWEEN% CultBg TrEnt PercPos FinalPt Interact; PercPos ON TrEnt(a1); PercPos ON CultBg; PercPos ON Interact(a3); FinalPt ON PercPos(b1); FinalPt ON TrEnt; FinalPt ON CultBg; FinalPt ON Interact; MODEL CONSTRAINT: NEW(indb modval); modval = 1; indb=(a1+a3*modval)*b1; OUTPUT: TECH1 TECH8 CINTERVAL; |
|
|
This looks correct. |
|
|
Linda, thanks for your reply. One more question: the goodness-of-fit indices of this model are not good, with CFI below 0.40 and RMSEA around 0.25. Do these indices matter in a multilevel model? If yes, how can i improve the model fit? Thanks! |
|
|
I would say these matter. Look at modification indices using the MODINDICES option of the OUTPUT command. Perhaps a TWOLEVEL EFA will reveal a better model. |
|
|
Hi, I am trying to fit a longitudinal multilevel model (similar than example 9.14) with data of parental dyads collected at three time points. Variables are: - y1-y3: parental sensitivity - a1-a3: parental depression - x: parent gender - w: family alliance (measured at family-level or "cluster-level") - clus: family ID I keep getting an error message *** ERROR One or more between-level variables have variation within a cluster for one or more clusters. Check your data and format statement. Between Cluster ID with variation in this variable Variable (only one cluster ID will be listed) W 9 However, checking in the data, I could not find any variation within the cluster on the between-level variable. Is there a mistake in the data structure? Any help would be appreciated. |
|
|
I have never seen this message to be wrong. You may have blanks in your data set which are not allowed with free format data. See the FAQ regarding blanks in the data set. If you can't figure it out, send the output, data set, and your license number to support@statmodel.com. |
|
Back to top |