Package: rmpw
Version: 0.0.6
Date: 2025-11-14
Title: Causal Mediation Analysis Using Weighting Approach
Maintainer: Xu Qin <xuqin@uchicago.edu>
Authors@R: c(person(given = "Xu",
                      family = "Qin",
                      role = c("aut", "cre"),
                      email = "xuqin@uchicago.edu"),
               person(given = "Guanglei",
                      family = "Hong",
                      role = "aut"),
               person(given = "Fan",
                      family = "Yang",
                      role = "aut"))
Depends: R (>= 3.3.0), gtools, MASS
Description: 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>.
License: GPL-2
RoxygenNote: 7.3.3
NeedsCompilation: no
Packaged: 2025-11-17 15:54:34 UTC; XUQIN
Author: Xu Qin [aut, cre],
  Guanglei Hong [aut],
  Fan Yang [aut]
Repository: CRAN
Date/Publication: 2025-11-17 16:10:02 UTC
Built: R 4.6.0; ; 2026-04-25 21:56:27 UTC; unix
