Skip to content

triplediff

0.2.4Package record

Triple-Difference Estimators

0packages depend
2.9Kdownloads / year
63.4%test coverage
13/13flavors OK

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.

Changes in 0.2.4
  • Resubmission. Simplified the ddd() examples by removing the bootstrap-based clustered standard errors example, so the package examples stay within CRAN's limit on the number of cores used during checks. No changes to package functionality.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.7 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-21
  • WARNING11 OK, 2 WARNING2026-06-12
  • OK13 OK2026-06-09
Show 6 earlier changesHide 6 earlier changes
  • ERROR12 OK, 1 ERROR2026-06-07
  • OK13 OK2026-05-02
  • ERROR11 OK, 1 ERROR2026-04-25
  • OK14 OK2026-04-22
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.2.4
READMEYes · 872 wordsVignettesNoNEWSYes · 67% structured · mentions 0.2.4Citation fileYes · cites a publicationWebsiteYes
Help pages
12 (8 internal)
Examples that run
100%2 run in a plain check
Exported functions with examples
25%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

2.9K
CRAN downloads in the past year
Rank #10,610 · ~8/day · ~242/mo
Daily download trend is not available in this view yet.
39430 days
98490 days
2.9K1 year
Compare downloads with other packages →
Also on355 r2u3 autocran

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing triplediff adds 11 packages (8 with compiled code, 25 MB of source tarballs). Heaviest: BH 14 MB, data.table 5.7 MB, Rcpp 1.8 MB.

Depends (1)
R >= 4.3
Imports (6)
LinkingTo (1)
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Author, Maintainer since 0.1.0 (2025)
Releases (3)

Pick two releases to compare their code metrics.

  • 0.2.4Latest
    record
    2026-06-13 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.0
    record
    2026-01-16 · diff ↗ ·
    added 1 export
    att_dr_rc
  • 0.1.0
    record
    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
230 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("triplediff")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for triplediff version 0.2.4 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy