Package: sdid 0.1.0

sdid: Updated Synthetic Difference-in-Differences Estimation and Inference

Synthetic difference-in-differences, synthetic control and difference-in-differences estimates of the average treatment effect on the treated in panel data, following Arkhangelsky, Athey, Hirshberg, Imbens and Wager (2021) <doi:10.1257/aer.20190159> and the Stata implementation of Clarke, Pailanir, Athey and Imbens (2024) <doi:10.1177/1536867X241297914>. Supports simultaneous and staggered treatment adoption, bootstrap, jackknife and placebo inference, covariate adjustment, and parallel replications in compiled code. Derived from the synthdid package by the authors of the 2021 paper.

Authors:Jose J. Alcocer [aut, cre, cph], Harry G. Muttram [aut], Dmitry Arkhangelsky [ctb], Susan Athey [ctb], David A. Hirshberg [ctb], Guido W. Imbens [ctb], Stefan Wager [ctb], Stanford University [cph]

sdid_0.1.0.tar.gz
sdid_0.1.0.zip(r-4.7-x86_64)sdid_0.1.0.zip(r-4.7-arm64)sdid_0.1.0.zip(r-4.6-x86_64)sdid_0.1.0.zip(r-4.6-arm64)sdid_0.1.0.zip(r-4.5-x86_64)
sdid_0.1.0.tgz(r-4.6-x86_64)sdid_0.1.0.tgz(r-4.6-arm64)sdid_0.1.0.tgz(r-4.5-x86_64)sdid_0.1.0.tgz(r-4.5-arm64)
sdid_0.1.0.tar.gz(r-4.7-arm64)sdid_0.1.0.tar.gz(r-4.7-x86_64)sdid_0.1.0.tar.gz(r-4.6-arm64)sdid_0.1.0.tar.gz(r-4.6-x86_64)
sdid_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
sdid/json (API)

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

Bug tracker:https://github.com/alcocer-jj/sdid/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

openblascpp

4.08 score 5 scripts 5 exports 19 dependencies

Last updated from:bd71467bd9. Checks:15 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK194
linux-devel-x86_64OK234
source / vignettesOK319
linux-release-arm64OK195
linux-release-x86_64OK220
macos-release-arm64OK173
macos-release-x86_64OK543
macos-oldrel-arm64OK236
macos-oldrel-x86_64OK443
windows-devel-arm64OK309
windows-devel-x86_64OK278
windows-release-arm64OK313
windows-release-x86_64OK252
windows-oldrel-x86_64OK236
wasm-releaseOK115

Exports:sdidsdid_placebosdid_placebo_plotsdid_plotsdid_units_plot

Dependencies:clicpp11farverggplot2gluegtableisobandlabelinglifecycleR6RColorBrewerRcppRcppArmadillorlangS7scalesvctrsviridisLitewithr

Getting started with sdid
Estimating an effect | Reading the result | Inference | Other estimators | Covariates | Staggered adoption | Tables | References

Last update: 2026-10-18
Started: 2026-10-16

Plotting results
Trends | Individual units | Comparing estimators | Ticks | Unit weights | Placebo tests

Last update: 2026-10-18
Started: 2026-10-16