Package: SCMs 0.1.1
SCMs: Specification Curve Analysis for Synthetic Control Methods
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>.
Authors:
SCMs_0.1.1.tar.gz
SCMs_0.1.1.zip(r-4.7-any)SCMs_0.1.1.zip(r-4.6-any)
SCMs_0.1.1.tar.gz(r-4.7-any)SCMs_0.1.1.tar.gz(r-4.6-any)
SCMs_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
SCMs/json (API)
| # Install 'SCMs' in R: |
| install.packages('SCMs', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/zjelveh/scms/issues
Last updated from:45446e0307. Checks:6 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 229 | ||
| source / vignettes | OK | 269 | ||
| linux-release | OK | 194 | ||
| windows-devel | OK | 165 | ||
| windows-release | OK | 156 | ||
| wasm-release | OK | 169 |
Exports:create_analysis_configcreate_scm_datasetcreate_xgboost_configestimate_scinference_placeboinference_scplot_spec_curverun_spec_curve_analysisrun_xgboost_shap_analysisscdatascestscplotspec_curveSpecResultsManagersynth
Dependencies:backportscheckmateclarabelclicodetoolscowplotcpp11curlCVXRdata.tabledoParalleldplyrECOSolveRfarverforeachgenericsggplot2glmnetgluegmpgridExtragridtextgtablehighsisobanditeratorsjpegkernlablabelinglatticelifecyclelitedownmagrittrmarkdownMatrixnloptrnumDerivoptimxosqppillarpkgconfigpngpracmapurrrR6RColorBrewerRcppRcppEigenrlangS7scalesscsshapeslamstringistringrsurvivaltibbletidyrtidyselectutf8vctrsviridisLitewithrxfunxml2
Last update: 2026-11-04
Started: 2026-11-04
Last update: 2026-11-04
Started: 2026-11-04
Last update: 2026-11-04
Started: 2026-11-04
