Skip to main content
QUICK REVIEW

[论文解读] Difference in Differences with Time-Varying Covariates

Carolina Caetano, Brantly Callaway|arXiv (Cornell University)|Feb 7, 2022
Advanced Causal Inference TechniquesMathematics被引用 17
一句话总结

本文识别并解决了在存在时变和时不变协变量时,使用双向固定效应(TWFE)回归进行双重差分(DiD)分析所存在的关键缺陷。本文提出了一种类双重稳健估计量,可纠正隐藏线性偏差、负权重以及权重反转问题,确保在比TWFE更弱的假设下实现一致估计。

ABSTRACT

This paper considers identification and estimation of causal effect parameters from participating in a binary treatment in a difference in differences (DID) setup when the parallel trends assumption holds after conditioning on observed covariates. Relative to existing work in the econometrics literature, we consider the case where the value of covariates can change over time and, potentially, where participating in the treatment can affect the covariates themselves. We propose new empirical strategies in both cases. We also consider two-way fixed effects (TWFE) regressions that include time-varying regressors, which is the most common way that DID identification strategies are implemented under conditional parallel trends. We show that, even in the case with only two time periods, these TWFE regressions are not generally robust to (i) time-varying covariates being affected by the treatment, (ii) treatment effects and/or paths of untreated potential outcomes depending on the level of time-varying covariates in addition to only the change in the covariates over time, (iii) treatment effects and/or paths of untreated potential outcomes depending on time-invariant covariates, (iv) treatment effect heterogeneity with respect to observed covariates, and (v) violations of strong functional form assumptions, both for outcomes over time and the propensity score, that are unlikely to be plausible in most DID applications. Thus, TWFE regressions can deliver misleading estimates of causal effect parameters in a number of empirically relevant cases. We propose both doubly robust estimands and regression adjustment/imputation strategies that are robust to these issues while not being substantially more challenging to implement.

研究动机与目标

  • 识别并诊断在平行趋势假设条件依赖于时变和时不变协变量时,常用双向固定效应(TWFE)回归的若干关键缺陷。
  • 证明即使在两期设定下,TWFE回归仍存在隐藏线性偏差,且需对未处理潜在结果施加不切实际的限制。
  • 提出一种双重稳健估计策略,对结果回归模型和倾向得分模型的模型误设均具有鲁棒性。
  • 提供实用的诊断工具,用于检测隐藏线性偏差,并评估TWFE估计对关键识别假设违反的敏感性。
  • 提供一种简单、可实施的TWFE替代方法,可避免负权重和权重反转问题,同时在更弱的条件下保持一致性。

提出的方法

  • 为组别特定的处理组平均处理效应(ATT(g,t))提出一种双重稳健(DR)估计量,结合了结果回归与广义倾向得分模型。
  • 采用加权估计方程框架,其中权重函数用于调整基于时变和时不变协变量的处理选择。
  • 对广义倾向得分采用灵活的参数化模型:$ p_{g,t}(X_t, X_{g-1}, Z; ´\boldsymbol{\theta}_{g,t}) = \Phi\big( (X_t - X_{g-1})' \phi^{\text{change}}_{t,g-1} + X_{g-1}' \phi^{\text{level}}_{t,g-1} + Z' \phi^{Z}_{t,g-1} \big) $,其中 $ \Phi $ 为已知的累积分布函数。
  • 推导出DR估计量为 $ \widehat{ATT}^{DR}(g,t) = \frac{1}{n} \sum_{i=1}^n w^{DR}_{g,t}(W_{igt}; \hat{\phi}_{g,t}) \big( (Y_{it} - Y_{ig-1}) - m_{g,t}(X_{it}, X_{ig-1}, Z_i; \hat{\lambda}_{g,t}) \big) $,其中权重用于校正选择偏差与不平衡。
  • 在正则性条件下,证明DR估计量具有渐近正态性与根n一致性,且只要结果回归或倾向得分模型之一被正确设定即可。

实验结果

研究问题

  • RQ1当平行趋势假设条件依赖于时变和时不变协变量时,TWFE回归在两期设定下的表现如何?
  • RQ2在处理时间固定的情况下,TWFE回归在存在时变协变量时的具体识别失败机制是什么?
  • RQ3TWFE回归在多大程度上受到隐藏线性偏差的影响,即未处理潜在结果的趋势是否依赖于协变量水平或时不变特征?
  • RQ4是否可以构建一种双重稳健估计量,使其在结果模型或倾向得分模型之一误设时仍保持一致性?
  • RQ5研究人员如何诊断并评估在协变量存在下的实证DiD应用中隐藏线性偏差的影响?

主要发现

  • TWFE回归对隐藏线性偏差不具稳健性:即使在两期设定下,也要求未处理潜在结果不依赖于时变协变量水平或时不变协变量。
  • 即使不存在隐藏线性偏差,TWFE回归仍可能因负权重和权重反转问题而产生误导性估计。
  • 所提出的双重稳健估计量 $ \widehat{ATT}^{DR}(g,t) $ 在更弱的条件下保持一致性:只要结果回归或广义倾向得分模型之一被正确设定即可。
  • DR估计量具有渐近正态性,可通过乘数自展法进行有效推断,如附录中所示。
  • 本文提供了实用的诊断工具,用于评估实证应用中因TWFE回归误设而产生的偏差程度。
  • R包 `pte` 实现了所提出的估计量,使该方法在实证研究中可轻松应用。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。