Package: contdid
Title: Difference-in-Differences with a Continuous Treatment
Version: 0.1.0
Authors@R: c(person("Brantly", "Callaway", email = "brantly.callaway@uga.edu", role = c("aut", "cre")),
             person("Andrew", "Goodman-Bacon", email = "andrew@goodman-bacon.com", role = c("aut")),
             person("Pedro H. C.", "Sant'Anna", email="pedro.h.santanna@emory.edu", role = c("aut")))
Description: Provides methods for difference-in-differences with a continuous treatment and staggered treatment adoption. Includes estimation of treatment effects and causal responses as a function of the dose, event studies indexed by length of exposure to the treatment, and aggregation into overall average effects. Uniform inference procedures are included, along with both parametric and nonparametric models for treatment effects. The methods are based on Callaway, Goodman-Bacon, and Sant'Anna (2025) <doi:10.48550/arXiv.2107.02637>.
Depends: R (>= 4.1.0),
License: GPL-3
Encoding: UTF-8
Imports: BMisc (>= 1.4.8), ptetools, checkmate, splines2, sandwich,
        ggplot2, MASS, npiv
RoxygenNote: 7.3.2
URL: https://bcallaway11.github.io/contdid/,
        https://github.com/bcallaway11/contdid
BugReports: https://github.com/bcallaway11/contdid/issues
Suggests: testthat (>= 3.0.0), tidyr
Config/testthat/edition: 3
NeedsCompilation: no
Packaged: 2025-06-28 03:19:14 UTC; bmc43193
Author: Brantly Callaway [aut, cre],
  Andrew Goodman-Bacon [aut],
  Pedro H. C. Sant'Anna [aut]
Maintainer: Brantly Callaway <brantly.callaway@uga.edu>
Repository: CRAN
Date/Publication: 2025-07-03 15:10:02 UTC
Built: R 4.6.0; ; 2026-04-30 19:23:00 UTC; unix
