DirectEffects: Estimating Controlled Direct Effects for Explaining Causal Findings

A set of functions to estimate the controlled direct effect of treatment fixing a potential mediator to a specific value. Implements the sequential g-estimation estimator described in Vansteelandt (2009) <doi:10.1097/EDE.0b013e3181b6f4c9> and Acharya, Blackwell, and Sen (2016) <doi:10.1017/S0003055416000216>.

Version: 0.2
Depends: R (≥ 3.0.0)
Imports: stats, sandwich, Formula, glue
Suggests: knitr, dplyr, ggplot2, reshape2, scales, testthat
Published: 2019-01-04
Author: Matthew Blackwell [aut, cre], Avidit Acharya [aut], Maya Sen [aut], Shiro Kuriwaki [aut], Jacob Brown [aut]
Maintainer: Matthew Blackwell <mblackwell at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
CRAN checks: DirectEffects results


Reference manual: DirectEffects.pdf
Vignettes: Estimating controlled direct effects
Package source: DirectEffects_0.2.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release: DirectEffects_0.2.tgz, r-oldrel: DirectEffects_0.2.tgz
Old sources: DirectEffects archive


Please use the canonical form to link to this page.