Estimates Two-way Fixed Effects difference-in-differences/event-study models using the approach proposed by Gardner (2021). To avoid the problems caused by OLS estimation of the Two-way Fixed Effects model, this function first estimates the fixed effects and covariates using untreated observations and then in a second stage, estimates the treatment effects.
Version: |
0.7.0 |
Depends: |
R (≥ 3.5.0), fixest (≥ 0.10.1) |
Imports: |
data.table, ggplot2, glue, stats, stringr, rlang, cli, Matrix, Rcpp, did, broom, methods, staggered, didimputation, boot |
LinkingTo: |
RcppArmadillo, Rcpp |
Suggests: |
rmarkdown, knitr, haven, testthat (≥ 3.0.0) |
Published: |
2022-07-21 |
Author: |
Kyle Butts [aut,
cre],
John Gardner
[aut],
Grant McDermott
[ctb],
Laurent Berge [ctb] |
Maintainer: |
Kyle Butts <kyle.butts at colorado.edu> |
License: |
MIT + file LICENSE |
URL: |
http://kylebutts.com/did2s/ |
NeedsCompilation: |
yes |
Citation: |
did2s citation info |
Materials: |
README NEWS |
CRAN checks: |
did2s results |