Modeling direct or total effects PreviousNext
Mplus Discussion > Multilevel Data/Complex Sample >
Message/Author
 victor china posted on Tuesday, July 24, 2007 - 5:49 am
i would like to test the effect of a second level variable on the relationship between an independent variable and a dependent variable.

the independent variable has both a direct and indirect effect on the dependent variable.

does the second level effect (random slope & intercept) relate to the direct or total first level effect?
 Linda K. Muthen posted on Tuesday, July 24, 2007 - 3:52 pm
You could do the following:

MODEL:
%WITHIN%
b | y ON x;
a | m ON x;
c | y ON m;
%BETWEEN%
a b c m y ON x;

This relates the three effects on the within level to the between-level covariate.
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: