Package: did2s
Title: Two-Stage Difference-in-Differences Following Gardner (2021)
Version: 1.0.2
Authors@R: 
    c(person(given = "Kyle",
             family = "Butts",
             role = c("aut","cre"),
             email = "kyle.butts@colorado.edu",
             comment = c(ORCID = "0000-0002-9048-8059")),
      person(given = "John",
             family = "Gardner",
             role = "aut",
             email = "jrgardne@olemiss.edu",
             comment = c(ORCID = "0000-0002-4028-6862")),
      person(given = "Grant",
             family = "McDermott",
             role = "ctb",
             email = "grantmcd@uoregon.edu",
             comment = c(ORCID = "0000-0001-7883-8573")),
      person(given = "Laurent",
             family = "Berge",
             role = "ctb",
             email = "laurent.berge@u-bordeaux.fr"))
Description: 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.
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.2.3
Depends: R (>= 3.5.0), fixest (>= 0.10.1)
Imports: data.table, SparseM, MatrixExtra, Matrix, stats, boot, broom,
        ggplot2, rlang, did, staggered, didimputation
URL: https://kylebutts.github.io/did2s/
Suggests: rmarkdown, knitr, haven, testthat (>= 3.0.0)
VignetteBuilder: knitr
Config/testthat/edition: 3
NeedsCompilation: no
Packaged: 2023-04-02 18:41:56 UTC; kylebutts
Author: Kyle Butts [aut, cre] (<https://orcid.org/0000-0002-9048-8059>),
  John Gardner [aut] (<https://orcid.org/0000-0002-4028-6862>),
  Grant McDermott [ctb] (<https://orcid.org/0000-0001-7883-8573>),
  Laurent Berge [ctb]
Maintainer: Kyle Butts <kyle.butts@colorado.edu>
Repository: CRAN
Date/Publication: 2023-04-07 15:50:02 UTC
Built: R 4.4.0; ; 2024-04-28 03:06:08 UTC; unix
