Search

Search papers and lessons

Synthetic Control Method

Level 4 · 12 min read

The synthetic control method builds a weighted blend of untreated units that tracks a treated unit before an intervention, then uses that blend as the stand-in for what would have happened without it.

On this page

  • Colour = topic mix
  • Probability
  • Calculus
  • Discrete math
  • Linear algebra
  • Methods
  • Econometrics
  • Sign in to see your progress

TL;DR

Sometimes one region adopts a policy and the others do not, and the question is what would have happened to that region without it (the policy's treatment effect). The synthetic control method answers with a stand-in: a weighted average of untreated units, with the weights chosen so that the stand-in tracks the treated unit closely before the policy started. The gap between the treated unit and its stand-in after the start is the estimated effect.

The method works with a single treated unit, where a Linear Regression has too little to learn from. It was introduced to measure the economic cost of conflict in the Basque Country and later applied to California's tobacco control program.

Where you'll see it: in state-level policy evaluations (a tobacco tax, a minimum wage change, a new law), in regional studies of a war or a disaster, and in any comparative case study that asks what one place would have looked like without a single event.

This is an explanation of a research method. It is not advice about any policy.

Intuition

One treated unit, no clean control group

Suppose a state raises its cigarette tax in 1989 and you want to know what that did to cigarette sales. The usual tool, Difference-in-Differences, compares treated and untreated groups over time, but there is only one treated state. You could compare it with the average of all other states. That works badly when the average state looks nothing like the treated one. A state with high incomes and many tourists may have different sales from the national average, and averaging over everyone makes the control group less like the case, not more.

The synthetic control idea builds the control group from the untreated units, and chooses how much each one counts. Some weight goes on a poorer state, some on a wealthier neighbour, some on a state with similar smoking rates, until the mix tracks the treated state's history before 1989. The result is a synthetic version of the state. It is not a real place, but a blend that looked like the treated unit before the policy.

Tracking the past is the test

After the policy, the synthetic state carries on as the treated state would have, if the policy had never happened, provided the blend is a fair guide to the untreated path. That cannot be checked directly, because the untreated future is never observed. What can be checked is how closely the blend follows the treated unit before the intervention. If it tracks well for many years, there is some reason to trust it afterwards. If it does not, the comparison is not credible.

11.522.533.54101520periodoutcome
  • treated state
  • synthetic state
Periods 1 to 3 are before the policy and period 4 is after it. The synthetic state tracks the treated state before the policy, and the gap at period 4 is the estimated effect. (Illustrative numbers, worked through below.)

The math

Setup

The data are a panel: several units (states, countries) each observed over many periods. Index the treated unit as j=1j = 1 and the untreated units, called the donor pool, as j=2,…,J+1j = 2, \dots, J+1. Time runs over t=1,…,Tt = 1, \dots, T, and the policy starts after period T0T_0. Let YjtY_{jt} be the outcome of unit jj at time tt with no policy. For the treated unit after T0T_0, the outcome that actually happens is observed, but the outcome without the policy is not. The effect is the difference between the two:

τt=Y1tpolicy−Y1tno policy,t>T0.\tau_t = Y_{1t}^{\text{policy}} - Y_{1t}^{\text{no policy}}, \qquad t \gt T_0.

The second term is the counterfactual that the method has to estimate.

Choosing the weights

Choose one nonnegative weight wjw_j for each donor unit, with the weights summing to 1. The synthetic outcome is the weighted average

Y^1tno policy=∑j=2J+1wj Yjt.\hat Y_{1t}^{\text{no policy}} = \sum_{j=2}^{J+1} w_j\, Y_{jt}.

The weights are chosen to make the synthetic unit match the treated unit before the policy:

w∗=arg⁡min⁡w∑t=1T0(Y1t−∑j=2J+1wjYjt)2subject towj≥0,∑j=2J+1wj=1.\mathbf{w}^* = \arg\min_{\mathbf{w}} \sum_{t=1}^{T_0} \left(Y_{1t} - \sum_{j=2}^{J+1} w_j Y_{jt}\right)^2 \quad \text{subject to} \quad w_j \ge 0, \quad \sum_{j=2}^{J+1} w_j = 1.

This is a

The estimated effect after the policy is then

τ^t=Y1t−∑j=2J+1wj∗ Yjt,t>T0.\hat\tau_t = Y_{1t} - \sum_{j=2}^{J+1} w_j^*\, Y_{jt}, \qquad t \gt T_0.

Applied studies usually also match on predictors such as income, age or population, each with a weight that says how much it matters. The logic stays the same: choose the weights so that the blend resembles the treated unit before the policy.

Why nonnegative weights matter

A weighted average with nonnegative weights that add to 1 is called a convex combination. It always lies within the range of the donors it is built from. A regression could give a negative weight to one donor and a large positive weight to another, producing a stand-in far outside the data. The constraints rule that out, so the synthetic unit is always an interpolation of real units, and the weights are easy to read: a weight of 0.6 on one state means that state supplies 60 percent of the stand-in.

Fit before the policy

The quality of the match is summarised by the root mean squared prediction error (RMSPE) over the pre-policy periods, where the square root of the Mean Squared Error is taken:

RMSPEpre=1T0∑t=1T0(Y1t−∑jwj∗Yjt)2.\text{RMSPE}_{\text{pre}} = \sqrt{\frac{1}{T_0}\sum_{t=1}^{T_0}\left(Y_{1t} - \sum_j w_j^* Y_{jt}\right)^2}.

A small value means the blend tracks the treated unit well. A large value means the comparison should not be trusted.

Worked examples

Example
Example 1: a tiny exact match

There are two donors, A and B, and three periods before the policy. The treated unit has outcomes Y1=(10,12,14)Y_1 = (10, 12, 14). Donor A has (8,10,12)(8, 10, 12) and donor B has (12,14,16)(12, 14, 16).

  1. Write the stand-in as wA+(1−w)Bw A + (1 - w) B, with one free weight ww on A.
  2. In period 1 the stand-in is w⋅8+(1−w)⋅12=12−4ww \cdot 8 + (1-w) \cdot 12 = 12 - 4w.
  3. Set this equal to the treated value 10. Then 12−4w=1012 - 4w = 10, so w=0.5w = 0.5.
  4. Check the other periods with w=0.5w = 0.5: period 2 gives 0.5⋅10+0.5⋅14=120.5 \cdot 10 + 0.5 \cdot 14 = 12, and period 3 gives 0.5⋅12+0.5⋅16=140.5 \cdot 12 + 0.5 \cdot 16 = 14. Both match the treated unit exactly.
  5. So w∗=(0.5,0.5)w^* = (0.5, 0.5), the pre-policy RMSPE is 0, and the stand-in is exactly the treated unit's pre-policy path.
  6. Now suppose in period 4 donor A has 14, donor B has 18, and the treated unit reaches 17. The stand-in is 0.5⋅14+0.5⋅18=160.5 \cdot 14 + 0.5 \cdot 18 = 16.
  7. The estimated effect is 17−16=117 - 16 = 1. The policy seems to have added one unit.

This example is hand-computable, which is the point: every step is visible. Real data never fit this perfectly.

Example
Example 2: an imperfect fit and the least-squares weight

Keep the same two donors, but let the treated unit be Y1=(10,12,15)Y_1 = (10, 12, 15). No weight makes the stand-in match all three periods, so the weight must balance the errors.

  1. Write the stand-in as B+w(A−B)B + w(A - B). The difference A−BA - B is (−4,−4,−4)(-4, -4, -4) in each period.
  2. Let r=Y1−B=(10−12,12−14,15−16)=(−2,−2,−1)r = Y_1 - B = (10 - 12, 12 - 14, 15 - 16) = (-2, -2, -1).
  3. The least-squares weight is w∗=∑rtdt∑dt2w^* = \dfrac{\sum r_t d_t}{\sum d_t^2}, where d=A−Bd = A - B. The numerator is (−2)(−4)+(−2)(−4)+(−1)(−4)=20(-2)(-4) + (-2)(-4) + (-1)(-4) = 20 and the denominator is 3⋅16=483 \cdot 16 = 48.
  4. So w∗=20/48=5/12≈0.417w^* = 20/48 = 5/12 \approx 0.417. It lies between 0 and 1, so it is admissible.
  5. The pre-policy stand-in is (10.33,12.33,14.33)(10.33, 12.33, 14.33), and the residuals are (−1/3,−1/3,2/3)(-1/3, -1/3, 2/3).
  6. The pre-policy RMSPE is (1/9+1/9+4/9)/3=2/9≈0.47\sqrt{(1/9 + 1/9 + 4/9)/3} = \sqrt{2/9} \approx 0.47.
  7. In period 4, donors A and B have 14 and 18, so the stand-in is 18+(5/12)(14−18)=16.3318 + (5/12)(14 - 18) = 16.33. The treated unit reaches 19, so the estimated effect is about 2.672.67.

The fit is not perfect, but the residuals are small compared with the effect, and the RMSPE is the number a careful reader checks first.

Example
Example 3: a placebo test for a realistic study

Suppose a study of one state's policy has a donor pool of 20 other states. A single estimated effect cannot say whether a gap that size could arise by chance. The method's answer is a placebo test: pretend each donor state adopted the policy, build its own synthetic version from the remaining units, and compute a fit-adjusted gap for it.

  1. For each unit, compute the ratio of the post-policy RMSPE to the pre-policy RMSPE. A large post-policy gap relative to the pre-policy fit is unusual.
  2. Suppose, for illustration, that the treated state's ratio is 6.2 and the largest of the 20 placebo ratios is 3.1.
  3. The treated state has the largest ratio among all 21 units, so its rank is 1.
  4. The approximate P-Value is the share of units with a ratio at least as large as the treated one: 1/21≈0.0481/21 \approx 0.048.
  5. Interpretation: if the policy had no effect, a unit ranked first this strongly would happen by chance about 5 times in 100 placebo arrangements.

Placebo tests come with a warning. A donor whose pre-policy fit is poor will produce a large ratio for reasons unrelated to any policy, so careful studies drop donors with bad pre-policy fit before ranking. This is the same logic as Permutation Test, applied to a single treated unit.

Tradeoffs and failure modes

SituationProblemBetter choice
Few donors, or donors unlike the treated unitNo convex blend can match the treated unit, so the pre-policy fit is poorReport the fit honestly, or use a different design
A policy starts gradually or in many places at onceThe donor pool may already be affectedCheck that donors are untreated, or use a staggered design
Long gap between the policy and the outcomeThe blend may drift away from the true counterfactualReport the effect over time, not only at the end
Many predictors, short pre-periodThe weights can overfit the predictors and look better than they areCompare against a placebo test and hold out periods
Only one treated unit and a clean panel of many periodsThe method is well suited hereUse it, with placebo checks

The method is also a Difference-in-Differences-style comparison, but with the controls chosen by fit rather than by a parallel-trends assumption (that treated and untreated groups would have moved in parallel without the policy). That makes it more transparent when the donor pool is small, and less dependent on one global assumption, but it also means the result depends on how well the pre-policy fit was judged.

History

Alberto Abadie and Javier Gardeazabal introduced the method in 2003 to study the economic cost of terrorism in the Basque Country, where a regional comparison of economic growth could not be made with any single untreated region. Abadie, Alexis Diamond and Jens Hainmueller developed it in 2010 for a study of the tobacco control program that California adopted in 1988, and the method became a standard tool in comparative case studies in economics and political science. Abadie's 2021 review in the Journal of Economic Literature summarises the feasibility conditions and the practical choices that analysts make.

Recap

A treated unit needs a stand-in for its missing counterfactual. The stand-in is a convex combination of untreated units, with the weights found by minimising the pre-policy error under nonnegativity and sum constraints. The gap after the policy is the estimate, and placebo tests across the donors show whether that gap is larger than chance would produce. The method leads on to Causal Inference designs that handle many treated units at once.

Check yourself

QuestionWhy does the synthetic control method choose weights that are nonnegative and sum to 1, rather than letting a regression pick any weights?Show answer

The constraints keep the stand-in a convex combination of real donor units, so it always lies inside the range of observed data. An unconstrained regression could assign negative or very large weights to a few donors and produce a stand-in far from anything observed, which would not be a credible counterfactual.

QuestionDonor A has outcome 20 before the policy and donor B has 30. What weight on A gives a stand-in of 24?Show answer

Write the stand-in as w⋅20+(1−w)⋅30=30−10ww \cdot 20 + (1 - w) \cdot 30 = 30 - 10w. Set this equal to 24, so 10w=610w = 6 and w=0.6w = 0.6. Donor A supplies 60 percent of the stand-in and donor B supplies 40 percent.

QuestionA treated state's pre-policy RMSPE is 0.5. After the policy its gap is 4. Is the gap alone enough to call the effect real?Show answer

No. The gap has to be compared with the fit and with the placebo distribution. Only if the ratio of post-policy gap to pre-policy fit ranks highly among the donors, as in the placebo test, does the gap look unusual. A gap of 4 with a poor pre-policy fit might not be unusual at all.

QuestionWhy can a plain comparison of the treated state with the average of all other states give a misleading answer?Show answer

The average of all other states can differ from the treated state in income, age or other characteristics, so the gap reflects those differences as well as the policy. The synthetic control chooses weights so that the stand-in matches the treated unit before the policy, which removes many of those differences.

Sources