CRAN/E | rmpw

rmpw

Causal Mediation Analysis Using Weighting Approach

Installation

About

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.

Key Metrics

Version 0.0.5
R ≥ 3.3.0
Published 2024-03-06 45 days ago
Needs compilation? no
License GPL-2
CRAN checks rmpw results

Downloads

Yesterday 18
Last 7 days 34 +13%
Last 30 days 181 -49%
Last 90 days 884 +108%
Last 365 days 2.211 -17%

Maintainer

Maintainer

Xu Qin

xuqin@uchicago.edu

Authors

Xu Qin
Guanglei Hong
Fan Yang

Material

Reference manual
Package source

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

rmpw archive

Depends

R ≥ 3.3.0
gtools
MASS