Bookmark and Share

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

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

st: Testing for binary mediation using logit and survey design adjustments (weights, etc.)

From   "G. Vazquez" <[email protected]>
To   [email protected]
Subject   st: Testing for binary mediation using logit and survey design adjustments (weights, etc.)
Date   Thu, 6 Jan 2011 17:50:53 -0800

Hello Statalisters,

Following work by Kenny, and information from, I used
Michael Mitchell & Phil Ender's -binary_mediation- command to test for
mediation using a binary outcome variable (and continuous mediator,
binary independent and a slew of covariates).

However, because the survey design used multi-stage stratified
sampling, the coefficient estimates (especially for the independent
variable) are substantially different (direction even reverses) when
survey design is adjusted using the - svyset- command versus when the
regression is run without design adjustments (pweights, psu, strata
are all specified).

Would it be possible to test for mediation by hand-calculating the
effects using coefficients from models with the svy adjustments, for
example using Nathaniel Herr's spreadsheet at It seems there would
also be some problems doing that; first, the covariance of the
independent and mediator variables is needed.

Any clarification about whether there is some way to test mediation
effects given a binary outcome variable and the need to use pweights,
psu, and strata design specifications would be greatly appreciated.

I use Stata 10.

Thank you in advance,

University of California, Irvine
*   For searches and help try:

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