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> and the telescope matching estimator described in Blackwell and Strezhnev (2020) <doi:10.1111/rssa.12759>.

Version: 0.3
Depends: R (≥ 3.5.0)
Imports: stats, Formula, glue, Matching, generics, rlang, broom
Suggests: knitr, rmarkdown, dplyr, tidyverse, ggplot2, reshape2, scales, testthat, nnet, glmnet, hdm, ranger
Published: 2024-10-04
DOI: 10.32614/CRAN.package.DirectEffects
Author: Matthew Blackwell ORCID iD [aut, cre], Avidit Acharya [aut], Maya Sen [aut], Shiro Kuriwaki [aut], Jacob Brown [aut], Anton Strezhnev [aut]
Maintainer: Matthew Blackwell <mblackwell at gmail.com>
BugReports: https://github.com/mattblackwell/DirectEffects/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://mattblackwell.github.io/DirectEffects/
NeedsCompilation: no
In views: CausalInference
CRAN checks: DirectEffects results

Documentation:

Reference manual: DirectEffects.pdf
Vignettes: Estimating controlled direct effects (source, R code)

Downloads:

Package source: DirectEffects_0.3.tar.gz
Windows binaries: r-devel: DirectEffects_0.2.1.zip, r-release: DirectEffects_0.3.zip, r-oldrel: DirectEffects_0.2.1.zip
macOS binaries: r-release (arm64): DirectEffects_0.3.tgz, r-oldrel (arm64): DirectEffects_0.3.tgz, r-release (x86_64): DirectEffects_0.3.tgz, r-oldrel (x86_64): DirectEffects_0.3.tgz
Old sources: DirectEffects archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=DirectEffects to link to this page.