nhejazi/medoutcon: Efficient Natural and Interventional Causal Mediation Analysis

Efficient estimators of interventional (in)direct effects in the presence of mediator-outcome confounding affected by exposure. The effects estimated allow for the impact of the exposure on the outcome through a direct path to be disentangled from that through mediators, even in the presence of intermediate confounders that complicate such a relationship. Currently supported are non-parametric efficient one-step and targeted minimum loss estimators based on the formulation of Díaz, Hejazi, Rudolph, and van der Laan (2020) <doi:10.1093/biomet/asaa085>. Support for efficient estimation of the natural (in)direct effects is also provided, appropriate for settings in which intermediate confounders are absent. The package also supports estimation of these effects when the mediators are measured using outcome-dependent two-phase sampling designs (e.g., case-cohort).

Getting started

Package details

MaintainerNima Hejazi <nh@nimahejazi.org>
LicenseMIT + file LICENSE
Version0.2.4
URL https://github.com/nhejazi/medoutcon
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("nhejazi/medoutcon")
nhejazi/medoutcon documentation built on July 16, 2025, 5:38 p.m.