User Guides

These articles provide a general introduction to DiD with multiple time periods, an introduction to the R did package for estimating treatment effects, and details on how to use the did package to pre-test the parallel trends assumption underlying the DiD approach. We also provide a discussion on how one can build on the framework we put forward in Callaway and Sant’Anna (2020) and implemented in this package.

Introduction to DiD with Multiple Time Periods
Getting Started with the did Package
Problems with two-way fixed-effects event-study regressions
Pre-Testing in a DiD Setup using the did Package
Writing Extensions to the did Package