Download the notebook here
!
Interactive online version:
Difference in Difference
References
Athey, S., & Imbens, G. (2021). Design-based analysis in difference-in-differences settings with staggered adoption, Journal of Econometrics.
Bertrand, M., Dufflo, E., & Mullainathan, S. (2004). How much should we trust differences-in-differences estimates?, The Quarterly Journal of Economics, 119(1), 249-275.
Goodman-Bacon, A. (2021). Difference-in-differences with variation in treatment timing, Journal of Econometrics, 255(2), 254-277.