2-1 cross level interaction PreviousNext
Mplus Discussion > Multilevel Data/Complex Sample >
Message/Author
 Jae Wan Yang posted on Wednesday, September 11, 2013 - 7:58 am
Dear Drs. Muthen:
I am trying to test a cross-level interaction model with a level-2 moderator. Specifically, I have a group level (level -2) IV, an individual level (level-1) DV, and a group level (level-2) moderator. This is consistent with traditional HLM model with a high-level moderator. I read related threads in the M-plus discussion. However I am not sure if my codes are correct since the estimation results are very different from my estimation in HLM. It would be great if you could check if my M-Plus codes are correct. Thank you!
Sincerely,
Jae

USEVAR = NumID Invt FP1OC FP2OC FP3OC FP4OC FP5OC
OCB1OC OCB2OC OCB3OC OCB4OC;
MISSING are All(999);
BETWEEN ARE Invt;
CLUSTER IS NumID;

Analysis:
TYPE IS TWOLEVEL RANDOM;
ALGORITHM=INTEGRATION;

MODEL:
%WITHIN%
FairW BY FP1OC FP2OC FP3OC FP4OC FP5OC;
OCBW By OCB1OC OCB2OC OCB3OC OCB4OC;
%BETWEEN%
FairB By FP1OC FP2OC FP3OC FP4OC FP5OC;
OCBB By OCB1OC OCB2OC OCB3OC OCB4OC;
Int| FairB xwith Invt;
OCBB on FairB Invt Int;
!OCBB on Invt;

OUTPUT: TECH1 CINTERVAL;
 Linda K. Muthen posted on Wednesday, September 11, 2013 - 9:34 am
See Example 9.2 which shows a cross-level interaction. The random slope should be defined on the within level. You will obtain the same results in Mplus and HLM if you have the same model, data, and estimator.
 Jae Wan Yang posted on Tuesday, September 17, 2013 - 12:09 pm
Thanks for your answer Dr. Muthen.

However I don't think we are on the same page. Example 9-2 is not what I am trying to do. In my model, IV is a level-2(group) observed variable. Thus, this can not be modeled as a random slope on the within level. In my data, everybody in the same group has the same value for the IV.

In example 9-2, x is a within level observed variable. This means that observations in the same group would have different values for the IV.

Also, I am modeling an interaction term between my between level IV and another between level covariate.

Would you please check my Mplus code based on my further explanations? Thank you so much!

Jae
 Bengt O. Muthen posted on Tuesday, September 17, 2013 - 12:26 pm
Yes, it looks like you are using XWITH correctly. I wouldn't call your model a cross-level interaction since the between-level covariate doesn't multiply a within-level covariate. Cross-level interactions happen when you have a random slope on Within. Also, I don't see how it can be compared to regular HLM since regular HLM doesn't work with general latent variable models.
 Jae Wan Yang posted on Wednesday, September 18, 2013 - 1:37 pm
Thank you for checking my codes, Dr. Muthen. If my codes are correct, then I think I should play with my data for a while. Considering that reliabilities of the measures I used in HLM is quite high, the discrepancy I found between HLM and Mplus results are quite surprising.

Sincerely,
Jaewan
 Linda K. Muthen posted on Thursday, September 19, 2013 - 6:53 am
If you specify the same model and use the same data and estimator, the Mplus results will agree with HLM. Please send the Mplus and HLM outputs and your license number to support@statmodel.com and we will show you your error.
Back to top
Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: