Package: triplediff 0.2.4

Marcelo Ortiz-Villavicencio

triplediff: Triple-Difference Estimators

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>.

Authors:Marcelo Ortiz-Villavicencio [aut, cre], Pedro H. C. Sant'Anna [aut]

triplediff_0.2.4.tar.gz
triplediff_0.2.4.tar.gz(r-4.7-arm64)triplediff_0.2.4.tar.gz(r-4.7-x86_64)triplediff_0.2.4.tar.gz(r-4.6-arm64)triplediff_0.2.4.tar.gz(r-4.6-x86_64)
triplediff_0.2.4.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
triplediff/json (API)

# Install 'triplediff' in R:
install.packages('triplediff', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Pkgdown/docs site:https://marcelortiz.com

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

cpp

2.65 score 2 stars 15 scripts 358 downloads 8 exports 33 dependencies

Last updated from:6a40bba777. Checks:6 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK176
linux-devel-x86_64OK177
source / vignettesOK216
linux-release-arm64OK189
linux-release-x86_64OK182
wasm-releaseOK145

Exports:agg_dddatt_dratt_dr_rccompute_aggregationdddgen_dgp_2periodsgen_dgp_mult_periodsprocess_attgt

Dependencies:BHbigmemorybigmemory.sriBMiscclicpp11data.tabledplyrfastglmFormulagenericsgluelatticelifecyclemagrittrMatrixpillarpkgconfigpurrrR6RcppRcppArmadilloRcppEigenrlangstringistringrtibbletidyrtidyselectutf8uuidvctrswithr