The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

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
DOI: 10.32614/CRAN.package.contdid
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:

Reference manual: contdid.pdf

Downloads:

Package source: contdid_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: contdid_0.1.0.zip, r-oldrel: contdid_0.1.0.zip
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): contdid_0.1.0.tgz, r-oldrel (x86_64): contdid_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=contdid to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.