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:
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
- california_prop99 - California proposition 99
- CPS - CPS
- PENN - PENN
Last updated from:bd71467bd9. Checks:15 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 194 | ||
| linux-devel-x86_64 | OK | 234 | ||
| source / vignettes | OK | 319 | ||
| linux-release-arm64 | OK | 195 | ||
| linux-release-x86_64 | OK | 220 | ||
| macos-release-arm64 | OK | 173 | ||
| macos-release-x86_64 | OK | 543 | ||
| macos-oldrel-arm64 | OK | 236 | ||
| macos-oldrel-x86_64 | OK | 443 | ||
| windows-devel-arm64 | OK | 309 | ||
| windows-devel-x86_64 | OK | 278 | ||
| windows-release-arm64 | OK | 313 | ||
| windows-release-x86_64 | OK | 252 | ||
| windows-oldrel-x86_64 | OK | 236 | ||
| wasm-release | OK | 115 |
Exports:sdidsdid_placebosdid_placebo_plotsdid_plotsdid_units_plot
Dependencies:clicpp11farverggplot2gluegtableisobandlabelinglifecycleR6RColorBrewerRcppRcppArmadillorlangS7scalesvctrsviridisLitewithr
Last update: 2026-10-18
Started: 2026-10-16
Last update: 2026-10-18
Started: 2026-10-16
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| California proposition 99 | california_prop99 |
| CPS | CPS |
| PENN | PENN |
| Synthetic difference-in-differences estimation and inference | sdid |
| Computes a placebo variant of our estimator using pre-treatment data only | sdid_placebo |
| Plot an estimate with its in-time placebo | sdid_placebo_plot |
| Plot treated and synthetic control trajectories | sdid_plot |
| Plots each control unit's weight and its own estimate | sdid_units_plot |
| Methods for sdid results | coef.sdid confint.sdid nobs.sdid plot.sdid print.sdid sdid-methods summary.sdid vcov.sdid |
| Tidy and glance methods for sdid results | glance.sdid sdid-tidiers tidy.sdid |
| Unit and time weights of an sdid result | weights.sdid |
