Package: rmpw 0.0.6

Xu Qin

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>.

Authors:Xu Qin [aut, cre], Guanglei Hong [aut], Fan Yang [aut]

rmpw_0.0.6.tar.gz
rmpw_0.0.6.tar.gz(r-4.6-any)rmpw_0.0.6.tar.gz(r-4.5-any)
rmpw_0.0.6.tgz(r-4.5-emscripten)
rmpw.pdf |rmpw.html
rmpw/json (API)

# Install 'rmpw' in R:
install.packages('rmpw', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))
Datasets:

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.00 score 3 scripts 239 downloads 3 exports 2 dependencies

Last updated from:15bb63b09e. Checks:4 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK110
source / vignettesOK166
linux-release-x86_64OK108
wasm-releaseOK97

Exports:rmpwsensitivitysensitivity.plot

Dependencies:gtoolsMASS