rmpw (0.0.4)

Causal Mediation Analysis Using Weighting Approach.


We implement causal mediation analysis using the methods proposed by Hong (2010) and Hong, Deutsch & Hill (2015) . It allows the estimation and hypothesis testing of causal mediation effects through ratio of mediator probability weights (RMPW). This strategy conveniently relaxes the assumption of no treatment-by-mediator interaction while greatly simplifying the outcome model specification without invoking strong distributional assumptions. We also implement a sensitivity analysis by extending the RMPW method to assess potential bias in the presence of omitted pretreatment or posttreatment covariates. The sensitivity analysis strategy was proposed by Hong, Qin, and Yang (2018) .

Maintainer: Xu Qin
Author(s): Xu Qin, Guanglei Hong, and Fan Yang

License: GPL-2

Uses: gtools, MASS

Released about 1 year ago.