Tutorials › Econometrics (Graduate) › Pre-Treatment Fit Diagnostics for Synthetic Controls

Regression Discontinuity and Synthetic Controls · Tutorial 692 of 952

Pre-Treatment Fit Diagnostics for Synthetic Controls

Evaluate whether a synthetic control reproduces the treated unit before intervention and identify fit weaknesses that can undermine interpretation of later gaps.

Advanced 11 min read

What You'll Learn

  • Define pre-intervention residuals and calculate pre-treatment RMSPE.
  • Assess predictor balance using weighted donor values and standardized gaps.
  • Distinguish small residual magnitudes from systematic residual patterns.
  • Quantify donor-weight concentration and interpret its effective-donor summary.
  • Explain why good pre-treatment fit is informative but does not establish a valid post-treatment counterfactual.

Why Diagnose Fit Before Interpreting Gaps?

A synthetic control estimates the untreated outcome path of a treated unit by combining outcomes from untreated donor units. The post-intervention difference between the treated outcome and this weighted comparison is meaningful only to the extent that the comparison provides a credible counterfactual. A close match before intervention is therefore an important diagnostic: it shows whether the weighted donors can reproduce the treated unit’s observed history over the period when both are untreated.

That check is necessary, but not sufficient. A synthetic control can match the past and still fail to represent what would have happened after intervention without treatment. Diagnostics should therefore be read as evidence about the construction and limitations of the comparison, not as proof of the causal assumptions or of a post-intervention effect.

Setup and notation: Let unit \(1\) be treated beginning in period \(T_0+1\), and let units \(j=2,\ldots,J+1\) be the donor units. Let \(Y_{it}\) be the observed outcome for unit \(i\) in period \(t\). For nonnegative donor weights \(w_j\) summing to one, the synthetic outcome is \(\widehat{Y}_{1t}^{\,N}=\sum_{j=2}^{J+1}w_jY_{jt}\). In a pre-intervention period \(t\leq T_0\), the fit residual is \(e_t=Y_{1t}-\widehat{Y}_{1t}^{\,N}\). The post-intervention gap is defined similarly, but is then interpreted as an estimated treatment effect only under the study’s causal assumptions.

The weights are treated as fixed while diagnostics are calculated. Their selection and tuning are separate decisions; here the question is how to inspect the resulting fit. The comparison also presumes that the donor units are suitable untreated comparisons, that outcomes are measured consistently, and that treatment does not begin affecting the treated unit before \(T_0+1\). Diagnostics cannot repair a donor pool that violates those design requirements.

Outcome Fit: Magnitude and Scale

The basic summary is the pre-treatment root mean squared prediction error (RMSPE). It combines the squared residuals across the pre-intervention periods and expresses the result in the outcome’s original units.

$$ \operatorname{RMSPE}_{\mathrm{pre}} = \sqrt{\frac{1}{T_0}\sum_{t=1}^{T_0}e_t^2} $$

Squaring prevents positive and negative residuals from cancelling; taking the mean gives equal weight to each pre-intervention period; and the square root returns the measure to the outcome scale. RMSPE is sensitive to large errors because those errors are squared. It is not a universal pass/fail criterion: its practical importance depends on the outcome’s scale, the research question, and how large a mismatch would matter in context. Residuals should also be inspected individually or over time, because a single summary can conceal their pattern.

Worked Example: Calculating Pre-Treatment RMSPE

Suppose a hypothetical city is treated after period 4. Its observed pre-intervention outcomes, in thousands of monthly service requests, are \(10,12,11,13\). The synthetic control’s outcomes are \(9,12,10,12\). Calculate the residuals and RMSPE.

Residuals. Subtract the synthetic outcome from the treated outcome in each period: \(e_t=(1,0,1,1)\) thousand requests.

RMSPE. Substituting the four residuals gives \(\operatorname{RMSPE}_{\mathrm{pre}}=\sqrt{(1^2+0^2+1^2+1^2)/4}=\sqrt{3/4}=0.8660\) thousand requests, or about 866 requests.

The summary indicates that the typical squared-error-based discrepancy is about 866 requests on this scale. It does not mean every period misses by that amount: the actual residuals include an exact match in one period and a discrepancy of 1,000 requests in each of the other three. Whether this fit is adequate depends on how important discrepancies of this size are for the application.

RMSPE should be compared cautiously across outcomes measured in different units or on very different scales. A discrepancy of 0.5 may be substantial for a rate measured between zero and one, but small for annual revenue measured in millions. A scale-normalized summary can sometimes help, but only if its denominator is clearly specified and meaningful. For example, dividing RMSPE by the treated unit’s pre-intervention standard deviation expresses error relative to its historical variation; this ratio is undefined if that standard deviation is zero and may be unstable when it is very small.

Predictor Balance

Matching outcomes over time is not the only diagnostic. Synthetic-control construction also uses pre-intervention predictors, such as covariates or summaries of earlier outcomes. For predictor \(k\), let \(X_{1k}\) denote its value for the treated unit and \(X_{jk}\) its value for donor \(j\). The synthetic predictor value is \(\widehat{X}_{1k}=\sum_j w_jX_{jk}\), and the raw balance gap is \(d_k=X_{1k}-\widehat{X}_{1k}\). A gap close to zero indicates balance on that predictor.

Raw gaps retain the predictor’s units, which aids interpretation but complicates comparisons across predictors. One common descriptive measure is the absolute standardized gap, \(|d_k|/s_k\), where \(s_k\) is a stated reference standard deviation, often the standard deviation among donor units. It describes the gap relative to that reference spread; it is not a hypothesis test or a universal balance threshold. If \(s_k=0\), this standardization is undefined, so the raw gap must be reported instead.

Worked Example: Checking Weighted Predictor Balance

In a hypothetical study, three donors have weights \(0.5,0.3,0.2\). The treated unit’s pre-treatment average income is 50 thousand dollars, compared with donor values 48, 55, and 45 thousand dollars. The donor standard deviation for income is 5 thousand dollars. Calculate the synthetic income and standardized gap.

Weighted predictor. The synthetic income is \(0.5(48)+0.3(55)+0.2(45)=24+16.5+9=49.5\) thousand dollars.

Gap and scale. The treated-minus-synthetic gap is \(50-49.5=0.5\) thousand dollars. Its absolute standardized gap is \(0.5/5=0.10\) donor standard deviations. The weighted donors therefore match this predictor closely relative to the stated donor spread.

For a second predictor, suppose the treated unit’s pre-treatment unemployment rate is 8%, the donor rates are 7%, 10%, and 5%, and the donor standard deviation is 2 percentage points. The synthetic rate is \(0.5(7)+0.3(10)+0.2(5)=3.5+3+1=7.5\%\). The raw gap is \(8-7.5=0.5\) percentage points, and the absolute standardized gap is \(0.5/2=0.25\). Both calculations should be reported with the reference scale, since a standardized value depends on how that scale was defined.

Balance is best examined across all substantively important predictors rather than summarized by one favorable variable. A close average can also conceal offsetting discrepancies in different predictors or a poor match on an especially important predictor. Report raw gaps when their units are informative, and explain the standardization when comparing magnitudes.

Residual Patterns Over Time

The time sequence of residuals provides information that RMSPE cannot. A residual plot places \(e_t\) against pre-intervention time, with a horizontal reference at zero. Residuals fluctuating around zero without an evident trend are different from residuals that remain mostly positive, mostly negative, or move steadily in one direction. A persistent positive residual means the treated outcome exceeds the synthetic outcome in those periods; a persistent negative residual means it falls below it.

Serial dependence matters for interpretation. Nearby residuals may be related because outcomes evolve over time. A sequence of small, same-signed residuals can reveal sustained underprediction or overprediction even when the overall RMSPE seems modest. A distinct mismatch near the end of the pre-period can also be especially concerning: the model may reproduce earlier levels but fail to track the treated unit as intervention approaches. Neither a visual pattern nor a small RMSPE alone establishes why the mismatch occurred.

Worked Example: Same Summary, Different Residual Story

Consider two hypothetical four-period residual sequences, measured in hundreds of applications. Sequence A is \((0.2,0.3,0.4,0.5)\); sequence B is \((0.2,-0.2,0.2,-0.2)\). Compare their RMSPEs and interpret the patterns.

Sequence A. Its RMSPE is \(\sqrt{(0.2^2+0.3^2+0.4^2+0.5^2)/4}=\sqrt{(0.04+0.09+0.16+0.25)/4}=\sqrt{0.135}=0.3674\) hundreds of applications, about 36.74 applications. Every residual is positive and the discrepancy grows over time: the synthetic control increasingly underpredicts the treated outcome.

Sequence B. Its RMSPE is \(\sqrt{(0.2^2+(-0.2)^2+0.2^2+(-0.2)^2)/4}=\sqrt{0.16/4}=0.2\) hundreds of applications, or 20 applications. The errors alternate around zero, with no steadily increasing discrepancy in this short sequence.

Sequence A has the larger RMSPE, but the comparison also shows why the pattern matters: its errors move in one direction. Sequence B’s smaller RMSPE does not prove a reliable counterfactual; it only describes these four errors. A longer history, substantive context, and the other diagnostics remain relevant.

Donor-Weight Concentration

A synthetic control may be built from many donors but rely heavily on only one or two. The Herfindahl concentration measure \(H=\sum_j w_j^2\) summarizes how concentrated the weights are. A useful descriptive transformation is the effective number of donors, \(N_{\mathrm{eff}}=1/H\). If \(m\) donors receive equal weights \(1/m\), then \(H=m(1/m)^2=1/m\), so \(N_{\mathrm{eff}}=m\). With unequal weights, this value is generally smaller than the number of donors with positive weight.

The effective number is an index of weight concentration, not a literal count of independent comparison units. A low value signals that the fit depends heavily on a small part of the donor pool. That concentration may be appropriate if one donor is unusually similar to the treated unit, but it can make the counterfactual sensitive to that donor’s particular trajectory. The concentration measure should be read alongside outcome fit, predictor balance, and substantive knowledge of the donors.

Worked Example: Interpreting Concentrated Weights

Suppose a hypothetical synthetic control assigns weights \(0.8,0.1,0.1\) to three donors. Calculate the concentration and effective number of donors, then compare it with equal weighting.

Concentration. \(H=0.8^2+0.1^2+0.1^2=0.64+0.01+0.01=0.66\). Thus \(N_{\mathrm{eff}}=1/0.66=1.515\), or about 1.52 effective donors.

With equal weights of \(1/3\), the concentration would instead be \(3(1/3)^2=1/3\), and the effective number would be \(1/(1/3)=3\). The first fit is much more concentrated. This does not by itself show that its outcome fit is poor; it indicates that the fit relies predominantly on the first donor and should be interpreted with that dependence in mind.

Putting the Diagnostics Together

A useful assessment combines evidence rather than applying a single cutoff. The following sequence keeps the distinct questions visible:

1
Summarize the pre-treatment outcome error.
Calculate RMSPE in the outcome’s units and judge its practical size in context.
2
Inspect residuals across time.
Look for persistent signs, trends, end-of-period mismatch, or isolated large discrepancies that the average can obscure.
3
Check predictor balance.
Report weighted values and gaps for important predictors, stating any reference scale used for standardization.
4
Describe weight concentration.
Use the weights and, if helpful, \(H\) or \(N_{\mathrm{eff}}\) to show how broadly the donor pool contributes.
5
Qualify post-intervention interpretation.
State how weaknesses affect confidence in the constructed counterfactual; do not treat diagnostic fit as proof of causal validity.

Poor pre-treatment fit means the synthetic control does not closely reproduce the treated unit’s observed pre-intervention history. A post-intervention gap from such a fit may partly reflect a mismatch that already existed, rather than a change attributable to treatment. Unstable-looking fit—such as a late residual trend or heavy reliance on one donor—also makes the counterfactual more vulnerable to departures from the observed pre-period relationship. In these cases, the estimated gap should be presented with stronger qualification, and the source of the mismatch should be investigated rather than hidden by one summary statistic.

Common Mistake: Treating Good Fit as Proof

Wrong reasoning: “The pre-treatment RMSPE is small, so the post-treatment gap must be the causal effect.” This conclusion goes beyond what the diagnostic establishes. Good pre-period fit shows agreement in observed outcomes before treatment; it cannot guarantee that the weighted donors would have continued to trace the treated unit’s untreated path afterward. Conversely, poor fit does not prove there is no treatment effect. It indicates that this synthetic comparison is a weakly supported counterfactual and that its post-treatment gaps require caution.

Key takeaway: Diagnose a synthetic control through the size and timing of its pre-intervention outcome residuals, its balance on important predictors, and the concentration of its donor weights. These checks reveal strengths and weaknesses of the constructed comparison; they do not, by themselves, validate the post-intervention causal interpretation.

Check Your Understanding

Use these questions to check whether you can calculate and interpret the diagnostics.

  1. A treated unit has pre-period residuals \(2,-1,1\), measured in tens of units. Calculate its pre-treatment RMSPE and state the units.
  2. Why can two synthetic controls with the same RMSPE have different diagnostic implications?
  3. A predictor gap is 3 units and its stated reference standard deviation is 6 units. What is the absolute standardized gap, and what does it describe?
  4. For donor weights \(0.5,0.5\), calculate \(H\) and \(N_{\mathrm{eff}}\). What would these values indicate?
  5. Explain why excellent pre-intervention fit does not, by itself, establish that a post-intervention gap is a causal effect.
Clinical Biostats