In 1970 the Capitol imposed a policy on District 13. To estimate its effect on GDP per capita, we build a synthetic District 13: a weighted average of two untreated districts, District 12 and District 2. The weight on District 12 is W; District 2 gets 1 − W.
Two loops choose W. Inner loop: given predictor weights V (how much each of four pre-1970 predictors counts), find the W* that best matches District 13 on those predictors. Outer loop: choose the V whose W* best reproduces District 13’s GDP in 1965 and 1969. You turn V by hand; the inner loop runs at once. Assumes you know what a weighted average is.
There are four predictors, all pre-treatment: averages over 1961–1969, before the 1970 policy. They are GDP per capita, education, industrial share and unemployment.
Each predictor, used alone, has a target: the W that makes the synthetic district match District 13 exactly on that predictor. For GDP the target is 0.70: a blend of 70% District 12 and 30% District 2 gives 0.70 × 4.55 + 0.30 × 5.45 = 4.82, District 13’s value. Education’s target is also 0.70, and unemployment’s is 0.75.
Industrial share’s target is 1.53. District 13’s share (0.48) is higher than both donors’ (0.40 and 0.25). Matching it would take 153% weight on District 12 and −53% on District 2: 1.53 × 0.40 − 0.53 × 0.25 = 0.48. But weights can’t be negative and must add to 100%, so W must stay between 0 and 1. The target is out of reach: the closest any blend gets is W = 1 (all District 12), with an industrial share of 0.40.
For a given V, the loss at a W adds up each predictor’s gap between the synthetic district and District 13, in standard deviations, squared and multiplied by that predictor’s share of V. W* is the W with the smallest loss. Below, turn the dials and follow the four tasks under the chart; the table under the dials shows the loss at W*, predictor by predictor.
Try these, watching W* (the gold dot, and the number under the dials)
| V | W* |
|---|
In step 1 each predictor pulled W* toward its own target, and industrial share pulled hard. Now every predictor gets the same weight.
With V = 25% on each of the four predictors, where will W* be?
The chart and the dials appear here once you lock in your prediction.
W* is the best W for the V you set: the weight on District 12 that brings the synthetic district closest to District 13 on the predictors, with each predictor’s gap counted according to its V. (Gaps are measured in standard deviations, so predictors on different scales can be compared.) Above 0.70, raising W makes the match worse on GDP and education, and past 0.75 on unemployment, but better on industrial share, whose gap keeps shrinking all the way to W = 1. With equal V, the best trade-off is W* = 0.82. Press Equal weights under the dials to see it.
Put all of V on industrial share, then look at the balance chart: the synthetic district (ring) can only sit on the bar between District 12 and District 2.
With all of V on industrial share, W* = 1 and the synthetic district still falls 0.08 short on industry. Why can no W close that gap?
The outer score is the pre-period MSPE: the mean squared gap between District 13’s GDP and the synthetic district’s, in 1965 and 1969. Fitting W straight to those two years, ignoring the predictors, gives W = 0.67 and an MSPE of 0.
Is there a V that brings the MSPE down to 0?
The chart, the dials and the search appear here once you lock in your prediction.
Turn the dials to get the MSPE as low as you can. Then press Search for V*, which tries every V on a 5% grid.
The search finds many V’s that tie for the lowest MSPE. What does the tie tell you?
The chart marks the four targets, the range of W* that some V can reach, the W that fits GDP in 1965 and 1969 exactly, and your current W* (gold).
Why accept the worse fit? A synthetic district that tracks District 13 on past GDP and on the predictors is more likely to share the unmeasured things that drive GDP too. Fitting W to two years of GDP alone gives up that check.
Why does no V give W* = 0.67?
A fictional example set in Panem, the world of Suzanne Collins’s The Hunger Games; all numbers are invented. Predictors are 1961–1969 averages, in thousands for GDP per capita and as fractions for the rest. Predictors are divided by their standard deviation across the three districts before the inner loss is computed, as the Synth package does. The design follows Abadie, A. and Gardeazabal, J. (2003), “The Economic Costs of Conflict: A Case Study of the Basque Country,” American Economic Review 93(1): 112–132.
Inner loss over W, for your V
Predictor balance at W*
GDP per capita (thousands) before 1970, at your W*
Where W can go
Predictor weights V
Drag a dial, use the arrow keys on it, or type a weight. Shares are each weight over the total. Click a name to use only that predictor.
The loss at W*
| Predictor | V share | Gap at W* (SDs) | Share × gap² |
|---|---|---|---|
| Loss at W* | |||