triplediff
0.2.4Triple-Difference Estimators
0packages depend
2.5Kdownloads / year
63.4%test coverage
13/13checks pass
Overview
About
Implements triple-difference (DDD) estimators for both average treatment effects and event-study parameters. Methods include regression adjustment, inverse-probability weighting, and doubly-robust estimators, all of which rely on a conditional DDD parallel-trends assumption and allow covariate adjustment across multiple pre- and post-treatment periods. The methodology is detailed in Ortiz-Villavicencio and Sant'Anna (2025) doi:10.48550/arXiv.2505.09942.
Install
Health
CRAN checks
13OK
Slowest check: 4.7 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.40
63.4%
Coverage · measured lines
100%
Documentation · exports
6
Dependencies · direct
Check history
- OK2026-06-2113 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- WARNING2026-06-1211 OK · 0 NOTE · 2 WARNING · 0 ERROR · 0 FAILURE
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0712 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-05-0213 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 4 earlier snapshots
- ERROR2026-04-2511 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-04-2214 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-1813 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
Documentation
READMEYes · 872 wordsVignettesNopkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
- Examples that run
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- References docs
- 0%
Downloads
2.5K
CRAN downloads in the past year
Rank #14,093 · ~7/day · ~205/mo
Daily download trend is not available in this view yet.
23530 days
74490 days
2.5K1 year
Also on378 r2u
Dependencies
Declared dependencies
6 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.3
Imports (6)
BMiscdata.tablefastglmMatrixparallelRcpp
LinkingTo (1)
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Nothing depends on this yet.
Code & Tests
People & History
People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Author
Package Timeline
3 releases. Pick two to compare their code metrics. R releases are shown for context.
- 0.2.4Latest
- RR 4.6.0 released · 2026-04-24
- 0.2.02026-01-16 · diff ↗
- 0.1.02025-07-23
- RR 4.5.0 released · 2025-04-11
0 of 2 selectedCompare selected
Package metadata
- First published
- 2025-07-23
- Total releases
- 3 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.3
- Download size
- 194 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet