contdid: Difference-in-Differences with a Continuous Treatment
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>.
Version: |
0.1.0 |
Depends: |
R (≥ 4.1.0) |
Imports: |
BMisc (≥ 1.4.8), ptetools, checkmate, splines2, sandwich, ggplot2, MASS, npiv |
Suggests: |
testthat (≥ 3.0.0), tidyr |
Published: |
2025-07-03 |
Author: |
Brantly Callaway [aut, cre],
Andrew Goodman-Bacon [aut],
Pedro H. C. Sant'Anna [aut] |
Maintainer: |
Brantly Callaway <brantly.callaway at uga.edu> |
BugReports: |
https://github.com/bcallaway11/contdid/issues |
License: |
GPL-3 |
URL: |
https://bcallaway11.github.io/contdid/,
https://github.com/bcallaway11/contdid |
NeedsCompilation: |
no |
Citation: |
contdid citation info |
Materials: |
README NEWS |
CRAN checks: |
contdid results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=contdid
to link to this page.