← Wiki Index / Public Health & Global Health / Synthetic Difference-in-Differences
🏥 Public Health & Global Health

Synthetic Difference-in-Differences

Synthetic difference-in-differences (SDID) is a doubly weighted panel-data causal inference estimator developed by Dmitry Arkhangelsky, Susan Athey, David A. Hirshberg, Guido W. Imbens, and Stefan Wager that combines unit-level synthetic control weights, time-period weights, and two-way fixed effects to achieve double robustness under interactive latent factor models.

Synthetic difference-in-differences (abbreviated SDID) is a quasi-experimental panel-data causal inference estimator in biostatistics, epidemiology, and econometrics developed by Dmitry Arkhangelsky, Susan Athey, David A. Hirshberg, Guido W. Imbens, and Stefan Wager in 2021 (American Economic Review) to evaluate the average treatment effect on the treated (ATT) of population-level interventions—such as state tobacco taxes, Medicaid expansions, sugar-sweetened beverage excise taxes, environmental emissions standards, or hospital vaccination mandates—across longitudinal panel datasets. SDID unifies the two primary quasi-experimental frameworks of modern public health policy evaluation: traditional two-way fixed effects difference-in-differences (DID) and the Abadie–Diamond–Hainmueller synthetic control method (SC). Specifically, SDID estimates the causal treatment effect τ by solving a doubly weighted two-way fixed effects regression that simultaneously incorporates unit weights ω̂i (which reweight untreated control jurisdictions so their pre-intervention outcome trend parallels the treated group) and time weights λ̂t (which reweight pre-intervention calendar periods to prioritize baseline periods most predictive of post-intervention control outcomes), while retaining additive unit fixed effects αi and time fixed effects βt. By combining data-driven local reweighting with additive fixed-effects differencing, SDID achieves reduced bias, lower estimation variance, and formal asymptotic normality under interactive latent factor data-generating processes where either standard DID or standard SC alone would fail.

Structural Comparison of DID, Synthetic Control, and SDID

Limitations of Unweighted Difference-in-Differences and Pure Synthetic Control

Consider a balanced panel dataset of N aggregate units (such as states, counties, or health districts, indexed by i = 1, …, N) observed across T calendar periods (t = 1, …, T). Partition the N units into Nco untreated control units (i = 1, …, Nco) that never adopt the intervention and Ntr = N − Nco treated units (i = Nco + 1, …, N) that adopt the intervention simultaneously beginning at period Tpre + 1 (creating Tpre pre-intervention periods and Tpost = T − Tpre post-intervention periods). Let Yit denote the observed health or economic outcome and Wit ∈ {0, 1} denote the binary policy exposure indicator (Wit = 1 if and only if i > Nco and t > Tpre).

Both classical difference-in-differences and the synthetic control method can be written as weighted linear least-squares regressions, yet each imposes restrictive structural assumptions:

  1. Standard Two-Way Fixed Effects DID: Estimates the treatment effect τ̂did by solving the unweighted regression:
(τ̂did, μ̂, α̂, β̂) = arg minτ, μ, α, β ∑i=1N ∑t=1T ( Yit − μ − αi − βt − Wit τ )2

Because DID assigns uniform weight 1/Nco to every control unit and uniform weight 1/Tpre to every pre-treatment period, it is valid only when the unweighted average of all control units satisfies the parallel trends assumption across the pre- and post-treatment window. In public health applications where treated states have distinct demographic trajectories or secular mortality trends, unweighted parallel trends are routinely violated.

  1. Pure Synthetic Control (SC): Estimates τ̂sc by constructing simplex unit weights ω̂isc ≥ 0 (∑i=1Nco ω̂isc = 1) that match the treated units' pre-intervention outcome levels, and solving a unit-weighted regression without unit fixed effects αi and without time weights λt:
(τ̂sc, μ̂, β̂) = arg minτ, μ, β ∑i=1N ∑t=1T ω̂isc ( Yit − μ − βt − Wit τ )2

Because pure SC omits unit fixed effects αi, it forces the convex combination of donor units to match the unshifted level of the treated unit rather than just its slope (failing whenever the treated jurisdiction lies outside the convex hull of donor levels), and it places equal weight on distant historical pre-treatment periods (t = 1) and periods directly preceding policy enactment (t = Tpre).

The Doubly Weighted SDID Objective Function

Arkhangelsky et al. (2021) resolved both limitations by defining the Synthetic Difference-in-Differences estimator τ̂sdid as the solution to the doubly weighted two-way fixed effects least-squares problem:

(τ̂sdid, μ̂, α̂, β̂) = arg minτ, μ, α, β ∑i=1N ∑t=1T ( Yit − μ − αi − βt − Wit τ )2 ω̂isdid λ̂tsdid

Here:

  • Unit Weights ω̂isdid: Non-negative weights on the Nco control units satisfying ∑i=1Nco ω̂isdid = 1 (with treated units assigned uniform weight ω̂isdid = 1/Ntr for i > Nco), chosen so that the ω̂-weighted pre-treatment trajectory of the control group is parallel to the pre-treatment trajectory of the treated group up to a constant vertical intercept shift.
  • Time Weights λ̂tsdid: Non-negative weights on the Tpre pre-intervention periods satisfying ∑t=1Tpre λ̂tsdid = 1 (with post-intervention periods assigned uniform weight λ̂tsdid = 1/Tpost for t > Tpre), chosen so that the λ̂-weighted average of pre-treatment outcomes for each control unit predicts its average post-treatment outcome up to a constant additive shift.

Because the SDID objective includes both unit fixed effects αi and time fixed effects βt, the estimator has a transparent closed-form representation as a double difference of weighted averages:

τ̂sdid = ( Ytr, post − ∑t=1Tpre λ̂tsdid Ytr, t ) − ∑i=1Nco ω̂isdid ( Yi, post − ∑t=1Tpre λ̂tsdid Yi, t )

where Ytr, post is the simple average of treated units in the post-treatment period, Ytr, t is the average of treated units at pre-treatment time t, and Yi, post is the average of control unit i across the post-treatment period.

Estimator FeatureDifference-in-Differences (DID)Synthetic Control Method (SC)Synthetic Difference-in-Differences (SDID)
Additive Unit Fixed Effects (αi)Included (allows arbitrary level shifts)Omitted (must match unshifted outcome level)Included (matches pre-trends up to intercept α0)
Additive Time Fixed Effects (βt)IncludedIncludedIncluded
Control Unit Weights (ωi)Uniform (1/Nco for all controls)Simplex weights matching pre-levelsL2-regularized simplex weights matching pre-trends
Pre-Treatment Time Weights (λt)Uniform (1/Tpre for all t ≤ Tpre)Uniform (1/Tpre in regression form)Simplex time weights predicting post-period levels
Convex Hull Extrapolation Safe?Yes (for level offset), No (for trend bias)Fails if treated unit is an outlier in levelYes (intercept αi absorbs baseline level differences)
Double Robustness (Factor Model)Consistent only if factor loadings equalConsistent only if unit weights matchDoubly robust (unit weights + time weights)

Optimization of Regularized Unit and Time Weights

L2-Regularized Simplex Program for Unit Weights ω

A central innovation of SDID over classical synthetic control is how the unit weights ω̂sdid ∈ ΔNco (where ΔNco = {ω ∈ ℝ+Nco : ∑i=1Nco ωi = 1} is the unit simplex) are estimated from the pre-treatment data:

(ω̂0, ω̂sdid) = arg minω0 ∈ ℝ, ω ∈ ΔNco ∑t=1Tpre ( ω0 + ∑i=1Nco ωi Yit − (1 / Ntr) ∑i=Nco+1N Yit )2 + ζ2 Tpre ||ω||22

Two mathematical components distinguish this optimization from Abadie–Diamond–Hainmueller SC:

  1. Free Intercept ω0 ∈ ℝ (Slope Alignment Rather Than Level Alignment): Because the downstream SDID regression includes unit fixed effects αi that subtract out each unit's baseline level, the unit-weight optimization includes an unconstrained scalar intercept ω0. Consequently, the donor weights ωi do not need to reproduce the unshifted pre-treatment level of the treated group; they only need to reproduce its time-varying fluctuations (pre-trend) up to an additive constant ω0. Even if the treated jurisdiction has the highest or lowest baseline mortality rate in the country (lying outside the convex hull of donor levels), SDID constructs a valid parallel-trend counterfactual without negative-weight extrapolation.
  2. Noise-Scaled L2 Ridge Penalty (ζ2 Tpre ||ω||22): Pure unpenalized simplex matching often assigns weight to only a few donor units, which inflates variance when period-specific idiosyncratic noise εit is present. SDID adds a ridge penalty scaled to the empirical variance of first-differenced noise among the control units:
ζ = (Ntr Tpost)1/4 σ̂, where σ̂2 = [ 1 / (Nco (Tpre − 1)) ] ∑i=1Nco ∑t=1Tpre−1 ( ΔYit − ΔY·t )2

and ΔYit = Yi,t+1 − Yit. This L2 regularization disperses weights across a broader set of similar donor units to bound the variance norm ||ω̂sdid||2 while preserving simplex non-negativity.

Simplex Program for Pre-Treatment Time Weights λ

Symmetrically, the pre-treatment time weights λ̂sdid ∈ ΔTpre (where ∑t=1Tpre λt = 1 and λt ≥ 0) are chosen by matching the pre-treatment periods to the post-treatment average across all Nco untreated control units:

(λ̂0, λ̂sdid) = arg minλ0 ∈ ℝ, λ ∈ ΔTpre ∑i=1Nco ( λ0 + ∑t=1Tpre λt Yit − (1 / Tpost) ∑t=Tpre+1T Yit )2 + ζλ2 Nco ||λ||22

where a small regularization parameter ζλ = 10−6 σ̂ prevents degeneracy when multiple pre-treatment periods are collinear.

In intuitive epidemiological terms, if disease rates or health expenditures follow a persistent autoregressive or random-walk process, distant historical periods (t ≪ Tpre) carry substantial drift relative to the post-policy era, whereas the periods directly preceding policy implementation (t ≈ Tpre) strongly predict post-policy counterfactual outcomes. The time-weight optimization concentrates λ̂tsdid on the most predictive pre-intervention periods, removing systematic time-series drift that would otherwise bias an unweighted pre–post comparison.

Double Robustness Under Interactive Latent Factor Models

Low-Rank Matrix Decomposition of Potential Outcomes

To establish consistency and asymptotic distribution theory, Arkhangelsky et al. (2021) analyzed SDID under a general interactive fixed effects (latent factor) model for the untreated potential outcomes Yit(0):

Yit(0) = Lit + εit, where Lit = μ + αi + βt + γiT υt

Here L = [Lit] is a structured low-rank signal matrix combining additive unit effects αi, time effects βt, and an R-dimensional interactive factor component γiT υt (capturing unobserved unit-specific sensitivities γi to time-varying macro-epidemiological shocks υt), while εit represents mean-zero idiosyncratic shocks across units and periods.

Decomposing the N × T signal matrix L into block form separating control vs. treated units (co vs. tr) and pre-treatment vs. post-treatment periods (pre vs. post), the bias of the SDID estimator conditional on the weights (ω̂, λ̂) is governed by the bilinear residual:

Bias(τ̂sdid | ω̂, λ̂) = ( Ltr, post − ω̂T Lco, post ) − ( Ltr, pre − ω̂T Lco, pre ) λ̂

Factoring the interactive structure Lit − αi − βt = γiT υt reveals that this residual is the inner product of the unit-factor balance error and the time-factor balance error:

Bias(τ̂sdid | ω̂, λ̂) = ( γtr − ∑i=1Nco ω̂i γi )T ( υpost − ∑t=1Tpre λ̂t υt )

This factorization yields a double-robustness property analogous to targeted maximum likelihood estimation and augmented inverse-probability weighting in observational cohort studies:

  1. Whenever the unit weights ω̂ balance the unobserved unit factor loadings (γtr ≈ ∑ ω̂i γi), and
  2. The time weights λ̂ balance the unobserved time factors (υpost ≈ ∑ λ̂t υt),

the resulting estimator bias is the product of the two small approximation errors, converging to zero at a faster rate than either a unit-weighted synthetic control estimator or a time-weighted regression estimator alone.

Asymptotic Normality and Variance Estimation

Clustered Bootstrap, Jackknife, and Placebo Inference

Arkhangelsky et al. (2021) proved that when the panel dimensions (Nco, Tpre, Ntr, Tpost) grow under regularity conditions on the rank of L and error serial correlation, the standardized SDID estimator is asymptotically normal:

( τ̂sdid − τ ) / Vτ1/2 →d N(0, 1)

Because the unit and time weights (ω̂sdid, λ̂sdid) depend on the data through constrained quadratic programs, three complementary variance estimators V̂τ are used in empirical health-policy research depending on the number of treated units Ntr:

  1. Clustered Unit Bootstrap (Ntr Large): Resamples unit trajectories i ∈ {1, …, N} with replacement B times, recomputing (ω̂(b), λ̂(b), τ̂(b)) on each bootstrap panel to construct normal-theory confidence intervals τ̂sdid ± z1−α/2 V̂boot1/2.
  2. Fixed-Weights Leave-One-Unit-Out Jackknife (Ntr ≥ 2): Holds the optimal weights (ω̂sdid, λ̂sdid) fixed and computes the leave-one-unit-out estimates τ̂(−i) across i = 1, …, N. Because it avoids re-solving the quadratic programs N times, the jackknife is fast and asymptotically conservative.
  3. Placebo Variance Estimator (Ntr = 1 Single Treated Jurisdiction): When only a single state or country adopts the policy (Ntr = 1, as in California's Proposition 99), the jackknife is undefined because dropping the sole treated unit leaves no treated observations. In this regime, SDID randomly samples Ntr = 1 pseudo-treated unit from the Nco untreated donor units without replacement, applies the full SDID estimator to the remaining Nco − 1 controls to obtain placebo treatment effects τ̂placebo(b), and uses the empirical variance of τ̂placebo(b) to construct valid Gaussian confidence intervals.

Staggered Adoption and Covariate Adjustment Extensions

In many epidemiological surveillance settings, jurisdictions adopt a health policy at staggered calendar dates Gi ∈ {t1, t2, …, tK} rather than simultaneously. Following the staggered-DID framework of Callaway and Sant'Anna (2021), staggered SDID partitions the treated units into adoption cohorts g defined by their initial treatment date, computes a cohort-specific SDID estimate τ̂gsdid using the never-treated (or not-yet-treated) jurisdictions as the donor pool over the pre-period t < g, and aggregates the cohort estimates weighted by treated unit-periods. Time-varying covariates Xit can likewise be incorporated by residualizing Yit against Xit β jointly within the doubly weighted objective or prior to weight estimation.

Frequently Asked Questions

When should researchers prefer SDID over standard Synthetic Control or DID?

Researchers should prefer SDID whenever evaluating aggregate panel interventions where (1) unweighted parallel trends across all untreated units are questionable (making standard DID biased), or (2) the treated jurisdiction has an outlier baseline outcome level outside the convex hull of donor states, or multiple treated units (Ntr ≥ 1) and noisy pre-treatment periods are present (where standard SC suffers from interpolation bias or elevated variance). Because SDID reduces to DID when weights are uniform and behaves like level-shifted SC when pre-trend matching dominates, it serves as a doubly robust default across both regimes.

Why does SDID regularize the unit weights ω with an L2 penalty but scarcely regularize the time weights λ?

In typical policy panels, unit-specific idiosyncratic shocks εit have substantial cross-sectional variance, so allowing ω̂ to concentrate on a single donor state would transmit that donor's post-treatment noise directly into the treatment effect estimate (inflating variance proportional to ||ω̂||22). Conversely, the pre-treatment time weights λ̂ are averaged across all Nco control units, and post-treatment shocks are frequently strongly correlated with the periods directly preceding treatment (t ≈ Tpre). Keeping the penalty on λ̂ negligible (ζλ = 10−6 σ̂) allows λ̂ to concentrate on the final pre-treatment periods just before the intervention, which minimizes bias from secular drift.

How can I visualize the validity of an SDID design in a public health study?

A standard SDID diagnostic plot displays two panels: (1) the parallel-trends trajectory plot, comparing the observed outcome path of the treated group against the ω̂sdid-weighted synthetic control trajectory (shifted vertically by the estimated intercept difference) across all pre- and post-treatment periods, with shaded triangles at the bottom of the pre-period indicating the magnitude of the time weights λ̂tsdid; and (2) the unit-by-unit difference contribution dot plot, plotting each donor state's individual DID contrast against its assigned weight ω̂isdid.

References

  1. Arkhangelsky, D., Athey, S., Hirshberg, D. A., Imbens, G. W., & Wager, S. (2021). Synthetic difference-in-differences. American Economic Review, 111(12), 4088–4118. https://doi.org/10.1257/aer.20190159
  2. Abadie, A., Diamond, A., & Hainmueller, J. (2010). Synthetic control methods for comparative case studies: Estimating the effect of California's tobacco control program. Journal of the American Statistical Association, 105(490), 493–505. https://doi.org/10.1198/jasa.2009.ap08746
  3. Athey, S., Bayati, M., Doudchenko, N., Imbens, G., & Khosravi, K. (2021). Matrix completion methods for causal panel data models. Journal of the American Statistical Association, 116(536), 1716–1730. https://doi.org/10.1080/01621459.2021.1891924
  4. Ben-Michael, E., Feller, A., & Rothstein, J. (2021). The augmented synthetic control method. Journal of the American Statistical Association, 116(536), 1789–1803. https://doi.org/10.1080/01621459.2021.1929245
  5. Callaway, B., & Sant'Anna, P. H. C. (2021). Difference-in-differences with multiple time periods. Journal of Econometrics, 225(2), 200–230. https://doi.org/10.1016/j.jeconom.2020.12.001
🧬 Support Open Science
Explore interactive science games on LowKey Games or browse scientific apparel & accessories in the CRV Science Shop.
💡 Spot an inaccuracy or have primary literature to expand this article?
Submit a citation or revision note using your shared CRV Science / LowKey Games profile ID.
Suggest Revision