Estimation Methods for Causal Inference Based on Inverse Probability Weighting and Doubly Robust Estimation
Overview
Various estimators of causal effects based on inverse probability weighting, doubly robust estimation, and double machine learning. Specifically, the package includes methods for estimating average treatment effects, direct and indirect effects in causal mediation analysis, and dynamic treatment effects based on different identification strategies (unconfoundedness, instruments, difference-in-differences, regression discontinuity designs).
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 40 (1 internal)
- Examples that run
- 3%1 run in a plain check · 32 never run
- Exported functions with examples
- 100%
- Documented parameters
- 98%
- Return-value docs
- 100%
- Help pages citing references
- 95%
Downloads
Dependencies
Installing causalweight adds 55 packages (33 with compiled code, 57 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- 1.1.6Latest2026-09-25 · current release · diff ↗ ·
added 6 exports
catehetDML, detectIV, didmedDML, didmedDMLpanel, medqteDML, treatcontDML - unarchivedReturned to CRAN2026-06-08
- 1.1.52026-06-08 · diff ↗
- archivedRemoved from CRAN2026-05-18requires archived package 'LARF'
- RR 4.6.0 released · 2026-04-24
- 1.1.42025-12-01 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 1.1.32025-03-26 · diff ↗ ·
added 6 exports
ATETDML, didDML, didcontDML, didcontDMLpanel, paneltestDML, testmedident - 1.1.22025-03-22 · diff ↗ ·
removed 5 exports
didDML, didcontDML, didcontDMLpanel, paneltestDML, testmedident - 1.1.12024-07-23 · diff ↗ ·
added 5 exports
didDML, didcontDML, didcontDMLpanel, paneltestDML, testmedident - RR 4.4.0 released · 2024-04-24
- 1.1.02024-01-24 · diff ↗
- 1.0.4
- RR 4.3.0 released · 2023-04-21
- unarchivedReturned to CRAN2022-08-12
- archivedRemoved from CRAN2022-08-12issues were not corrected in time
Show 15 earlier eventsHide 15 earlier events
Package metadata
- First published
- 2018-02-23
- Total releases
- 17 / 8 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 1.3 MB / 13 files
- Download size
- 1.8 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("causalweight")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.