MEDIATION: Stata module for causal mediation analysis and sensitivity analysis

Raymond Hicks () and
Dustin H. Tingley ()
Additional contact information Raymond Hicks: Niehaus Center for Globalization and Governance, Princeton University

Abstract:
mediation estimates the role of particular causal mechanisms that mediate a relationship between treatment and outcome variables. Calculates causal mediation effects and direct effects for models with continuous or binary dependent variables using methods presented in Imai et al 2010. Also calculates sensitivity analyses for mediation effects that are necessary due to non-random assignment of mediating variable. Package replaces earlier approaches like the "Baron-Kenny" method and "Sobel test" for the case of continuous mediator and outcome variables, producing identical results as these earlier methods but not put in a causal inference framework and with sensitivity analyses to the key identification assumption. For models with binary mediators or outcomes, correct calculation of mediation effects are implemented that take into account the use of non-linear models such as probit.

Language: Stata Requires: Stata version 10 and moremata (q.v.) Keywords:causal mediation effects; binary outcome; continuous outcome (search for similar items in EconPapers) Date: 2011-06-18, Revised 2012-11-19 Note: This module should be installed from within Stata by typing "ssc install mediation". Windows users should not attempt to download these files with a web browser. References:Add references at CitEc CitationsTrack citations by RSS feed

More software in Statistical Software Components from Boston College Department of Economics Address: Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA Contact information at EDIRC. Series data maintained by Christopher F Baum ().