Synthetic control
This design across fields
| Field | packages | main clustering (of those that cluster) | winsorize / trim | checks |
|---|---|---|---|---|
| All fields | 104 | (n=0) | 24% | placebo-in-space inference 6%; synthetic DiD 34% |
| Finance | 6 thin | (n=0) | 33% | placebo-in-space inference 0%; synthetic DiD 50% |
| Accounting | 1 thin | (n=0) | 100% | placebo-in-space inference 0%; synthetic DiD 0% |
| Economics | 95 | (n=0) | 23% | placebo-in-space inference 6%; synthetic DiD 33% |
| Other fields | 2 thin | (n=0) | 0% | placebo-in-space inference 0%; synthetic DiD 50% |
The typical package, and three that differ
Typical = the package that makes the most of this cell's modal choices
(synth,
no winsorizing, drops missing rows) —
it matches 4 of 4. Each contrast takes the second most common choice on one dimension.
- commands
synth,sdid- clusters by
- does not cluster
- fixed effects
- none absorbed
- outliers
- no winsorizing / trimming found
- missing values
- drop rows with missing values; replace missing with zero (imputation)
- sample years
- 1970–1980 (as on the package page)
- checks
- synthetic DiD
- commands
sdid,allsynth- clusters by
- does not cluster
- fixed effects
- none absorbed
- outliers
- no winsorizing / trimming found
- missing values
- drop rows with missing values
- sample years
- 1920–1979 (as on the package page)
- checks
- synthetic DiD
- commands
sdid,synth- clusters by
- does not cluster
- fixed effects
- none absorbed
- outliers
- winsorize 1/99
- missing values
- interpolate missing values; drop rows with missing values; replace missing with another value (imputation); replace missing with zero (imputation)
- sample years
- 1990–2021 (as on the package page)
- checks
- synthetic DiD
Sample screens
-
exclude financials1% · 1
1 example in the code
- The Financially Material Effects of Mandatory Nonfinancial Disclosure
Journal of Accounting Research 2024 · pkg 12693
drop if sic4>5999 & sic4<7000 //drop financials
- The Financially Material Effects of Mandatory Nonfinancial Disclosure
Journal of Accounting Research 2024 · pkg 12693
-
exclude utilities1% · 1
1 example in the code
- The Financially Material Effects of Mandatory Nonfinancial Disclosure
Journal of Accounting Research 2024 · pkg 12693
drop if sic4>4899 & sic4<5000 //drop utilities
- The Financially Material Effects of Mandatory Nonfinancial Disclosure
Journal of Accounting Research 2024 · pkg 12693
Share of 104 packages in the cell. Greyed: fewer than 10 packages.
Industry screens are read into whole SIC/NAICS sectors (Samples page); CRSP screens are share codes 10/11, exchange codes 1–3 and a price cut of $10 or less in a package that reads CRSP / Compustat / TAQ.
Outliers
25 of 104 packages (24%) winsorize or trim something: 22 winsorize, 7 trim, 4 by group (e.g. by year).
-
winsorize 1/9960% · 15
4 examples in the code
- The Economic Effects of Mafia: Firm Level Evidence
American Economic Review 2022 · pkg 11702
winsor2 wage, replace cuts(1 99)
- Why Is Workplace Sexual Harassment Underreported? The Value of Outside Options amid the Th
American Economic Review 2026 · pkg 11708
winsor unemp_rate_w, gen(unemp_rate_w_wins) p(0.01)
- The Financially Material Effects of Mandatory Nonfinancial Disclosure
Journal of Accounting Research 2024 · pkg 12693
winsor `var', generate(`var'_w) p(.01)
- The HIPC initiative and China’s emergence as a lender: post hoc or propter hoc?
Journal of Development Economics 2026 · pkg 14462
winsor2 ds_rev, cuts(1 99) replace
- The Economic Effects of Mafia: Firm Level Evidence
American Economic Review 2022 · pkg 11702
-
trim 1/9920% · 5
4 examples in the code
- Labor Market Effects of Credit Constraints: Evidence from a Natural Experiment
American Economic Journal: Economic Policy 2024 · pkg 16300
keep if lfpr>=r(p1) & lfpr<=r(p99)
- Fiscal Rules, Austerity in Public Administration, and Political Accountability: Evidence f
Journal of the European Economic Association 2026 · pkg 19112
winsor2 psm_r if d_cs_1==1, cuts(1 99) trim
- Broken Relationships: Derisking by Correspondent Banks and International Trade
Review of Financial Studies 2026 · pkg 81073
winsor2 grossloans - netloans, cuts(1 99) replace trim
- Gender-Specific Transportation Costs and Female Time Use: Evidence from India’s Pink Slip
The Economic Journal 2026 · pkg 81336
winsor2 `i' if treat==1, cuts(1 99) replace trim
- Labor Market Effects of Credit Constraints: Evidence from a Natural Experiment
American Economic Journal: Economic Policy 2024 · pkg 16300
-
winsorize none/9920% · 5
4 examples in the code
- The Economic Effects of Mafia: Firm Level Evidence
American Economic Review 2022 · pkg 11702
replace L =r(p99) if L>r(p99) & L!=.
- Tax policy and business entry
Journal of Public Economics 2025 · pkg 81038
winsor2 `var', cuts(0 99) replace
- Nominal Devaluations, Inflation, and Inequality
American Economic Journal: Macroeconomics 2025 · pkg 123404
winsor2 nominal_wage,c(0 99) replace
- Religion, Education, and the State
Review of Economic Studies 2026 · pkg 127750
replace `v'=`r(p99)' if `v'>`r(p99)' & `v'!=.
- The Economic Effects of Mafia: Firm Level Evidence
American Economic Review 2022 · pkg 11702
-
winsorize 5/9512% · 3
3 examples in the code
- Burn now or never? Climate policy exposure and investment of fossil fuel firms
Journal of International Economics 2026 · pkg 96970
winsor2 capx ppent, cuts($winsor_level) replace
- Mortgage innovation and house price booms
Journal of Urban Economics 2025 · pkg 102553
Replication data for Mortgage Innovation and House Price Booms/DST do-files/1_Data_population.do:371
winsor futureincgrowth1, gen(Wfutureincgrowth1) p(0.05)
- Equilibrium in the Market for Public School Teachers: District Wage Strategies and Teacher
Journal of Political Economy 2026 · pkg 250822
replace comb = r(p95) if comb > r(p95) & comb != .
- Burn now or never? Climate policy exposure and investment of fossil fuel firms
Journal of International Economics 2026 · pkg 96970
-
winsorize 1/99 by group8% · 2
2 examples in the code
- Fiscal Rules, Austerity in Public Administration, and Political Accountability: Evidence f
Journal of the European Economic Association 2026 · pkg 19112
winsor2 polio dpt bcg hep_b hib, by(year) replace
- Net Income Aggregation, Investor Inattention, and Portfolio Holding Decisions: Evidence fr
Review of Corporate Finance Studies 2025 · pkg 159165
winsor2 ni_pershr, replace cut(1, 99) by(yrqrt)
- Fiscal Rules, Austerity in Public Administration, and Political Accountability: Evidence f
Journal of the European Economic Association 2026 · pkg 19112
-
winsorize 1/none8% · 2
2 examples in the code
- Mortgage innovation and house price booms
Journal of Urban Economics 2025 · pkg 102553
replace leverage_salesprice = r(p1) if leverage_salesprice < r(p1) & leverage_salesprice!= .
- Equilibrium in the Market for Public School Teachers: District Wage Strategies and Teacher
Journal of Political Economy 2026 · pkg 250822
replace wage = `low' if wage < `low' & wage != .
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):replace wage = r(p1) - (0.3*r(sd)) if wage < r(p1) - (0.3*r(sd)) & wage != .
- Mortgage innovation and house price booms
Journal of Urban Economics 2025 · pkg 102553
-
trim 5/954% · 1
1 example in the code
- Populist Leaders and the Economy
American Economic Review 2023 · pkg 154955
winsor2 pbalance, replace cuts(5 95) trim
- Populist Leaders and the Economy
American Economic Review 2023 · pkg 154955
-
trim none/804% · 1
1 example in the code
- FDI inflows in Europe: Does investment promotion work?
Journal of International Economics 2021 · pkg 96416
winsor2 diff_1prior if leadlags==-1, replace cuts(0 80) trim
- FDI inflows in Europe: Does investment promotion work?
Journal of International Economics 2021 · pkg 96416
Share of the 25 packages that winsorize or trim (a package can use several cuts). Greyed: fewer than 10 packages.
Missing values
-
drop rows with missing values79% · 82
4 examples in the code
- Origins of the Opioid Crisis and its Enduring Impacts
Quarterly Journal of Economics 2022 · pkg 7401
drop if totpop==.
- On the Effects of the Availability of Means of Payments: The Case of Uber
Quarterly Journal of Economics 2022 · pkg 7434
drop if epaid_fares_usd==. & cash_fares_usd==.
- The Mainstreaming of Marx: Measuring the Effect of the Russian Revolution on Karl Marx’s I
Journal of Political Economy 2023 · pkg 7825
drop if missing(Year)
- The Labor Market Impacts of Universal and Permanent Cash Transfers: Evidence from the Alas
American Economic Journal: Economic Policy 2022 · pkg 11159
keep if age >= 55 & age != .
- Origins of the Opioid Crisis and its Enduring Impacts
Quarterly Journal of Economics 2022 · pkg 7401
-
replace missing with zero (imputation)65% · 68
4 examples in the code
- On the Effects of the Availability of Means of Payments: The Case of Uber
Quarterly Journal of Economics 2022 · pkg 7434
replace mean_trips=0 if mean_trips==.
- The Mainstreaming of Marx: Measuring the Effect of the Russian Revolution on Karl Marx’s I
Journal of Political Economy 2023 · pkg 7825
replace cite_news = 0 if missing(cite_news)
- How Do National Firms Respond to Local Cost Shocks?
American Economic Review 2022 · pkg 11223
replace exposure = 0 if missing(exposure)
- The Economic Effects of Mafia: Firm Level Evidence
American Economic Review 2022 · pkg 11702
replace occ=0 if occ==.
- On the Effects of the Availability of Means of Payments: The Case of Uber
Quarterly Journal of Economics 2022 · pkg 7434
-
replace missing with another value (imputation)56% · 58
4 examples in the code
- Origins of the Opioid Crisis and its Enduring Impacts
Quarterly Journal of Economics 2022 · pkg 7401
replace year=`num' if year==.
- On the Effects of the Availability of Means of Payments: The Case of Uber
Quarterly Journal of Economics 2022 · pkg 7434
replace share_cash=l.share_cash if share_cash==.
- The Mainstreaming of Marx: Measuring the Effect of the Russian Revolution on Karl Marx’s I
Journal of Political Economy 2023 · pkg 7825
replace author_set = 2 if missing(author_set)
- How Do National Firms Respond to Local Cost Shocks?
American Economic Review 2022 · pkg 11223
replace module = `m' if missing(module)
- Origins of the Opioid Crisis and its Enduring Impacts
Quarterly Journal of Economics 2022 · pkg 7401
-
interpolate missing values34% · 35
4 examples in the code
- On the Effects of the Availability of Means of Payments: The Case of Uber
Quarterly Journal of Economics 2022 · pkg 7434
tsfill, full
- How Do National Firms Respond to Local Cost Shocks?
American Economic Review 2022 · pkg 11223
store_list[c] = store_list.groupby('store_code_uc')[c].fillna(method='ffill') - The Economic Effects of Mafia: Firm Level Evidence
American Economic Review 2022 · pkg 11702
bys id: ipolate `var' anno, generate(`var'_) epolate
- Catastrophic Natural Disasters And Economic Growth
Review of Economics and Statistics 2013 · pkg 12860
by wbcode: ipolate educ year, gen(ieduc) epolate
- On the Effects of the Availability of Means of Payments: The Case of Uber
Quarterly Journal of Economics 2022 · pkg 7434
Share of 104 packages in the cell (a package can do several). Greyed: fewer than 10 packages.
Fills count only imputation of a measured variable (R&D set to 0 after a merge), not a dummy being completed.
Standard errors
- default iid only83% · 76
- other (HAC, bootstrap) only17% · 16
Of the 92 packages with a model that shows the design.
Main clustering level
- none recorded
Share of the 0 packages that cluster: each package counted once, at the level most of its estimations use. Greyed: fewer than 10 packages.
Levels are read from variable names (gvkey, permno → firm; fips, county → county). "Author-named unit" is a name that does not reveal its level (fac_id, route, provider); "unspecified id" is id, i, group — never guessed.
Fixed effects
0 of 92 packages absorb fixed effects in at least one estimation (absorb(), i. dummies, xtreg, fe).
Main fixed-effect set
- none recorded
Share of the 0 packages that absorb fixed effects, each at the set most of its estimations use. Greyed: fewer than 10 packages.
Any estimation absorbs…
- none recorded
Share of 92 packages with a model that shows the design. Greyed: fewer than 10 packages.
Estimator commands
-
synth65% · 60
3 examples in the code
- Origins of the Opioid Crisis and its Enduring Impacts
Quarterly Journal of Economics 2022 · pkg 7401
synth overdose_rate `res', trunit(`nnn') trperiod(`first') counit(`donors')
As we read it — macros filled in / loop expanded (an interpretation, not the file's text):synth overdose_rate `" overdose_rate(`jjj')"', trunit(`nnn') trperiod(r(min)) counit(`donors')
- On the Effects of the Availability of Means of Payments: The Case of Uber
Quarterly Journal of Economics 2022 · pkg 7434
synth num_trips num_trips_cash sum_fare /// num_trips(21063) num_trips(21046) /// , trunit(31) trperiod(21161) xperiod(21032(1)21274) nested fig keep(sc_Pueb …
- The Mainstreaming of Marx: Measuring the Effect of the Russian Revolution on Karl Marx’s I
Journal of Political Economy 2023 · pkg 7825
synth cite_English /// YearofPublication wrote_English wrote_German wrote_French wrote_Greek wrote_Latin wrote_Italian wrote_Spanish YearofTranslationtoEngl …As we read it — macros filled in / loop expanded (an interpretation, not the file's text):synth cite_English YearofPublication wrote_English wrote_German wrote_French wrote_Greek wrote_Latin wrote_Italian wrote_Spanish YearofTranslationtoEnglish Soci …
- Origins of the Opioid Crisis and its Enduring Impacts
Quarterly Journal of Economics 2022 · pkg 7401
-
sdid24% · 22
3 examples in the code
- Why Is Workplace Sexual Harassment Underreported? The Value of Outside Options amid the Th
American Economic Review 2026 · pkg 11708
sdid merit state_code yr treat if total_count>=15, /// vce(placebo) seed(120) reps(150) /// graph /// g1on /// g1_opt(xtitle("Year") /// … - On the Benefits of Repaying
Journal of the European Economic Association 2026 · pkg 12490
sdid lyr country year treated, vce(placebo) seed(1213) graph
- Minimum Wages and Poverty: New Evidence from Dynamic Difference-in-Differences Estimates
Review of Economics and Statistics 2025 · pkg 13696
qui sdid under_100 state_fips year treated, vce(noinference)
- Why Is Workplace Sexual Harassment Underreported? The Value of Outside Options amid the Th
American Economic Review 2026 · pkg 11708
-
synthdid_estimate15% · 14
3 examples in the code
- Debiasing and T-Tests for Synthetic Control Inference on Average Causal Effects
Journal of Political Economy 2026 · pkg 7855
tau.sdid <- synthdid_estimate(t(cbind(Y0,c(Y1))),J,T0)
- The Inner Workings of a Hub-and-Spoke Cartel in the Automotive Fuel Industry
American Economic Journal: Microeconomics 2025 · pkg 11584
sdid = synthdid_estimate(setup$Y, setup$N0, setup$T0)
- Disrupting Drug Markets: The Effects of Crackdowns on Rogue Opioid Suppliers
American Economic Journal: Economic Policy 2025 · pkg 11658
tau.hat = synthdid_estimate(setup$Y, setup$N0, setup$T0)
- Debiasing and T-Tests for Synthetic Control Inference on Average Causal Effects
Journal of Political Economy 2026 · pkg 7855
-
synth_runner7% · 6
3 examples in the code
- The Mainstreaming of Marx: Measuring the Effect of the Russian Revolution on Karl Marx’s I
Journal of Political Economy 2023 · pkg 7825
synth_runner cite_English /// YearofPublication wrote_English wrote_German wrote_French wrote_Greek wrote_Latin wrote_Italian wrote_Spanish YearofTranslatio …As we read it — macros filled in / loop expanded (an interpretation, not the file's text):synth_runner cite_English YearofPublication wrote_English wrote_German wrote_French wrote_Greek wrote_Latin wrote_Italian wrote_Spanish YearofTranslationtoEngli …
- Labor Market Effects of Credit Constraints: Evidence from a Natural Experiment
American Economic Journal: Economic Policy 2024 · pkg 16300
synth_runner $dep $controls, trunit(48) trperiod($t1) unitnames(stateusps) gen_vars
- Driving innovation? Carbon tax effects in the Swedish transport sector
Journal of Public Economics 2025 · pkg 37400
synth_runner patents_clean patentstock_clean total_nace2_29_1_patents total_patents presample_average1970_1977 patents_clean_mean_pretreat, trunit(21) trperiod( …
- The Mainstreaming of Marx: Measuring the Effect of the Russian Revolution on Karl Marx’s I
Journal of Political Economy 2023 · pkg 7825
-
allsynth3% · 3
3 examples in the code
- The forsaken road: Reassessing living standards following the Cuban Revolution and the Ame
Journal of Development Economics 2026 · pkg 14481
allsynth us_trade /// Outcome us_trade(1958) us_trade(1957) us_trade(1956) /// Lags us_trade(1953) us_trade(1950) us_trade(1947) /// us_trade(1944) …As we read it — macros filled in / loop expanded (an interpretation, not the file's text):allsynth us_trade us_trade(1958) us_trade(1957) us_trade(1956) us_trade(1953) us_trade(1950) us_trade(1947) us_trade(1944) us_trade(1941) us_trade(1938) gdppc23 …
- Minimum Wage Effects and Monopsony Explanations
Journal of Labor Economics 2025 · pkg 39269
allsynth
- Clean Identification? The Effects of the Clean Air Act on Air Pollution, Exposure Disparit
American Economic Journal: Economic Policy 2025 · pkg 155452
allsynth pm25_meng pm25_meng(1990) pm25_meng(1991) pm25_meng(1992) pm25_meng(1993) pm25_meng(1994) pm25_meng(1995) pm25_meng(1996) pm25_meng(1997) pm25_meng(199 …
- The forsaken road: Reassessing living standards following the Cuban Revolution and the Ame
Journal of Development Economics 2026 · pkg 14481
Share of 92 packages with a model that shows the design (a package runs several). Greyed: fewer than 10 packages.
Validation checks
-
placebo-in-space inference (synth_runner)6% · 6
4 examples in the code
- The Mainstreaming of Marx: Measuring the Effect of the Russian Revolution on Karl Marx’s I
Journal of Political Economy 2023 · pkg 7825
synth_runner cite_English /// YearofPublication wrote_English wrote_German wrote_French wrote_Greek wrote_Latin wrote_Italian wrote_Spanish YearofTranslatio …As we read it — macros filled in / loop expanded (an interpretation, not the file's text):synth_runner cite_English YearofPublication wrote_English wrote_German wrote_French wrote_Greek wrote_Latin wrote_Italian wrote_Spanish YearofTranslationtoEngli …
- Labor Market Effects of Credit Constraints: Evidence from a Natural Experiment
American Economic Journal: Economic Policy 2024 · pkg 16300
synth_runner $dep $controls, trunit(48) trperiod($t1) unitnames(stateusps) gen_vars
- Driving innovation? Carbon tax effects in the Swedish transport sector
Journal of Public Economics 2025 · pkg 37400
synth_runner patents_clean patentstock_clean total_nace2_29_1_patents total_patents presample_average1970_1977 patents_clean_mean_pretreat, trunit(21) trperiod( …
- The Effect of Concealed-Carry and Handgun Restrictions on Gun-Related Deaths: Evidence fro
The Economic Journal 2022 · pkg 81180
synth_runner hom_rate hom_rate(1900) hom_rate(1901) hom_rate(1902) hom_rate(1903) hom_rate(1904) hom_rate(1905) hom_rate(1906) hom_rate(1907) hom_rate(1908) ho …
- The Mainstreaming of Marx: Measuring the Effect of the Russian Revolution on Karl Marx’s I
Journal of Political Economy 2023 · pkg 7825
-
synthetic DiD (sdid, synthdid)34% · 35
4 examples in the code
- Debiasing and T-Tests for Synthetic Control Inference on Average Causal Effects
Journal of Political Economy 2026 · pkg 7855
tau.sdid <- synthdid_estimate(t(cbind(Y0,c(Y1))),J,T0)
- The Inner Workings of a Hub-and-Spoke Cartel in the Automotive Fuel Industry
American Economic Journal: Microeconomics 2025 · pkg 11584
sdid = synthdid_estimate(setup$Y, setup$N0, setup$T0)
- Disrupting Drug Markets: The Effects of Crackdowns on Rogue Opioid Suppliers
American Economic Journal: Economic Policy 2025 · pkg 11658
tau.hat = synthdid_estimate(setup$Y, setup$N0, setup$T0)
- Why Is Workplace Sexual Harassment Underreported? The Value of Outside Options amid the Th
American Economic Review 2026 · pkg 11708
sdid merit state_code yr treat if total_count>=15, /// vce(placebo) seed(120) reps(150) /// graph /// g1on /// g1_opt(xtitle("Year") /// …
- Debiasing and T-Tests for Synthetic Control Inference on Average Causal Effects
Journal of Political Economy 2026 · pkg 7855
-
multiple-testing correction (FDR, Romano-Wolf, ...)3% · 3
3 examples in the code
- The Mainstreaming of Marx: Measuring the Effect of the Russian Revolution on Karl Marx’s I
Journal of Political Economy 2023 · pkg 7825
putexcel (A28) = "e(pval_simes): The Simes p-value of e(pvals). The Simes p-value is similar to the Bonferroni correction for multiple tests, except instead of …
- From Fog to Smog: The Value of Pollution Information
American Economic Review 2024 · pkg 155031
wyoung, replace cmd("`cmd1'" "`cmd2'" "`cmd3'") familyp(ln_aodXpost) bootstraps(500) seed(20) cluster(nbs6) - Police Violence, Student Protests, and Educational Performance
Review of Economics and Statistics 2024 · pkg 159590
rwolf gpa_2011 gpa_2012 gpa_2013 retired_2011 retired_2012 retired_2013 Take_PSU [aw=cem_weights], /// indepvar(Treated) seed(111101) method(areg) abs(cem_s …
- The Mainstreaming of Marx: Measuring the Effect of the Russian Revolution on Karl Marx’s I
Journal of Political Economy 2023 · pkg 7825
Share of 104 packages in the cell. 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.