DirectEffects
0.3Estimating Controlled Direct Effects for Explaining Causal Findings
Overview
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.
Install
Health
- OK2026-08-0513 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-08-0112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 80%
- Documented parameters
- 99%
- Return-value docs
- 44%
- References docs
- 22%
Downloads
Repository
Stars over time
Forks over time
Issues over time
PRs over time
Repository practices
3 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/mattblackwell/directeffects on 2026-08-16.
Dependencies
Code & Tests
Datasets
People & History
4 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.3Latest
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- 0.2.12021-05-12 · diff ↗
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 0.22019-01-04 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 0.12018-02-26
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2018-02-26
- Total releases
- 4 / 8 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 224 KB / 4 files
- Download size
- 753 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("DirectEffects")This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.