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.4.0
Depends: R (≥ 2.10), fixest (≥ 0.9.0)
Imports: dplyr, magrittr, ggplot2, glue, stats, stringr, rlang, tibble, tidyr, rsample, purrr, cli, Matrix, Rcpp, did, broom, methods, staggered, didimputation, gt
LinkingTo: RcppArmadillo, Rcpp
Suggests: rmarkdown, knitr, haven, testthat (≥ 3.0.0)
Published: 2021-09-27
Author: Kyle Butts ORCID iD [aut, cre], John Gardner ORCID iD [aut], Grant McDermott ORCID iD [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.4.0.tar.gz
Windows binaries: r-devel: did2s_0.4.0.zip, r-devel-UCRT: did2s_0.4.0.zip, r-release: did2s_0.4.0.zip, r-oldrel: did2s_0.4.0.zip
macOS binaries: r-release (arm64): did2s_0.4.0.tgz, r-release (x86_64): did2s_0.4.0.tgz, r-oldrel: did2s_0.4.0.tgz

Linking:

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