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]
Re: st: mediation by subgroup
From
[email protected]
To
[email protected]
Subject
Re: st: mediation by subgroup
Date
Mon, 7 Mar 2011 12:06:41 +0100 (CET)
I can't see in this example the sureg command and the test of mediation effect; maybe I am wrong, but mediation requires sureg, as in the link I provided before
http://www.ats.ucla.edu/stat/stata/faq/modmed.htm
Or, maybe I can't see what you say; may you please kindly provide more explanations?
Thanks a lot!
As per references, see:
--- Preacher, K.J., Rucker, D.D. and Hayes, A.F. 2007. Addressing moderated mediation hypotheses: Theory, methods, and prescriptions. Multivariate Behavioral Research, 42(1), 185-227
---Baron, R.M.,& Kenny,D.A.(1986). The moderator–mediator variable distinction in social psychological research: Conceptual, strategic, and statistical considerations. ournal of Personality and Social Psychology, 5, 1173–1182.
----- Messaggio originale -----
Da: "Maarten buis" <[email protected]>
A: [email protected]
Inviato: Lunedì, 7 marzo 2011 11:44:03 GMT +01:00 Amsterdam/Berlino/Berna/Roma/Stoccolma/Vienna
Oggetto: Re: st: mediation by subgroup
--- On Mon, 7/3/11, Fabio Zona wrote:
> I run the same model in two subgroups and wish to
> test whether the coefficients significantly differ in the
> two subgroups (i.e. chow test).
>
> However, each model includes a mediation effect.
> Specifically, each model includes:
> --- three predictor variables
> --- a mediation effect (the effect of one predictor is
> mediated by a Mediator)
> --- control variables
I assume you are using linear regression on an untransformed
dependent/explained/y variable (if you do not then mediation
becomes a lot more complex). In that case the solutions seems
to me so simple that it does not deserve its own name: Just
estimate one model, add interactions, and test whether these
interactions are all equal to zero. In the example below:
assume that race has an effect on income through education
(grade) and union is a control variable and you want to compare
married and unmarried women (the dataset contains only women).
*----------------- begin example ---------------
sysuse nlsw88, clear
gen byte baseline = 1
gen c_grade = grade - 12
reg wage i.race##i.married ///
c.c_grade##i.married ///
i.union##i.married ///
, coefl
test 2.race#1.married 3.race#1.married ///
1.married#c.c_grade 1.union#1.married ///
1.married
*-------------- end example --------------------
(For more on examples I sent to the Statalist see:
http://www.maartenbuis.nl/example_faq )
Hope this helps,
Maarten
--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany
http://www.maartenbuis.nl
--------------------------
*
* 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/
*
* 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/