mediationsens: Simulation-Based Sensitivity Analysis for Causal Mediation Studies

Simulation-based sensitivity analysis for causal mediation studies. It numerically and graphically evaluates the sensitivity of causal mediation analysis results to the presence of unmeasured pretreatment confounding. The proposed method has primary advantages over existing methods. First, using an unmeasured pretreatment confounder conditional associations with the treatment, mediator, and outcome as sensitivity parameters, the method enables users to intuitively assess sensitivity in reference to prior knowledge about the strength of a potential unmeasured pretreatment confounder. Second, the method accurately reflects the influence of unmeasured pretreatment confounding on the efficiency of estimation of the causal effects. Third, the method can be implemented in different causal mediation analysis approaches, including regression-based, simulation-based, and propensity score-based methods. It is applicable to both randomized experiments and observational studies.

Version: 0.0.3
Depends: mediation, distr
Published: 2024-03-06
DOI: 10.32614/CRAN.package.mediationsens
Author: Xu Qin and Fan Yang
Maintainer: Xu Qin <xuqin at>
License: GPL-2
NeedsCompilation: no
CRAN checks: mediationsens results


Reference manual: mediationsens.pdf


Package source: mediationsens_0.0.3.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): mediationsens_0.0.3.tgz, r-oldrel (arm64): mediationsens_0.0.3.tgz, r-release (x86_64): mediationsens_0.0.3.tgz, r-oldrel (x86_64): mediationsens_0.0.3.tgz
Old sources: mediationsens archive


Please use the canonical form to link to this page.