A simple unified approach for estimating natural direct and indirect effects. 
An important problem within both epidemiology and many social sciences is to break down the effect of a given treatment into different causal pathways and to quantify the importance of each pathway.  Formal mediation analysis based on counterfactuals is a key tool when addressing this problem.  During the last decade, the theoretical framework for mediation analysis has been greatly extended to enable the use of arbitrary statistical models for outcome and mediator.  However, the researcher attempting to use these techniques in practice will often find implementation a daunting task, as it tends to require special statistical programming.  In this paper, the authors introduce a simple procedure based on marginal structural models that directly parameterize the natural direct and indirect effects of interest.  It tends to produce more parsimonious results than current techniques, greatly simplifies testing for the presence of a direct or an indirect effect, and has the advantage that it can be conducted in standard software.  However, its simplicity comes at the price of relying on correct specification of models for the distribution of mediator (and exposure) and accepting some loss of precision compared with more complex methods.  Web Appendixes 1 and 2, which are posted on the Journal's Web site (http://aje.oupjournals.org/), contain implementation examples in SAS software (SAS Institute, Inc., Cary, North Carolina) and R language (R Foundation for Statistical Computing, Vienna, Austria).