|
![](http://www.statmodel.com/discussion/icons/csc/1px.gif) |
Modeling direct or total effects |
![Previous](http://www.statmodel.com/discussion/icons/csc/navgen_arrow_left.gif) ![](http://www.statmodel.com/discussion/icons/csc/1px.gif)
|
Message/Author |
|
|
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? |
|
|
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 |
|
|