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.
Estimates group-time average treatment effects in panels with missing outcomes by the chained difference-in-differences method of Bellégo, Benatia and Dortet-Bernadet (2025) <doi:10.1016/j.jeconom.2024.105783>. The package extends 'did' and retains the att_gt() and aggte() interfaces. Chained estimation combines observed changes within units by the generalized method of moments. It supports inverse probability weighting, outcome regression and doubly robust estimation. Missing outcomes can be handled by observation weighting, imputation of outcome changes, or an augmented combination of both. Users can choose comparison groups and parallel trends assumptions, fit linear cohort-by-date fixed effects, test trends before treatment, and inspect fitted regression models. A separate analysis estimates the effects of starting and stopping a binary treatment under no carryover. Ordinary mode uses the estimators of Callaway and Sant'Anna (2021) <doi:10.1016/j.jeconom.2020.12.001>.
| Version: | 1.4.0.0 |
| Depends: | R (≥ 4.1.0) |
| Imports: | did (≥ 2.5.1), DRDID (≥ 1.4.0), parallel, rlang (≥ 1.1.0) |
| Suggests: | testthat (≥ 3.0.0), codetools, digest, ggplot2, knitr, rmarkdown, generics, jsonlite, waldo, withr |
| Published: | 2026-11-25 |
| DOI: | 10.32614/CRAN.package.cdid |
| Author: | David Benatia [cre, aut], Christophe Bellégo [aut], Joel Cuerrier [aut], Vincent Dortet-Bernadet [aut] |
| Maintainer: | David Benatia <david.benatia at hec.ca> |
| BugReports: | https://github.com/dvbn/cdid/issues |
| License: | GPL-3 |
| URL: | https://github.com/dvbn/cdid |
| NeedsCompilation: | yes |
| Citation: | cdid citation info |
| Materials: | README, NEWS |
| CRAN checks: | cdid results |
| Reference manual: | cdid.html , cdid.pdf |
| Vignettes: |
Getting Started with cdid (source, R code) |
| Package source: | cdid_1.4.0.0.tar.gz |
| Windows binaries: | r-devel: cdid_1.4.0.0.zip, r-release: cdid_1.4.0.0.zip, r-oldrel: cdid_1.3.0.1.zip |
| macOS binaries: | r-release (arm64): cdid_1.4.0.0.tgz, r-oldrel (arm64): cdid_1.4.0.0.tgz, r-release (x86_64): cdid_1.4.0.0.tgz, r-oldrel (x86_64): cdid_1.4.0.0.tgz |
| Old sources: | cdid archive |
Please use the canonical form https://CRAN.R-project.org/package=cdid 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.