arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.05913econ.EM
收藏

{did2s}:两阶段双重差分法

{did2s}: Two-Stage Difference-in-Differences

Kyle Butts, John Gardner

AI总结:

本文介绍 R 包 did2s,实现 Gardner(2021)的两阶段双重差分估计量,并提供统一的事件研究估计与绘图接口,以应对处理时点异质性问题。

摘要:

近期研究强调,当不同单元的处理时点不同时,估计双重差分模型存在困难。本文介绍了 R 包 did2s,该包实现了 Gardner(2021)提出的估计量。文章对其背后的计量经济学理论进行了通俗易懂的综述,并介绍了 did2s 函数的语法。此外,该包还引入了 event_study 函数,为所有现代事件研究估计量提供统一语法,以及 plot_event_study 函数,用于绘制各估计量的结果。

英文摘要:

Recent work has highlighted the difficulties of estimating difference-in-differences models when treatment timing occurs at different times for different units. This article introduces the R package did2s which implements the estimator introduced in Gardner (2021). The article provides an approachable review of the underlying econometric theory and introduces the syntax for the function did2s. Further, the package introduces a function, event_study, that provides a common syntax for all the modern event-study estimators and plot_event_study to plot the results of each estimator.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑