Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Sobel test for mediation with a mixed linear model - GLLAMM???


From   Nicola Man <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: Sobel test for mediation with a mixed linear model - GLLAMM???
Date   Tue, 15 Mar 2011 19:55:44 +1100

Would anyone have a clue on how to conduct a Sobel test for a multilevel linear model?

One common method is to conduct three separate regressions (according to Baron and Kenny):
1) y= constant + c'x + bm + error
2) y= constant + cx + error
3) m= constant + ax + error

Where y=dependent variable (i.e. outcome), x=independent variable and m=mediator variable

Then obtain the product of the coefficients ab and standard errors to estimate indirect effect.

I can do these mixed effect regressions with xtreg, but the problem is c-c' should equal ab and I am not getting this using xtreg (so I think this is not correct).  I suspect it could be something to do with the random error structure, and wondering if it is possible to get the models simultaneously fitted in gllamm which might overcome this problem?

Help appreciated! Thanks!

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index