rmpw: Causal Mediation Analysis Using Weighting Approach

We implement causal mediation analysis using the methods proposed by Hong (2010) and Hong, Deutsch & Hill (2015) <doi:10.3102/1076998615583902>. 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) <doi:10.3102/1076998617749561>.

Getting started

Package details

AuthorXu Qin, Guanglei Hong, and Fan Yang
MaintainerXu Qin <xuqin@uchicago.edu>
LicenseGPL-2
Version0.0.4
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("rmpw")

Try the rmpw package in your browser

Any scripts or data that you put into this service are public.

rmpw documentation built on May 2, 2019, 8:32 a.m.