did
Treatment Effects with Multiple Periods and Groups
The standard Difference-in-Differences (DID) setup involves two periods and two groups – a treated group and untreated group. Many applications of DID methods involve more than two periods and have individuals that are treated at different points in time. This package contains tools for computing average treatment effect parameters in Difference in Differences setups with more than two periods and with variation in treatment timing using the methods developed in Callaway and Sant'Anna (2021)
- Version2.1.2
- R version≥ 3.5
- LicenseGPL-2
- Needs compilation?No
- did citation info
- Last release07/20/2022
Documentation
- VignetteProblems with two-way fixed-effects event-study regressions
- VignetteGetting Started with the did Package
- VignetteWriting Extensions to the did Package
- VignetteIntroduction to DiD with Multiple Time Periods
- VignettePre-Testing in a DiD Setup using the did Package
- MaterialREADME
- MaterialNEWS
- In ViewsCausalInference
- In ViewsEconometrics
Team
Brantly Callaway
Pedro H. C. Sant'Anna
Show author detailsRolesAuthor
Insights
Last 30 days
Last 365 days
The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.
Data provided by CRAN
Binaries
Dependencies
- Depends1 package
- Imports9 packages
- Suggests5 packages
- Reverse Imports2 packages
- Reverse Suggests3 packages