Package: Synth 1.2-0

Synth: Synthetic Control Group Method for Comparative Case Studies

Implements the synthetic control group method for comparative case studies as described in Abadie and Gardeazabal (2003) and Abadie, Diamond, and Hainmueller (2010, 2011, 2014). The synthetic control method allows for effect estimation in settings where a single unit (a state, country, firm, etc.) is exposed to an event or intervention. It provides a data-driven procedure to construct synthetic control units based on a weighted combination of comparison units that approximates the characteristics of the unit that is exposed to the intervention. A combination of comparison units often provides a better comparison for the unit exposed to the intervention than any comparison unit alone.

Authors:Jens Hainmueller [aut, cre], Alexis Diamond [aut]

Synth_1.2-0.tar.gz
Synth_1.2-0.zip(r-4.7)Synth_1.2-0.zip(r-4.6)Synth_1.2-0.zip(r-4.5)
Synth_1.2-0.tgz(r-4.6-any)Synth_1.2-0.tgz(r-4.5-any)
Synth_1.2-0.tar.gz(r-4.7-any)Synth_1.2-0.tar.gz(r-4.6-any)
Synth_1.2-0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
Synth/json (API)

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

Bug tracker:https://github.com/j-hai/synth/issues

Datasets:
  • basque - Panel Data from Spanish Regions to demonstrate the use of the Synthetic Control Method
  • smoking - Annual State-Level Cigarette Sales in the United States, 1970-2000
  • synth.data - Panel Data to demonstrate the use of the Synthetic Control Method

On CRAN:

Conda:

8.31 score 1 packages 626 scripts 3.1k downloads 9 mentions 14 exports 6 dependencies

Last updated from:7ad2c8fcdb. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK475
source / vignettesOK350
linux-release-x86_64OK356
macos-release-arm64OK316
macos-oldrel-arm64OK281
windows-develOK402
windows-releaseOK455
windows-oldrelOK405
wasm-releaseOK104

Exports:collect.optimxdataprepfn.Vgaps.plotgenerate_placebosmspe_plotmspe_testpath.plotplot_placebosspec.pred.funcsynthsynth_datasynth_inferencesynth.tab

Dependencies:kernlabnloptrnumDerivoptimxpracmargenoud

Inference for Synthetic Control Estimators
Overview | Which inference method should I use? | 1. Build the synthetic control | 2. Prediction intervals: synth_inference() | Split-conformal (default) | Parametric (Gaussian residuals) | When to use which | 3. Placebo inference | Generate the placebos | Test | Plot the placebo distribution | Plot the placebo gaps | 4. Combining prediction intervals and placebos | Alternative QP backends | See also | References

Last update: 2026-05-12
Started: 2026-05-05

Quickstart: building a synthetic control with Synth
1. Build the inputs | 2. Fit the synthetic control | 3. Inspect | 4. What next?

Last update: 2026-05-11
Started: 2026-05-05