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.


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("did2s")

0.4.0 by Kyle Butts, 24 days ago


http://kylebutts.com/did2s/


Browse source code at https://github.com/cran/did2s


Authors: Kyle Butts [aut, cre] , John Gardner [aut] , Grant McDermott [ctb]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports dplyr, magrittr, ggplot2, glue, stats, stringr, rlang, tibble, tidyr, rsample, purrr, cli, Matrix, Rcpp, did, broom, methods, staggered, didimputation, gt

Depends on fixest

Suggests rmarkdown, knitr, haven, testthat

Linking to RcppArmadillo, Rcpp


See at CRAN