Synthetic Control with mlsynth: Interactive Companion

A companion to Introduction to the Synthetic Control Method in Python with mlsynth ↗ Back to the post

Did Proposition 99 reduce cigarette sales in California?

In January 1989, Proposition 99 raised the cigarette tax in California and funded anti-smoking education. Cigarette sales, however, were already falling across the United States. The decline after 1989 therefore needs a comparison before anyone can credit it to the program. The synthetic control method builds that comparison from a weighted average of other states, chosen to track California before 1989.

This app retells the post in four tabs, and it reads every number from the results file of the post. The tiles below give the answer in brief, and the chart under them shows where it comes from. The glossary at the end of this tab defines each key term in a few sentences.

ATT, 1989–2000
…
packs per capita per year (mlsynth)
Stata benchmark ATT
…
synth2 in the Stata log
Pre-treatment RMSE
…
packs per capita, 1970–1988
In-space placebo rank
…
…
Donors with weight
…
…

Observed and synthetic California, 1970–2000

The shaded years follow Proposition 99. Hover over the chart, or tap it, to read the values of each year.

What to look for

  • Before 1989, the two paths nearly overlap. After a miss of … packs in 1970, the largest yearly miss is … packs, in ….
  • From 1989, the paths separate. The gap is … packs in 1989 and … packs in 2000, when sales sit … percent below the synthetic path.
  • A few states build the counterfactual. Only … of the … donor states receive weight, and the next tab shows the recipe.
Tab 2

Donor recipe and gap

The donor weights, the predictor balance, and the gap, each next to the Stata benchmark.
Tab 3

Placebo and robustness checks

The placebo ranking with a cutoff filter, a fake start year, and the leave-one-out refits.
Tab 4

mlsynth estimator tour

Four estimators answer the same question, each with its own configuration dictionary.

Glossary: open a card when a term is unfamiliar

Synthetic control method (SCM)

The synthetic control method builds a comparison unit from a weighted average of untreated units. The weights make this synthetic unit reproduce the treated unit before the policy. After the policy, the synthetic unit estimates the outcome that the treated unit would have recorded without it. Abadie, Diamond, and Hainmueller (2010) developed the method with the case of Proposition 99.

Donor pool

The donor pool is the set of untreated units that may enter the synthetic control. Here it contains the … states other than California in the data. Abadie, Diamond, and Hainmueller (2010) had already removed states with large tobacco programs or large tax increases. Each donor must stay free of the treatment and of similar policies, or the counterfactual becomes misleading.

Donor weights (the vector W)

Donor weights state how much each donor contributes to synthetic California. They cannot be negative, and they must sum to one, so synthetic California stays inside the range of the donors. The fit of mlsynth gives positive weight to … states, led by … with …. The other … donors receive a weight of zero.

Predictors and predictor weights (the matrix V)

Predictors are the characteristics on which synthetic California must resemble California. The post uses four covariates averaged over 1980–1988 and cigarette sales in 1975, 1980, and 1988. The predictor weights on the diagonal of V set how much a mismatch on each predictor counts. Very different V can select almost the same donor weights, so V is not identified and does not rank the predictors by importance.

Pre-treatment fit (RMSE)

Pre-treatment fit measures how closely synthetic California tracks California before the program. Its usual summary is the root mean squared error (RMSE) of the yearly gaps over 1970–1988. Here the RMSE is … packs per capita, about … percent of mean sales in those years. A close fit is necessary for a credible counterfactual, but it is not sufficient.

Gap and ATT

The gap is the difference between actual and synthetic sales in a given year. The average treatment effect on the treated (ATT) is the mean gap over 1989–2000, the years after the program began. The ATT is … packs per capita per year, a reduction of … percent relative to synthetic sales. It measures the effect on California only, not the effect that the program would have elsewhere.

In-space placebo and MSPE ratio

An in-space placebo test applies the method to every donor as if it had been treated. The mean squared prediction error (MSPE) averages the squared gaps, and the MSPE ratio divides its value after 1989 by its value before 1989. California has the largest ratio of all … states, …. Its permutation p-value is therefore …, the smallest value that … states allow.

In-time placebo and leave-one-out

An in-time placebo moves the start of the program to a year when nothing happened. With a fake start in …, the fake gaps before 1989 average … packs, about one third of the mean gap of … over 1989–2000. A leave-one-out check refits the model once without each donor that receives weight. Across the … refits, the ATT stays between … and … packs.