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.1
Depends: R (≥ 3.0.0)
Imports: stats, Formula
Suggests: knitr, dplyr, ggplot2, reshape2, scales
Published: 2018-02-26
Author: Avidit Acharya [aut], Matthew Blackwell [aut, cre], Maya Sen [aut], Shiro Kuriwaki [ctb]
Maintainer: Matthew Blackwell <mblackwell at>
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
NeedsCompilation: no
Materials: README
CRAN checks: DirectEffects results


Reference manual: DirectEffects.pdf
Vignettes: Estimating controlled direct effects
Package source: DirectEffects_0.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X El Capitan binaries: r-release: DirectEffects_0.1.tgz
OS X Mavericks binaries: r-oldrel: not available


Please use the canonical form to link to this page.