← Methods The synthetic control recipe →

Synthetic control

104
packages in the design · 104 papers
92
of them have a model that shows the design itself — the models read below. These are also exactly the packages that run a dedicated synthetic control estimator (1,462 estimations)
How the design is counted — the same count on the recipe, outcomes and methods pages
  • The universe is every replication package our extractors have read (code_model_design) that is linked to a live paper by a confirmed link; the field is the linked paper's.
  • A package is in a design when (a) our extractor found the design's identification pattern on a line of code it runs (not a path, a folder macro, an export or an install line), or (b) it runs a model of the design's own estimator family. An ivreg2 / ivreghdfe call with no (endog = z) group counts for neither: it is OLS with robust or HAC errors, not IV.
  • Panel fixed effects is the rest: a fixed-effects estimation and none of the other designs. A package can be in several designs (not panel FE).
  • A model is an estimation OF the design only when the model itself carries the design's signature; the recipe's estimation choices, the outcomes, the instruments and every example are read from those models.
  • This design's signature in a model: a synthetic-control estimator (synth, synth_runner, sdid, allsynth ...).
  • 80 packages declare the design in code; 92 are in it by their estimator (a package can be both).

Adoption over time — the dedicated estimator

2011: 1 of 77 packages (1.3%) 2012: 1 of 63 packages (1.6%) 2013: 1 of 107 packages (0.9%) 2014: 2 of 107 packages (1.9%) 2016: 1 of 105 packages (1.0%) 2017: 3 of 121 packages (2.5%) 2018: 1 of 151 packages (0.7%) 2019: 1 of 253 packages (0.4%) 2020: 1 of 246 packages (0.4%) 2020 2021: 2 of 392 packages (0.5%) 2022: 13 of 775 packages (1.7%) 2023: 12 of 909 packages (1.3%) 2024: 13 of 1,136 packages (1.1%) 2025: 21 of 1,322 packages (1.6%) 2025 2026: 19 of 1,459 packages (1.3%)

Share of each publication year's packages with parsed models that run this estimator at least once (hover for counts). Grey years have fewer than 10 packages and are not a trend; package coverage is thin before ~2010, when journal data policies began.

Validation practice

Of the 104 packages in the design, how many run each standard check (read from the code; the same checks and numbers as the recipe). A check run under a macro or in a file we could not read is missed, so these are lower bounds. Greyed: fewer than 10 packages.

placebo-in-space inference (synth_runner)
6% · 6
synthetic DiD (sdid, synthdid)
34% · 35
multiple-testing correction (FDR, Romano-Wolf, ...)
3% · 3

What it is used to study

The dependent variables of this design's estimations, read from the model roles we read from the code. Of the 104 packages in the design, 92 have a model that shows the design itself, and 65 of those have a readable outcome (1,462 models; for 8 packages some outcome is read only through a loop's expansion). Shares are of those 65 packages, one count per package; greyed rows rest on fewer than 10. An outcome that is a taxonomy measure's variable in the same package is shown as the measure; other names are grouped by what they name. Compare every design →

How this is counted
  • The unit is the package: a package counts once for an outcome, measure or instrument type however many of its models carry it; the model count is shown second.
  • A design's packages are the ONE design membership every page shows (identification fact on a line of code, or the design's own estimator). Its models are the ones that carry the design's signature in the model itself — a DiD estimator or a treatment × post term, event-time dummies or an abnormal-return outcome, an excluded instrument, an RD estimator or a bandwidth around a cutoff, a matching estimator or matched weights. A package with none of those models is counted in the design but has no outcome here.
  • Roles are read from each model's literal row. Only where a literal role still holds a macro (`y', $dep) are the loop-expanded rows written on the same line read for that role; an expanded row whose literal row is resolved adds nothing, and an unresolved role with no expansion is dropped.
  • An outcome is a taxonomy measure when the dependent variable is that measure's variable in the same package; otherwise it is grouped by its name (a word list, field-aware for short names like car, q, ret); otherwise it is shown as the bare variable.
  • Instruments are the EXCLUDED ones: a term also among the model's regressors is an included control. Types are read from the name (and L. / lag for lagged values). Where the name says nothing (`z`, `shock`, `iv1`), the instrument is traced to the statement in the package that builds it, up to three statements back, and typed by that statement's shape — (total − own)/(n − 1) a leave-out mean, L.x or x[_n-1] a lag, predict after a model a predicted value, a by-group sum of share × shock a shift-share, geodist a distance — or by the name of the one variable it copies or transforms. Products, thresholds and aggregates of other variables are not read, and an instrument nothing reliable types stays untyped. Each such example shows the statement, linked to its line.

Finance — 3 of 6 packages have a readable outcome (thin)

  • stock returns / abnormal returns
    33% · 1
    written as ra_return_i, return, return_i
    1 example in the code

Economics — 62 of 95 packages have a readable outcome

Outcomes that are taxonomy measures (all fields: the package computes the measure and estimates it as the outcome)

Commands (of the 92 packages running the dedicated estimator)

  • synth60
  • sdid22
  • synthdid_estimate14
  • synth_runner6
  • allsynth3

Inference (of the 92 packages running the dedicated estimator)

  • default82
  • bootstrap12
  • jackknife5

Clustering variables (of the 92 packages running the dedicated estimator)

  • none recorded

Absorbed fixed effects (of the 92 packages running the dedicated estimator)

  • none recorded

Foundational works

What the papers whose code runs this estimator cite most (share of those papers citing each).

Recent examples, straight from the code

One model per package, from the most recent papers — each one shows the design itself (why is given beside it).

Debiasing and T-Tests for Synthetic Control Inference on Average Causal Effects Journal of Political Economy 2026 · code_auxiliary_scripts_app_sweden.R:104 · pkg 7855 synthetic-control estimator
tau.sdid  <- synthdid_estimate(t(cbind(Y0,c(Y1))),J,T0)
Why Is Workplace Sexual Harassment Underreported? The Value of Outside Options amid the Threat of Retaliation American Economic Review 2026 · 7 main merit analysis.do:2868 · pkg 11708 synthetic-control estimator
sdid merit state_code yr treat if total_count>=15, ///
    vce(placebo) seed(120) reps(150) ///
    graph ///
    g1on ///
    g1_opt(xtitle("Year") ///
           ytitle("Merit") ///
           xlabel(5(1)12, valuelabel) ///
           ylabel(-0.075(0.075)0.075) /// …
On the Benefits of Repaying Journal of the European Economic Association 2026 · 3_SCM.do:27 · pkg 12490 synthetic-control estimator
synth lyr lyr(1970) lyr(1971) lyr(1972)  lyr(1973) lyr(1974) lyr(1975) lyr(1976) lyr(1977) lyr(1978) lyr(1979) lyr(1980), trunit(4) trperiod(1981) resultsperiod(1970(1)1985)
Demand Shocks, Procurement Policies, and the Nature of Medical Innovation: Evidence from Wartime Prosthetic Device Patents Review of Economics and Statistics 2026 · Restat_Replication_DoFiles_CW_Synth_Perturbations.do:71 · pkg 13631 synthetic-control estimator
synth fouryear`trait' fouryear`trait'(1861) fouryear`trait'(1860) fouryear`trait'(1859) fouryear`trait'(1858) fouryear`trait'(1857) fouryear`trait'(1856) fouryear`trait'(1855), trunit(623) trperiod(1862) keep("Data/perturbation_results_CW/SyntheticControlCWperturb`trait'`acc'_`loopnum'.dta") replace
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):
synth fouryear`trait'perturbedperturbedperturbedperturbedperturbedperturbed fouryear`trait'perturbedperturbedperturbedperturbedperturbedperturbed(1861) fouryear`trait'perturbedperturbedperturbedperturbedperturbedperturbed(1860) fouryear`trait'perturbedperturbedperturbedperturbedperturbedperturbed(1859) fouryear`trait'perturbedperturbedperturbedperturbedperturbedperturbed(1858) fouryear`trait'pertu
The HIPC initiative and China’s emergence as a lender: post hoc or propter hoc? Journal of Development Economics 2026 · SDID exercise.do:50 · pkg 14462 synthetic-control estimator
sdid china id y W if y<2025, vce(bootstrap) reps(50) seed(1213)
The forsaken road: Reassessing living standards following the Cuban Revolution and the American embargo Journal of Development Economics 2026 · FigureB12.do:95 · pkg 14481 synthetic-control estimator
sdid gdppc23 id year treatment, covariates( $predictors $pre_treatment) vce(placebo) reps(100) ///
        method(sdid) graph g2_opt(ytitle("Raw GDP per capita") ///
        legend(position(6) ring(1) region(lcolor(white))) ///
        xline(1958, lpattern(dash) lcolor(black)) ///
        graphregion(color(white) lcolor(white)) ///
        plotregion(color(white) lcolor(white)))
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):
sdid gdppc23 id year treatment, covariates( urban_av_covariate schooling_av_covariate gdppc23_35av_covariate gdppc23_40av_covariate gdppc23_47av_covariate gdppc23_50av_covariate gdppc23_53av_covariate gdppc23_56av_covariate gdppc23_57av_covariate) vce(placebo) reps(100) method(sdid) graph g2_opt(ytitle("Raw GDP per capita") legend(position(6) ring(1) region(lcolor(white))) xline(1958, lpattern(das
The Big Short (Interest): Closing the Loopholes in the Dividend-Withholding Tax American Economic Journal: Economic Policy 2026 · 5_Figure10_Table5.R:73 · pkg 17497 synthetic-control estimator
estimate<-synthdid_estimate(setup$Y, setup$N0, setup$T0)
Supply Chain Disruption and Reorganization: Theory and Evidence From Ukraine’s War Review of Economic Studies 2026 · reduced_form_analysis.do:577 · pkg 19073 synthetic-control estimator
eststo sdid`m': sdid `var' $fixedeffects PostXConflict23 $cond, vce(jackknife) seed(1989)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):
eststo sdid1: sdid `var' OKPO_n year PostXConflict23 if conflict_gis_ind==0, vce(jackknife) seed(1989)
Fiscal Rules, Austerity in Public Administration, and Political Accountability: Evidence from a Natural Experiment in Colombia Journal of the European Economic Association 2026 · 22-analysis.do:5939 · pkg 19112 synthetic-control estimator
sdid `xvar' codmun year DD_Post_Affected , method(sdid) vce(noinference) graph covariates($covs_vars)
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):
sdid `xvar' codmun year DD_Post_Affected , method(sdid) vce(noinference) graph covariates(d_establecimiento_educ_cov d_agricultural_bank_96_cov d_pard_cov altura_cov disbogota_cov)
The Political Implications of Reference-Dependent Preferences, Journal of the European Economic Association 2026 · 3.tables.do:112 · pkg 19325 synthetic-control estimator
eststo z_all: sdid std_gdp id t treated, vce(bootstrap) seed(${seed}) reps(${reps}) graph g1on ///
    g2_opt(ylabel(0(0.01)0.06) ytitle("") scheme(sj)) ///
    g1_opt(xtitle("") scheme(sj))
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):
eststo z_all: sdid std_gdp id t treated, vce(bootstrap) seed(1213) reps(500) graph g1on g2_opt(ylabel(0(0.01)0.06) ytitle("") scheme(sj)) g1_opt(xtitle("") scheme(sj))
When Does Mandatory Price Disclosure Lower Prices? Evidence from the German Fuel Market Journal of Political Economy Microeconomics 2026 · 02_code_15_Fig8and10_Tab2andC1toC5.do:178 · pkg 76768 synthetic-control estimator
sdid log_p_5pm id week treated , vce(bootstrap)
The Securitization Flash Flood Review of Corporate Finance Studies 2026 · replicate_figures_SFF.do:91 · pkg 81027 synthetic-control estimator
sdid pvt_mbs holding_id year synthetic_treatment, vce(bootstrap) reps(100) seed(1192) graph g2_opt(ytitle("Holdings of private label MBS") title("Comparison of Big4 banks (Treated) with synthetic Big4 (Control)") subtitle("Synthetic DiD estimation based on Arkhangelsky et al. (AER, 2021)") text(18 2006 "ATT = 0.85**" " SE = 0.399") legend(label(1 "Big4") label(2 "Synthetic Big4") pos(6))) graph_export(sdid_big4, .png)