CRAN/E | did2s

did2s

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

Installation

About

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.

Citation did2s citation info
kylebutts.github.io/did2s/

Key Metrics

Version 1.0.2
R ≥ 3.5.0
Published 2023-04-07 375 days ago
Needs compilation? no
License MIT
License File
CRAN checks did2s results

Downloads

Yesterday 13 0%
Last 7 days 102 -28%
Last 30 days 535 -6%
Last 90 days 1.998 +3%
Last 365 days 7.761 +23%

Maintainer

Maintainer

Kyle Butts

kyle.butts@colorado.edu

Authors

Kyle Butts

aut / cre

John Gardner

aut

Grant McDermott

ctb

Laurent Berge

ctb

Material

README
NEWS
Reference manual
Package source

In Views

Econometrics

Vignettes

Two-Stage Difference-in-Differences

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

did2s archive

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