Skip to content

triplediff

0.2.4

Triple-Difference Estimators

0packages depend
2.5Kdownloads / year
63.4%test coverage
13/13checks pass

Overview

About
Maintained by Marcelo Ortiz-VillavicencioFirst published 2025-07-233 releasesCRAN page ↗

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-21
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-06-12
    11 OK · 0 NOTE · 2 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-07
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-02
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 4 earlier snapshots
  • ERROR2026-04-25
    11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-22
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 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,107 · ~7/day · ~205/mo
Daily download trend is not available in this view yet.
23230 days
74790 days
2.5K1 year
Compare downloads with other packages →
Also on378 r2u6 autocran

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.3
Imports (6)
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)
Package Timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 0.2.4Latest
    2026-06-14 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.0
    2026-01-16 · diff ↗
  • 0.1.0
    2025-07-23
  • R
    R 4.5.0 released · 2025-04-11

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
Report a problem with this page →