Package: triplediff 0.2.0

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.0.tar.gz
triplediff_0.2.0.tar.gz(r-4.7-arm64)triplediff_0.2.0.tar.gz(r-4.7-x86_64)triplediff_0.2.0.tar.gz(r-4.6-arm64)triplediff_0.2.0.tar.gz(r-4.6-x86_64)
triplediff_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
triplediff/json (API)
NEWS

# 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.41 score 2 stars 13 scripts 205 downloads 8 exports 82 dependencies

Last updated from:3149a39b04. Checks:6 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK251
linux-devel-x86_64OK201
source / vignettesOK225
linux-release-arm64OK215
linux-release-x86_64OK199
wasm-releaseOK130

Exports:agg_dddatt_dratt_dr_rccompute_aggregationdddgen_dgp_2periodsgen_dgp_mult_periodsprocess_attgt

Dependencies:BHbigmemorybigmemory.sriBMisccaretclasscliclockcodetoolscpp11data.tablediagramdigestdplyre1071farverfastglmforeachFormulafuturefuture.applygenericsggplot2globalsgluegowergtablehardhatipredisobanditeratorsKernSmoothlabelinglatticelavalifecyclelistenvlubridatemagrittrMASSMatrixModelMetricsnlmennetnumDerivparallellypillarpkgconfigplyrpROCprodlimprogressrproxypurrrR6RColorBrewerRcppRcppArmadilloRcppEigenrecipesreshape2rlangrpartS7scalesshapesparsevctrsSQUAREMstringistringrsurvivaltibbletidyrtidyselecttimechangetimeDatetzdbutf8uuidvctrsviridisLitewithr