did2s: Two-Stage Difference-in-Differences Following Gardner (2021)

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: 1.0.1
Depends: R (≥ 3.5.0), fixest (≥ 0.10.1)
Imports: data.table, ggplot2, glue, stats, stringr, rlang, Matrix, Rcpp, did, broom, methods, staggered, didimputation, boot
LinkingTo: RcppArmadillo, Rcpp
Suggests: rmarkdown, knitr, haven, testthat (≥ 3.0.0)
Published: 2023-03-28
Author: Kyle Butts ORCID iD [aut, cre], John Gardner ORCID iD [aut], Grant McDermott ORCID iD [ctb], Laurent Berge [ctb]
Maintainer: Kyle Butts <kyle.butts at colorado.edu>
License: MIT + file LICENSE
URL: https://kylebutts.github.io/did2s/
NeedsCompilation: yes
Citation: did2s citation info
Materials: README NEWS
In views: Econometrics
CRAN checks: did2s results


Reference manual: did2s.pdf
Vignettes: Two-Stage Difference-in-Differences


Package source: did2s_1.0.1.tar.gz
Windows binaries: r-devel: did2s_1.0.0.zip, r-release: did2s_1.0.1.zip, r-oldrel: did2s_1.0.0.zip
macOS binaries: r-release (arm64): did2s_1.0.0.tgz, r-oldrel (arm64): did2s_1.0.0.tgz, r-release (x86_64): did2s_1.0.1.tgz, r-oldrel (x86_64): did2s_1.0.1.tgz
Old sources: did2s archive


Please use the canonical form https://CRAN.R-project.org/package=did2s to link to this page.