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: 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 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: http://kylebutts.com/did2s/
NeedsCompilation: yes
Citation: did2s citation info
Materials: README NEWS
CRAN checks: did2s results

Documentation:

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

Downloads:

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

Linking:

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