Synthetic Difference-in-Differences (SDID)
- Synthetic Difference-in-Differences (SDID) is a causal inference method that integrates DiD and Synthetic Control features to reliably estimate treatment effects in panel data.
- It constructs unit and time weights to optimize pre-treatment balance, thereby reducing bias and enhancing precision under latent factor models.
- SDID employs advanced inference techniques, including bootstrap and placebo tests, to deliver robust and valid confidence intervals.
Synthetic Difference-in-Differences (SDID) is an estimator for causal inference in panel and repeated cross-sectional data that integrates key features from both Difference-in-Differences (DiD) and Synthetic Control (SC) methodologies. By constructing both unit and time weights to optimize pre-treatment balance, SDID achieves robustness to latent confounding and offers substantial improvements in bias and precision over classical methods. It is consistent under general latent factor models and enables principled inference through a suite of bootstrap and placebo-based procedures.
1. Theoretical Formulation and Assumptions
SDID is built on the potential outcomes framework in the context of panel data. Let units be observed over periods , with potential outcomes (untreated) and (treated). The observed outcome is , where is the binary treatment indicator, typically assigned to certain units after a specified treatment adoption date .
The central goal is to impute the post-treatment counterfactuals for treated units and periods, and thereby to estimate the average treatment effect on the treated (ATT):
The untreated potential outcomes are assumed to satisfy an interactive fixed effects (latent factor) model:
with and being unobserved unit and time factors, respectively, and a mean-zero noise term (Arkhangelsky et al., 2018, Clarke et al., 2023).
Consistency of SDID requires (i) the latent factor model is well-approximated at low rank, (ii) donor (control) units span the latent space of treated units, and (iii) sufficient pre-treatment periods and control units to estimate balancing weights (Arkhangelsky et al., 2018, Morin, 2024). A “weighted parallel trends” assumption after adjustment is also required (Doudchenko et al., 2016).
2. Methodology and Estimator Construction
SDID employs a two-step weighting scheme: synthetic control-style unit weights and “synthetic time” weights. The resulting ATT estimator is obtained by a weighted two-way fixed effects regression.
a) Unit Weights (Synthetic Control Step)
For never-treated units (controls), nonnegative weights are chosen to match the pre-treatment mean outcome trajectory of the treated cohort. Specifically,
where averages the treated units' outcomes in period and is a regularization parameter (Arkhangelsky et al., 2018, Quispe et al., 2024).
b) Time Weights ("Synthetic Time" Step)
For pre-treatment periods, time weights are selected by matching the post-treatment average of controls:
where is the post-treatment mean outcome for control unit (Arkhangelsky et al., 2018, Mirzaei, 2023).
c) Weighted Two-Way Fixed Effects Regression
With estimated unit and time weights, the ATT is recovered by solving:
Equivalently, the estimator is a “double-difference” of post- versus pre-treatment outcomes, across treatment groups and periods, each reweighted to optimize pre-treatment balance (Arkhangelsky et al., 2018, Clarke et al., 2023).
d) Generalization and Relation to Existing Methods
- If , : reduces to standard two-way FE DiD.
- If , : reduces to classical SC estimator.
- SDID is thus a superset of both DiD and SC approaches (Doudchenko et al., 2016).
3. Extensions: Staggered Adoption, Event Studies, and Repeated Cross Sections
a) Staggered Treatment and Event-Study Estimation
For staggered adoption (treatment at multiple points in time), cohort-by-cohort SDID is implemented. For each adoption cohort , weights are estimated, and cohort-specific ATTs are aggregated:
Event-study (dynamic effect) estimators decompose SDID into period-by-period effects, facilitating the recovery of a full event-time response curve (Ciccia, 2024).
b) Sequential SDID for Panel Event Studies
The Sequential SDID estimator iteratively applies SDID imputation to aggregated cohort data, treating prior cohort effects as known features for later cohorts. The sequential estimator is asymptotically equivalent to an oracle OLS estimator in a linear interactive fixed effects model:
with weights determined by pre-treatment minimization problems (Arkhangelsky et al., 2024).
c) Repeated Cross-Sectional Data
RC-SDID adapts SDID for repeated cross-sectional settings where group-period cells have unequal sizes. After group-level aggregation, an additional cross-sectional weight is applied per individual, preserving unbiasedness under the latent factor model even with heteroskedastic cell sizes (Morin, 2024, Sun et al., 14 Mar 2025).
4. Identification, Robustness, and Semiparametric Properties
SDID identification is doubly robust in the sense of (Sun et al., 14 Mar 2025): the estimator is consistent if either parallel trends holds (as in DiD) or the synthetic control construction is valid (as in SC). The doubly robust moment function
identifies the ATT under either assumption.
Orthogonality (Neyman orthogonality) holds under parallel trends, making the estimator amenable to semiparametric/machine learning adjustment for high-dimensional covariates, while non-orthogonality under SC requires accounting for the first-stage estimation error.
5. Inference Procedures
Multiple inference techniques ensure valid confidence intervals for SDID:
- Bootstrap over units: Sample treated or control units with replacement, re-estimate weights, and recompute the ATT in each draw (Arkhangelsky et al., 2018, Clarke et al., 2023).
- Jackknife: Systematically omit each unit, recompute the estimator, and aggregate leave-one-out variances (Clarke et al., 2023).
- Placebo/Permutation Test: Randomly assign “placebo” treatment among controls to simulate the finite-sample distribution (Arkhangelsky et al., 2018).
- Multiplier bootstrap: For doubly robust SDID (with group structure and covariates), the multiplier bootstrap accommodates both parallel trends and SC identification modes (Sun et al., 14 Mar 2025).
- Bayesian bootstrap: Used for cohort-aggregated data in Sequential SDID (Arkhangelsky et al., 2024).
6. Empirical and Simulation Performance
Simulation studies consistently demonstrate that SDID outperforms standard DiD and SC estimators in mean-squared prediction error, bias, and coverage under interactive fixed effects (latent factor) models—especially when parallel trends are violated or the treated units are outside the convex hull of the controls (Arkhangelsky et al., 2018, Doudchenko et al., 2016, Morin, 2024, Arkhangelsky et al., 2024). In canonical policy evaluation applications (e.g., California smoking, German reunification, Mariel Boatlift), SDID displays lower bias and variance as well as credible standard errors (Doudchenko et al., 2016).
Empirical applications—including the impact of ChatGPT bans on software development productivity, and the Alaska minimum wage increase on family income—adopt SDID for estimation and inference, finding stable and interpretable effects with robust uncertainty quantification (Quispe et al., 2024, Sun et al., 14 Mar 2025).
7. Implementation and Computational Considerations
SDID is implemented in standard statistical software via open-source packages (e.g., R: synthdid; Stata: sdid, sdid_event) (Clarke et al., 2023, Ciccia, 2024). The estimation procedure entails solving regularized quadratic programs for unit and time weights under simplex constraints. Parameter regularization is tuned via closed-form or cross-validation to balance bias and variance. For repeated cross-sectional data, standard QP solvers accommodate the cell-weight adjustments (Morin, 2024).
Extensions include the handling of covariates (via projected or optimized approaches), multi-period and cohort-specific treatment adoption, event-study effect decomposition, and machine learning-based flexible adjustment for nuisance functions (Sun et al., 14 Mar 2025, Clarke et al., 2023, Ciccia, 2024).
References: Key methodological contributions are synthesized from (Arkhangelsky et al., 2018, Clarke et al., 2023, Sun et al., 14 Mar 2025, Doudchenko et al., 2016, Arkhangelsky et al., 2024, Ciccia, 2024, Morin, 2024), and (Quispe et al., 2024). These works formalize SDID’s properties, extensions, and implementation.