# 合成双重差分法

**合成双重差分法（Synthetic difference-in-differences，简称SDID）** 是一种针对面板数据的因果效应估计方法，它将合成控制法的加权逻辑与双重差分法的双向固定效应回归结合起来。该方法由德米特里·阿尔汉格尔斯基（Dmitry Arkhangelsky，马德里货币与金融研究中心）、苏珊·阿西（Susan Athey）、戴维·A·赫什伯格（David A. Hirshberg）、吉多·W·因本斯（Guido W. Imbens）和斯特凡·瓦格（Stefan Wager，后四位均来自斯坦福大学）于2018年在一篇arXiv预印本中提出，并于2021年12月在《美国经济评论》上正式发表。<sup>[1](https://www.aeaweb.org/articles?ArticleSearch%5Bq%5D=&ArticleSearch%5Bwithin%5D%5Barticleabstract%5D=1&ArticleSearch%5Bwithin%5D%5Barticletitle%5D=1&ArticleSearch%5Bwithin%5D%5Bauthorlast%5D=1&JelClass%5Bvalue%5D=I1&id=10.1257%2Faer.20190159&page=6)</sup><sup> • </sup><sup>[2](https://arxiv.org/abs/1812.09970)</sup>

| 关键事实 | 详情 |
|---|---|
| 发表信息 | 阿尔汉格尔斯基、阿西、赫什伯格、因本斯和瓦格，《美国经济评论》111 (12): 4088–4118，2021年12月<sup>[1](https://www.aeaweb.org/articles?ArticleSearch%5Bq%5D=&ArticleSearch%5Bwithin%5D%5Barticleabstract%5D=1&ArticleSearch%5Bwithin%5D%5Barticletitle%5D=1&ArticleSearch%5Bwithin%5D%5Bauthorlast%5D=1&JelClass%5Bvalue%5D=I1&id=10.1257%2Faer.20190159&page=6)</sup> |
| 预印本历史 | arXiv 2018年12月24日；NBER工作论文第25532号，2019年2月，2021年7月修订<sup>[2](https://arxiv.org/abs/1812.09970)</sup><sup> • </sup><sup>[3](https://www.nber.org/papers/w25532.pdf)</sup> |
| 核心机制 | 以非负单位权重 \( \omega \) 和时间权重 \( \lambda \) 加权的双向固定效应回归，两组权重各自之和为一，并含有一个截距项以容许处理组与控制组之间存在常数水平差异<sup>[4](https://arxiv.org/html/1812.09970)</sup> |
| 正则化 | 单位权重带有岭惩罚，调节参数为 \( \zeta = (N_{\mathrm{tr}} T_{\mathrm{post}})^{1/4} \hat{\sigma} \)，其中 \( \hat{\sigma} \) 为控制组单位在干预前期间单期结果变化的标准差<sup>[4](https://arxiv.org/html/1812.09970)</sup> |
| 理论性质 | 在单位因子与时间因子交互的潜因子模型下，证明了一致性与渐近正态性<sup>[1](https://www.aeaweb.org/articles?ArticleSearch%5Bq%5D=&ArticleSearch%5Bwithin%5D%5Barticleabstract%5D=1&ArticleSearch%5Bwithin%5D%5Barticletitle%5D=1&ArticleSearch%5Bwithin%5D%5Bauthorlast%5D=1&JelClass%5Bvalue%5D=I1&id=10.1257%2Faer.20190159&page=6)</sup> |
| 加州第99号提案估计值 | SDID为−15.6（标准误8.4），合成控制法为−19.6（9.9），双重差分法为−27.3（17.7），矩阵补全法为−20.2（11.5），带截距的合成控制法为−11.1（9.5）<sup>[4](https://arxiv.org/html/1812.09970)</sup> |
| 软件 | R包 `synthdid` 与Stata命令 `sdid`，后者还在同一框架内实现了标准合成控制法和双重差分法<sup>[5](https://journals.sagepub.com/doi/10.1177/1536867X241297914)</sup> |

## 动机：两种母方法

双重差分法（DID）通过比较处理组与控制组在干预前后的变化来估计政策效应。它允许组间存在常数水平差异，但依赖于平行趋势假设：若无处理，两组的结果本应平行变动。合成控制法（SC）由阿尔贝托·阿巴迪（Alberto Abadie）及其合作者提出，转而构建一个由未受处理的供体单位组成的加权组合，使其匹配处理单位在干预前的结果，从而弱化了对平行趋势的依赖，但它要求匹配处理单位的水平，且在大面板推断方面能力有限。<sup>[4](https://arxiv.org/html/1812.09970)</sup><sup> • </sup><sup>[5](https://journals.sagepub.com/doi/10.1177/1536867X241297914)</sup>

SDID的作者认为，尽管这两种方法通常应用于不同的情境（DID适用于处理单位较多的情况，SC适用于处理单位为一个或少数几个的情况），但为它们提供正当性的假设彼此密切相关，因此他们提出了一种兼具两者特征的估计量。<sup>[4](https://arxiv.org/html/1812.09970)</sup>

## 估计量的运作方式

**设定。** 输入为一个平衡面板，包含 \( N \) 个单位，观测 \( T \) 个时期，结果变量为 \( Y_{it} \)，二元处理变量为 \( W_{it} \)。在基准的区块处理情形中，最后 \( N_{\mathrm{tr}} \) 个单位从第 \( T_{\mathrm{pre}} + 1 \) 期起接受处理，前 \( N_{\mathrm{co}} \) 个单位从未接受处理。<sup>[4](https://arxiv.org/html/1812.09970)</sup>

**单位权重。** 对控制单位施加非负权重 \( \hat{\omega}^{\mathrm{sdid}} \)，其和为一，选取原则是使加权后的控制组结果能够追踪处理组在干预前的平均结果。与合成控制权重不同，这里允许存在截距 \( \omega_0 \)，因此加权控制组的趋势只需与处理组趋势平行，而不必完全相同；回归中的单位固定效应会吸收任何常数差异。带有调节参数 \( \zeta \) 的岭惩罚使权重分散，并确保其唯一性。<sup>[4](https://arxiv.org/html/1812.09970)</sup>

**时间权重。** 对干预前各期施加非负权重 \( \hat{\lambda}^{\mathrm{sdid}} \)，其和为一，选取原则是使每个控制单位在干预前期间的加权平均值与其干预后期间的平均值之差为一个常数。这强调了与干预后期间相似的干预前时期，与对所有干预前时期等权处理的双重差分法形成对照，也与通常将所有权重置于最后一个干预前时期的事件研究法不同。<sup>[4](https://arxiv.org/html/1812.09970)</sup>

**加权回归。** 处理效应随后通过双向固定效应回归估计：

\[ \left( \hat{\tau}^{\mathrm{sdid}}, \hat{\mu}, \hat{\alpha}, \hat{\beta} \right) = \arg\min_{\tau, \mu, \alpha, \beta} \left\{ \sum_{i=1}^{N} \sum_{t=1}^{T} \left( Y_{it} - \mu - \alpha_i - \beta_t - W_{it} \tau \right)^2 \hat{\omega}_i^{\mathrm{sdid}} \hat{\lambda}_t^{\mathrm{sdid}} \right\}. \]

双重差分法是同一回归取等权重的情形；合成控制法保留单位权重，但去掉了单位固定效应和时间权重。作者将这种加权描述为使回归局部化，即强调与受处理单位和时期相似的单位和时期，这可以减少偏差，且往往能提高精度，尽管在系统性异质性很小时，不等权重可能反而降低精度。<sup>[4](https://arxiv.org/html/1812.09970)</sup><sup> • </sup><sup>[5](https://journals.sagepub.com/doi/10.1177/1536867X241297914)</sup>

## 推断与理论

在适当条件下，该估计量渐近服从高斯分布，其渐近方差 \( V_{\tau} \) 由处理观测的抽样误差决定，与估计权重中的噪声无关，因此在构建置信区间时可以将权重视为固定。<sup>[6](https://arefiles.ucdavis.edu/uploads/filer_public/70/71/7071d699-cc10-43d4-8289-d44be00671b3/synth_did_feb17.pdf)</sup> 方差估计采用刀切法，即每次从加权回归中省略一行（一个单位），该方法设计上对单位内相关的误差具有稳健性；也可采用安慰剂检验和自助法程序。<sup>[6](https://arefiles.ucdavis.edu/uploads/filer_public/70/71/7071d699-cc10-43d4-8289-d44be00671b3/synth_did_feb17.pdf)</sup><sup> • </sup><sup>[5](https://journals.sagepub.com/doi/10.1177/1536867X241297914)</sup> 当结果模型的系统性部分包含潜单位因子与潜时间因子的交互时，一致性与渐近正态性得以确立，论文表明，正是双重差分、单位权重与时间权重的结合减少了偏差。<sup>[1](https://www.aeaweb.org/articles?ArticleSearch%5Bq%5D=&ArticleSearch%5Bwithin%5D%5Barticleabstract%5D=1&ArticleSearch%5Bwithin%5D%5Barticletitle%5D=1&ArticleSearch%5Bwithin%5D%5Bauthorlast%5D=1&JelClass%5Bvalue%5D=I1&id=10.1257%2Faer.20190159&page=6)</sup><sup> • </sup><sup>[7](https://file-lianxh.oss-cn-shenzhen.aliyuncs.com/Refs/Paper2022/Arkhangelsky-2021-Synthetic-Difference-In-Differences.pdf)</sup>

## 加州第99号提案的应用

论文重新审视了加州第99号提案——1989年的一项香烟税上调——对人均香烟消费量的影响，使用1970年至2000年间39个州的数据：19个干预前年份、12个干预后年份、38个控制州和1个处理州。<sup>[4](https://arxiv.org/html/1812.09970)</sup> 朴素的双重差分法假设了平行预趋势，而原始数据并不支持这一假设，其估计值为每年−27.3包（标准误17.7）；合成控制法为−19.6（9.9）；SDID为−15.6（8.4）。尽管SDID和合成控制法具有更大的灵活性，其标准误却小于双重差分法，作者将此归因于加权带来的局部拟合改善。<sup>[4](https://arxiv.org/html/1812.09970)</sup> 在此应用中，SDID对控制州重新赋权，使其趋势与加州干预前的趋势平行（不必完全相同），然后对重新加权后的面板实施双重差分分析，并聚焦于由时间权重选出的干预前时期。<sup>[4](https://arxiv.org/html/1812.09970)</sup>

## 扩展与软件

**交错采纳。** 原论文勾勒了向各单位在不同时间采纳处理的情形的扩展；克拉克（Clarke）、派拉尼尔（Pailañir）、阿西和因本斯将这一交错时点估计量形式化，该工作中的模拟证据将与双向固定效应估计的差异归因于数据生成过程更接近SDID的潜因子模型，而非可加固定效应。<sup>[8](https://www.sciencedirect.com/science/article/pii/S0165176522003482)</sup> 约安·莫兰（Yoann Morin）将该方法适配于重复横截面数据，针对横截面规模不同增加了第三类权重。<sup>[9](https://arxiv.org/abs/2409.20199)</sup>

**软件。** 作者的R包 `synthdid` 实现了该估计量，并提供安慰剂检验和刀切法方差选项。<sup>[10](https://synth-inference.github.io/synthdid/)</sup> 克拉克和派拉尼尔的Stata命令 `sdid` 在同一框架内实现了SDID以及标准合成控制法和双重差分法，支持交错采纳，并提供自助法、刀切法和安慰剂推断。<sup>[5](https://journals.sagepub.com/doi/10.1177/1536867X241297914)</sup>

## 在方法文献中的位置

罗斯（Roth）、桑特安娜（Sant'Anna）、比林斯基（Bilinski）和波（Poe）在2023年对双重差分计量经济学文献的综述中，将近期进展归类为对经典设定的三个方向的放松：多期且处理时点存在变异、平行趋势的潜在违背，以及替代性推断框架；SDID属于第二条脉络，通过重新加权来放松平行趋势要求。<sup>[11](https://www.sciencedirect.com/science/article/pii/S0304407623001318)</sup> 比较性能取决于具体情境：美联储一项评估在13种估计量上运行了超过134,000个州级安慰剂事件研究，发现没有单一方法占优，类合成控制方法有时优于、有时劣于类双向固定效应方法和匹配方法，且不同州之间的性能差异至少与不同估计量之间的差异一样大。<sup>[12](https://www.federalreserve.gov/econres/feds/an-evaluation-of-difference-in-differences-methods-using-placebo-event-studies.htm)</sup>

## References

1. [Arkhangelsky, D., Athey, S., Hirshberg, D. A., Imbens, G. W., and Wager, S. (2021). "Synthetic Difference-in-Differences." *American Economic Review* 111 (12): 4088–4118.](https://www.aeaweb.org/articles?ArticleSearch%5Bq%5D=&ArticleSearch%5Bwithin%5D%5Barticleabstract%5D=1&ArticleSearch%5Bwithin%5D%5Barticletitle%5D=1&ArticleSearch%5Bwithin%5D%5Bauthorlast%5D=1&JelClass%5Bvalue%5D=I1&id=10.1257%2Faer.20190159&page=6)
2. [Arkhangelsky et al. (2018, rev. 2021). "Synthetic Difference in Differences." arXiv:1812.09970.](https://arxiv.org/abs/1812.09970)
3. [Arkhangelsky et al. "Synthetic Difference In Differences." NBER Working Paper No. 25532.](https://www.nber.org/papers/w25532.pdf)
4. [Arkhangelsky et al. "Synthetic Difference in Differences" (full text, arXiv HTML).](https://arxiv.org/html/1812.09970)
5. [Clarke, D., Pailañir, D., Athey, S., and Imbens, G. (2024). "On synthetic difference-in-differences and related estimation methods in Stata." *The Stata Journal* 24 (4).](https://journals.sagepub.com/doi/10.1177/1536867X241297914)
6. [Arkhangelsky et al. "Synthetic Difference In Differences" (working paper PDF, UC Davis mirror).](https://arefiles.ucdavis.edu/uploads/filer_public/70/71/7071d699-cc10-43d4-8289-d44be00671b3/synth_did_feb17.pdf)
7. [*American Economic Review* 111 (12) full issue PDF containing the article.](https://file-lianxh.oss-cn-shenzhen.aliyuncs.com/Refs/Paper2022/Arkhangelsky-2021-Synthetic-Difference-In-Differences.pdf)
8. [Clarke, D., Pailañir, D., Athey, S., and Imbens, G. (2022). "Synthetic difference-in-differences estimation with staggered treatment timing." *Economics Letters* 220: 110874.](https://www.sciencedirect.com/science/article/pii/S0165176522003482)
9. [Morin, Y. (2024). "Synthetic Difference in Differences for Repeated Cross-Sectional Data." arXiv:2409.20199.](https://arxiv.org/abs/2409.20199)
10. [synthdid: Synthetic Difference-in-Difference Estimation, R package documentation.](https://synth-inference.github.io/synthdid/)
11. [Roth, J., Sant'Anna, P. H. C., Bilinski, A., and Poe, J. (2023). "What's trending in difference-in-differences? A synthesis of the recent econometrics literature." *Journal of Econometrics* 235 (2): 2218–2244.](https://www.sciencedirect.com/science/article/pii/S0304407623001318)
12. [Coglianese, J., and Fang, J. A. "An Evaluation of Difference-in-Differences Methods Using Placebo Event Studies." Federal Reserve FEDS.](https://www.federalreserve.gov/econres/feds/an-evaluation-of-difference-in-differences-methods-using-placebo-event-studies.htm)

---
*Initially written Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Applied, official, and domain statistics › Causal inference (applied methodology) › Treatment-effect estimation methods

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/synthetic-difference-in-differences

English original: https://www.edgepedia.org/synthetic-difference-in-differences
