Package: stagsynth 0.1.0

Zhanchao Fu
stagsynth: Staggered Synthetic Control Estimation and Inference
Implements the Staggered Synthetic Control (SSC) method for estimating treatment effects in panel data with staggered adoption, as proposed by Cao, Lu, and Wu (2020) <doi:10.48550/arXiv.1912.06320>. Constructs synthetic control weights via constrained quadratic programming, estimates heterogeneous treatment effects and event-time average treatment effects on the treated (ATT), and provides placebo-in-time confidence intervals and p-values.
Authors:
stagsynth_0.1.0.tar.gz
stagsynth_0.1.0.tar.gz(r-4.7-any)stagsynth_0.1.0.tar.gz(r-4.6-any)
stagsynth_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
stagsynth/json (API)
| # Install 'stagsynth' in R: |
| install.packages('stagsynth', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:08c3213cc8. Checks:4 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 130 | ||
| source / vignettes | OK | 191 | ||
| linux-release-x86_64 | OK | 111 | ||
| wasm-release | OK | 118 |
Exports:panel_to_matricessscssc_min_eigenvaluesynthetic_controlsynthetic_control_batch
Dependencies:quadprog
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| stagsynth: Staggered Synthetic Control Estimation and Inference | stagsynth-package stagsynth |
| Convert Long-Format Panel Data to Matrices | panel_to_matrices |
| Plot Event-Time ATT from SSC Estimation | plot.ssc |
| Print an ssc Object | print.ssc |
| Staggered Synthetic Control Estimation | ssc |
| Compute Smallest Eigenvalue of the SSC Design Matrix | ssc_min_eigenvalue |
| Summarise an ssc Object | summary.ssc |
| Synthetic Control Weights for a Single Treated Unit | synthetic_control |
| Synthetic Control Weights for All Units (Batch) | synthetic_control_batch |