The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

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) <doi:10.48550/arXiv.2207.05943>. 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.2
Depends: R (≥ 3.5.0), fixest (≥ 0.10.1)
Imports: data.table, SparseM, MatrixExtra, Matrix, stats, boot, broom, ggplot2, rlang, did, staggered, didimputation
Suggests: rmarkdown, knitr, haven, testthat (≥ 3.0.0)
Published: 2023-04-07
DOI: 10.32614/CRAN.package.did2s
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: no
Citation: did2s citation info
Materials: README NEWS
In views: Econometrics
CRAN checks: did2s results

Documentation:

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

Downloads:

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

Linking:

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.