Tutorials › Causal Inference › Sensitivity to Pre-Period and Predictor Choices

Synthetic Control and Interrupted Series · Tutorial 668 of 972

Sensitivity to Pre-Period and Predictor Choices

Compare defensible synthetic-control design choices by examining both pre-intervention fit and post-intervention effect estimates.

Advanced 12 min read

What You'll Learn

  • Define a sensitivity specification using a pre-intervention window, predictor set, and predictor-importance scheme.
  • Recalculate pre-intervention RMSPE and post-intervention gaps under alternative specifications.
  • Distinguish fitting-window RMSPE from fit assessed on a common pre-intervention period.
  • Interpret changes in synthetic-control estimates as design sensitivity, not as evidence that one estimate is correct.
  • Report a transparent set of substantively defensible specifications without selecting on the desired post-intervention result.

Why Examine Pre-Period and Predictor Choices?

A synthetic control is constructed by choosing weights on donor units so that their weighted outcomes and predictors resemble those of the treated unit before intervention. The construction depends on design choices: which pre-intervention observations enter the fit, which predictors are included, and how much importance each predictor receives. Different defensible choices can produce different weights, different pre-intervention fit, and different estimated post-intervention effects.

Sensitivity analysis makes those dependencies visible. It does not identify which specification is true, nor does it turn a set of estimates into a confidence interval. Its purpose is to show whether the substantive conclusion is stable across choices that could reasonably have been made using pre-intervention information and subject-matter knowledge.

Definition: A sensitivity specification is a stated combination of (1) a pre-intervention fitting window, (2) a predictor set, and (3) a predictor-importance scheme. Refit the synthetic control under each specification, then compare pre-intervention fit and post-intervention effect estimates.

What Changes Across Specifications?

Let unit 1 be treated, let \(j=2,\ldots,J+1\) index donor units, and let \(t=1,\ldots,T_0\) denote pre-intervention periods. The treatment begins after period \(T_0\). Under a specification \(s\), the synthetic-control weights \(w_j^{(s)}\) are nonnegative and sum to one. The synthetic outcome for period \(t\) is \(\sum_{j=2}^{J+1}w_j^{(s)}Y_{jt}\), where \(Y_{jt}\) is the observed outcome for donor \(j\).

The weight-fitting problem uses selected predictors and a selected pre-intervention window. Write \(X_1^{(s)}\) for the treated unit's predictor vector and \(X_0^{(s)}\) for the corresponding donor predictor matrix. A common constrained objective is:

$$ \min_{\mathbf{w}} \left(X_1^{(s)}-X_0^{(s)}\mathbf{w}\right)^\top V^{(s)} \left(X_1^{(s)}-X_0^{(s)}\mathbf{w}\right) \quad\text{subject to}\quad w_j^{(s)}\geq 0,\qquad \sum_{j=2}^{J+1}w_j^{(s)}=1. $$

Here \(V^{(s)}\) assigns relative importance to the predictors. The selected window may affect which outcome summaries enter the predictor vector, as well as how the outcome fit is assessed. Changing any of these ingredients can change the minimizing weights. The synthetic-control construction and its underlying identification assumptions are not replaced by sensitivity analysis: a causal interpretation still requires a defensible donor pool, no interference, no anticipation, and a synthetic control that adequately represents the treated unit's untreated outcome path.

For a chosen set of pre-intervention periods \(W\), define the root mean squared prediction error (RMSPE) as the root mean squared difference between the treated outcome and its synthetic counterpart:

$$ \operatorname{RMSPE}(W;s) = \sqrt{\frac{1}{|W|} \sum_{t\in W} \left(Y_{1t}-\sum_{j=2}^{J+1}w_j^{(s)}Y_{jt}\right)^2}. $$

The period-specific estimated effect after intervention is the treated outcome minus the synthetic outcome:

$$ \hat{\tau}_t^{(s)} = Y_{1t}-\sum_{j=2}^{J+1}w_j^{(s)}Y_{jt}, \qquad t>T_0. $$

For a post-intervention set \(P\) of \(T_1\) periods, the average estimated effect is \(\frac{1}{T_1}\sum_{t\in P}\hat{\tau}_t^{(s)}\). It is expressed in the outcome's units. RMSPE is also in the outcome's units, but it describes pre-intervention discrepancies, not post-intervention effects.

Compare Fit on a Common Basis

When specifications use different fitting windows, their in-window RMSPE values do not summarize performance over identical periods. A shorter window may have low RMSPE partly because it contains fewer or easier-to-match observations. For a useful comparison, report RMSPE within each specification's fitting window and, when possible, calculate RMSPE for every specification over the same pre-intervention assessment periods. The latter comparison asks how well each fitted synthetic control matches the treated unit over a fixed period, even if some of those observations were not used to fit it.

The distinction is especially important when the selected window emphasizes recent periods. Fit over that window answers whether the synthetic control matches the data it was asked to match. Fit over a common assessment period helps show whether that match extends beyond the fitting target. Neither summary alone establishes that the synthetic control correctly represents the unobserved counterfactual after intervention.

Worked Example: Shortening the Fitting Window

Suppose a hypothetical treated region and two donors have the outcomes below. The intervention starts after period 4. For simplicity, fit weights using the listed outcome observations and constrain the weights to be nonnegative and sum to one.

UnitPeriod 1Period 2Period 3Period 4Period 5Period 6
Treated region101211131415
Donor A91110121314
Donor B121312141820

With the full pre-intervention window, periods 1–4, let \(w\) be the weight on Donor A and \(1-w\) the weight on Donor B. The synthetic-minus-treated gaps in periods 1–4 are \(2-3w, 1-2w, 1-2w,\) and \(1-2w\). Minimizing the sum of squared gaps gives:

$$ (2-3w)^2+3(1-2w)^2 \quad\Longrightarrow\quad -24+42w=0 \quad\Longrightarrow\quad w=\frac{4}{7}. $$

The full-window synthetic-minus-treated gaps are therefore \(2/7,-1/7,-1/7,-1/7\). The fitting-window RMSPE is:

$$ \sqrt{\frac{(2/7)^2+3(-1/7)^2}{4}} = \sqrt{\frac{1}{28}} \approx 0.189. $$

Now fit only periods 3 and 4. In both periods, the donor outcomes are one unit below and one unit above the treated outcome, so the minimizing weights are \(w_A=0.5\) and \(w_B=0.5\). The fitting-window RMSPE is zero. But this perfect fit over two periods does not mean the synthetic control is uniformly better: over periods 1 and 2 its synthetic outcomes are 10.5 and 12, giving gaps of 0.5 and 0, and the shorter window has discarded that evidence.

For periods 5 and 6, the full-window synthetic outcomes are \(0.571(13)+0.429(18)\approx15.14\) and \(0.571(14)+0.429(20)\approx16.57\). The treated-minus-synthetic gaps are approximately \(-1.143\) and \(-1.571\), with average \((-1.143-1.571)/2=-1.357\) outcome units. Under the shorter-window weights, the synthetic outcomes are 15.5 and 17, so the gaps are \(-1.5\) and \(-2.0\), averaging \(-1.75\) outcome units. Thus shortening the fit window changes both the apparent fit and the estimated average post-intervention effect. The changed estimate is sensitivity to the window, not by itself evidence that the shorter-window estimate is preferable.

Vary Predictors and Their Importance

A predictor set should be chosen because its components help describe the treated unit's pre-intervention outcome process or substantively relevant characteristics—not because a particular choice produces a preferred effect estimate. A sensitivity analysis can compare a primary set with reasonable alternatives, such as omitting a questionable measure, adding a pre-specified predictor, or altering the relative importance assigned to predictors. The alternatives should be defined using pre-intervention information.

Predictor importance and predictor inclusion are distinct choices. Including a predictor says it contributes to the fitting objective; its importance determines how strongly mismatch on that predictor counts relative to mismatch on others. Since predictor scales can differ, a meaningful comparison requires attention to scaling and to the interpretation of the importance scheme. Otherwise, numerical scale alone can make a predictor dominate the objective.

When a predictor set changes, do not compare only its fitting objective value with the objective from another set: the objectives may contain different components. Instead, compare interpretable diagnostics such as outcome RMSPE over the same pre-intervention assessment periods, and compare post-intervention gaps or their average over the same post-intervention periods.

Worked Example: Changing Predictor Importance

Consider a hypothetical analysis with treated outcomes of 20, 22, and 24 in three pre-intervention periods, followed by outcomes of 25 and 26 in two post-intervention periods. Two defensible predictor-importance schemes produce the following synthetic outcomes. Scheme A emphasizes the lagged outcomes; Scheme B also gives greater importance to a substantively chosen covariate. The displayed weights are the results of fitting under those respective schemes.

PeriodTreated outcomeScheme A synthetic outcomeScheme B synthetic outcome
Pre 1201920.5
Pre 2222122
Pre 3242323.5
Post 1252324
Post 2262425

Scheme A has pre-intervention gaps of \(1,1,1\), so its RMSPE is \(\sqrt{(1^2+1^2+1^2)/3}=1.000\) outcome unit. Its post-intervention gaps are \(25-23=2\) and \(26-24=2\), giving an average estimated effect of \((2+2)/2=2.000\) outcome units.

Scheme B has pre-intervention gaps of \(-0.5,0,0.5\), so its RMSPE is \(\sqrt{(0.25+0+0.25)/3}\approx0.408\) outcome unit. Its post-intervention gaps are \(25-24=1\) and \(26-25=1\), giving an average estimated effect of \((1+1)/2=1.000\) outcome unit. Scheme B matches the pre-intervention outcomes more closely in this example, and its estimated average effect is smaller. The comparison is informative about dependence on predictor importance, but it does not prove that Scheme B identifies the causal effect more accurately.

A Practical Sensitivity Analysis

A useful analysis varies one design feature at a time before considering combinations. This makes it easier to see whether an estimate changes with the window, predictor set, or importance scheme. Afterward, a small set of justified combinations can show whether the conclusions are robust to joint changes. A large grid of arbitrary alternatives is usually less informative than a focused set with a clear rationale.

1
State the primary specification.
Record the fitting window, predictor set, and importance scheme, and explain why each is defensible using pre-intervention knowledge.
2
Define alternatives before interpreting post-intervention estimates.
Choose plausible windows and predictor variations based on the timing of the data, measurement quality, and substantive relevance.
3
Refit and use common reporting periods.
For each specification, report the weights, pre-intervention RMSPE, and period-specific post-intervention gaps over the same post-intervention periods.
4
Summarize stability and differences.
Describe whether the direction, magnitude, and time pattern of the estimated gaps are similar, and note which design changes produce the largest differences.

The following hypothetical summary illustrates how to report differences without hiding them. Each average is calculated over the same three post-intervention periods; the common-period RMSPE is also assessed over the same four pre-intervention periods.

SpecificationPre-intervention choiceCommon-period RMSPEPost gaps (outcome units)Average post effect
PrimaryFull window; standard predictors0.42-1.0, -1.2, -1.4-1.20
Longer windowEarlier periods added0.55-0.6, -0.8, -1.0-0.80
Reduced predictor setOne questionable predictor omitted0.46-0.9, -1.1, -1.15-1.05
Higher covariate importanceGreater importance on selected covariate0.61-0.2, -0.4, -0.45-0.35

For the primary specification, the average is \((-1.0-1.2-1.4)/3=-1.20\) outcome units. For the reduced predictor set, it is \((-0.9-1.1-1.15)/3=-1.05\) outcome units. These estimates have the same direction and similar magnitude, while the higher-covariate-importance specification produces a smaller average gap and worse common-period fit. A careful conclusion would report that the estimated effect is sensitive to predictor importance, rather than choosing the specification with the most favorable estimate or fit alone.

Why This Matters—and a Common Pitfall

Pre-intervention fit is a diagnostic, not a guarantee of post-intervention counterfactual accuracy. A specification can fit observed pre-intervention outcomes closely and still extrapolate poorly if the relationship between treated and donor units changes after intervention or if relevant features are not represented. Conversely, a modest increase in RMSPE does not automatically make a design unusable. Evaluate fit alongside the rationale for the design, the pattern of pre-intervention gaps, the donor pool, and the post-intervention trajectory.

A frequent mistake is to try many windows and predictor schemes, then present only the one that gives the smallest RMSPE or the most appealing post-intervention estimate. This uses design flexibility to select a result and conceals how much the conclusion depends on those choices. The correction is to justify the primary design independently of its post-intervention estimate, define a limited set of reasonable alternatives, and report the full set of results. If the estimates vary materially, that variation is part of the substantive finding and should temper the causal conclusion.

Key takeaway: Sensitivity to pre-period and predictor choices is assessed by refitting defensible specifications and comparing fit and post-intervention gaps on common periods. Stability strengthens confidence that a result is not an artifact of one design choice; instability should be reported, not optimized away.

Check Your Understanding

Use the definitions and examples above to answer these questions.

  1. Why can fitting-window RMSPE values be misleading to compare when the specifications use different numbers of pre-intervention periods?
  2. What information does common-period RMSPE add to a sensitivity analysis?
  3. A new predictor is included and assigned a much larger importance value. Name two quantities that should be compared across the original and revised specifications.
  4. In a specification, post-intervention gaps are \(-0.5\), \(-1.0\), and \(-1.5\) outcome units. Calculate the average estimated effect and state its units.
  5. Why does a lower pre-intervention RMSPE not, by itself, establish that a specification gives a more credible causal effect estimate?
  6. What is wrong with reporting only the specification that produces the largest estimated effect?
Clinical Biostats