Skip to main content

Synthetic-Control Formalism

Let YitY_{it} be the outcome for unit ii and period tt. Let T\mathcal{T} denote treated units, C\mathcal{C} eligible donors, and T0T_0 the last pre-treatment period after any window resolution.

For one treated unit, a synthetic counterfactual has the form

Y^1t(0)=∑j∈CwjYjt.\widehat{Y}_{1t}(0) = \sum_{j \in \mathcal{C}} w_j Y_{jt}.

The maintained retrospective fast estimator uses pre-treatment features and post-period control outcomes to learn the match space. It does not fit to the treated post-period outcomes. The period effect is

τ^t=Y1t−Y^1t(0),\widehat{\tau}_t = Y_{1t} - \widehat{Y}_{1t}(0),

and GeoSC’s top-level unscaled ATT is the average of that effect over measured post periods:

τ^=1T1∑t=T0+1T0+T1τ^t.\widehat{\tau} = \frac{1}{T_1}\sum_{t=T_0+1}^{T_0+T_1}\widehat{\tau}_t.

Read the fitted counterfactual

Observed and fitted synthetic outcomes above their difference over time, with launch, excluded cooldown and measured average effect marked. Observed and fitted synthetic outcomes above their difference over time, with launch, excluded cooldown and measured average effect marked.

This illustrative synthetic example has one treated geography, 49 eligible controls, 40 pre-period days, three cooldown days and 17 measured days. The upper panel compares observed outcomes with the fitted synthetic trajectory. The lower panel shows their difference; its dashed line averages only measured days. The three cooldown days are excluded from fitting and the reported effect, so the synthetic line has a gap there. The filled area between the upper lines shows an outcome difference, not a confidence interval.

The generator adds four outcome units per day after launch, but the chart shows the estimated effect rather than substituting that known injection. Its counterfactual and placebo figures come from the same native GeoSC analysis. See the numerical source and reproduction instructions. This is an explanation of the calculation, not a calibration study or campaign result.

The implementation also supports multiple treated units. SparseSC constructs a joint treated effect and an in-space placebo reference set formed from treated- sized subsets of controls. With N0N_0 controls and N1N_1 treated units, the exhaustive assignment count is

M=(N0N1).M = \binom{N_0}{N_1}.

GeoSC’s top-level p-value is not a post/pre mean-squared prediction-error ratio. If τ^(m)\widehat{\tau}^{(m)} is the average placebo effect for assignment mm, SparseSC uses the two-sided absolute-effect comparison with add-one correction:

p=1+∑m=1M∗1{∣τ^(m)∣≥∣τ^∣}M∗+1,p = \frac{1 + \sum_{m=1}^{M^*} \mathbf{1}\left\{|\widehat{\tau}^{(m)}| \geq |\widehat{\tau}|\right\}} {M^*+1},

where M∗M^* is the effective exhaustive or sampled placebo count. The finest attainable step under this calculation is 1/(M∗+1)1/(M^*+1). The result is an empirical comparison against the eligible placebo assignments; its causal meaning depends on the design.