Estimates synthetic control models while exposing the implementation choices that define the synthetic counterfactual: how matching variables are constructed, how predictor weights are set, which constraints the donor weights satisfy (simplex, lasso, ridge, penalized), whether an intercept is included, and which outcome model corrects for bias (OLS, ridge, lasso, augmented synthetic control). Runs specification-curve analysis over a grid of these choices (Simonsohn, Simmons and Nelson (2020) <doi:10.1038/s41562-020-0912-z>), with placebo-in-space and bootstrap inference for single specifications and placebo inference for the curve as a whole, and uses 'xgboost' models with SHAP values (Lundberg and Lee (2017) <doi:10.48550/arXiv.1705.07874>) to show which choices drive the estimates. Methods follow Abadie, Diamond and Hainmueller (2010) <doi:10.1198/jasa.2009.ap08746>, Abadie (2021) <doi:10.1257/jel.20191450>, Ben-Michael, Feller and Rothstein (2021) <doi:10.1080/01621459.2021.1929245> and Chen and Guestrin (2016) <doi:10.1145/2939672.2939785>.
| Version: | 0.1.1 |
| Depends: | R (≥ 4.1.0) |
| Imports: | CVXR (≥ 1.9.0), ECOSolveR, dplyr (≥ 1.0.7), foreach (≥ 1.5.1), ggplot2 (≥ 3.3.3), gtable, kernlab, cowplot, optimx, data.table, methods, parallel, purrr (≥ 0.3.4), R6, stats, stringr (≥ 1.4.0), tibble (≥ 3.1.2), tidyr (≥ 1.1.3), utils, doParallel, glmnet, gridtext, gridExtra, generics |
| Suggests: | testthat (≥ 3.0.0), clarabel, broom, xgboost, knitr, rmarkdown |
| Published: | 2026-11-04 |
| DOI: | 10.32614/CRAN.package.SCMs (may not be active yet) |
| Author: | Zubin Jelveh [aut, cre] |
| Maintainer: | Zubin Jelveh <zjelveh at umd.edu> |
| BugReports: | https://github.com/zjelveh/SCMs/issues |
| License: | GPL-3 |
| URL: | https://github.com/zjelveh/SCMs |
| NeedsCompilation: | no |
| Materials: | README, NEWS |
| CRAN checks: | SCMs results |
| Reference manual: | SCMs.html , SCMs.pdf |
| Vignettes: |
Advanced Features (source, R code) Complete Workflow (source, R code) Introduction to SCMs (source, R code) |
| Package source: | SCMs_0.1.1.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available |
Please use the canonical form https://CRAN.R-project.org/package=SCMs to link to this page.