multiDiff | R Documentation |
This R package implements the multi-period diff-diff as discussed in Imai and Kim (2019) and Chaisemartin and Hautfeuille (2019), as well as the Gibbons et al decomposition, and simple event study function.
Main functions are DD
, and DiD_aggreg
.
Function sim_dat
simulates a dataset for the example.
To install: devtools::install_github("MatthieuStigler/multiDiff", upgrade = "never")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.