Package: cdid Type: Package Title: The Chained Difference-in-Differences Version: 1.2.0.1 Authors@R: c( person("David", "Benatia", email = "david.benatia@hec.ca", role = c("cre", "aut")), person("Christophe", "Bellégo", email = "christophe.bellego@ensae.fr", role = "aut"), person("Joel", "Cuerrier", email = "cuerrier.j.clg@gmail.com", role = c("aut")), person("Vincent", "Dortet-Bernadet", email = "vincent.dortet-bernadet@finances.gouv.fr", role = "aut") ) Maintainer: David Benatia Description: Estimates group-time average treatment effects in panels with missing outcomes by the chained difference-in-differences of Bellégo, Benatia and Dortet-Bernadet (2025) . It is a layer on the 'did' package that keeps the att_gt() and aggte() interface and adds an estimation mode. Chained estimation, the default for panel data, combines short within-unit comparisons by the generalized method of moments. It provides chained inverse probability weighting (IPW), outcome regression (OR) and doubly robust (DR) estimation, where OR and DR use separate or pooled regressions of the controls' outcome changes; custom IPW callbacks; correction for covariate-dependent missing outcomes by observation weighting, change imputation or their augmented combination; parallel trends from each cohort's reference period (PT-post) or from a chosen common start date (PT-all); and a chained conditional pretrend test through conditional_did_pretest(). Ordinary mode delegates unchanged to the Callaway and Sant'Anna (2021) estimators in 'did'. License: GPL-3 URL: https://github.com/dvbn/cdid BugReports: https://github.com/dvbn/cdid/issues Depends: R (>= 4.1.0) Imports: did (>= 2.5.1), DRDID (>= 1.4.0), parallel Suggests: testthat (>= 3.0.0), digest, ggplot2, knitr, rmarkdown, generics, jsonlite, waldo, withr VignetteBuilder: knitr Config/testthat/edition: 3 Encoding: UTF-8 NeedsCompilation: yes Author: David Benatia [cre, aut], Christophe Bellégo [aut], Joel Cuerrier [aut], Vincent Dortet-Bernadet [aut] Config/pak/sysreqs: libicu-dev Repository: https://dvbn.r-universe.dev Date/Publication: 2026-11-07 18:19:10 UTC RemoteUrl: https://github.com/dvbn/cdid RemoteRef: HEAD RemoteSha: bdad198f120d2d7559a1f6b5738edbad376bb324 Packaged: 2026-11-08 11:41:48 UTC; root