Movatterモバイル変換


[0]ホーム

URL:


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.2.0
Depends:R (≥ 3.5.0),fixest (≥ 0.13.2)
Imports:boot,broom,data.table,did,didimputation,dreamerr,ggplot2,HonestDiD,Matrix,rlang,staggered, stats
Suggests:haven,knitr,rmarkdown,testthat (≥ 3.0.0)
Published:2025-09-19
DOI:10.32614/CRAN.package.did2s
Author:Kyle ButtsORCID iD [aut, cre], John GardnerORCID iD [aut], Grant McDermottORCID iD [ctb], Laurent Berge [ctb]
Maintainer:Kyle Butts <buttskyle96 at gmail.com>
License:MIT + fileLICENSE
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.html ,did2s.pdf
Vignettes:Two-Stage Difference-in-Differences (source,R code)

Downloads:

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

Linking:

Please use the canonical formhttps://CRAN.R-project.org/package=did2sto link to this page.


[8]ページ先頭

©2009-2025 Movatter.jp