{
  "_id": "6afc763d69eab6fdff2d8702",
  "Package": "cdid",
  "Type": "Package",
  "Title": "The Chained Difference-in-Differences",
  "Version": "1.3.0.1",
  "Authors@R": "c(\nperson(\"David\", \"Benatia\", email = \"david.benatia@hec.ca\", role = c(\"cre\", \"aut\")),\nperson(\"Christophe\", \"Bellégo\", email = \"christophe.bellego@ensae.fr\", role = \"aut\"),\nperson(\"Joel\", \"Cuerrier\", email = \"cuerrier.j.clg@gmail.com\", role = c(\"aut\")),\nperson(\"Vincent\", \"Dortet-Bernadet\", email = \"vincent.dortet-bernadet@finances.gouv.fr\", role = \"aut\")\n)",
  "Maintainer": "David Benatia <david.benatia@hec.ca>",
  "Description": "Estimates group-time average treatment effects in panels\nwith missing outcomes by the chained difference-in-differences\nmethod of Bellégo, Benatia and Dortet-Bernadet (2025)\n<doi:10.1016/j.jeconom.2024.105783>. The package extends 'did'\nand retains the att_gt() and aggte() interfaces. Chained\nestimation combines observed changes within units by the\ngeneralized method of moments. It supports inverse probability\nweighting, outcome regression and doubly robust estimation.\nMissing outcomes can be handled by observation weighting,\nimputation of outcome changes, or an augmented combination of\nboth. Users can choose comparison groups and parallel trends\nassumptions, fit linear cohort-by-date fixed effects, test\ntrends before treatment, and inspect fitted regression models.\nA separate analysis estimates the effects of starting and\nstopping a binary treatment under no carryover. Ordinary mode\nuses the estimators of Callaway and Sant'Anna (2021)\n<doi:10.1016/j.jeconom.2020.12.001>.",
  "License": "GPL-3",
  "URL": "https://github.com/dvbn/cdid",
  "BugReports": "https://github.com/dvbn/cdid/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "NeedsCompilation": "yes",
  "Author": "David Benatia [cre, aut], Christophe Bellégo [aut], Joel\nCuerrier [aut], Vincent Dortet-Bernadet [aut]",
  "Packaged": {
    "Date": "2026-11-17 15:31:50 UTC",
    "User": "root"
  },
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-11-17 08:30:36 UTC",
  "RemoteUrl": "https://github.com/cran/cdid",
  "RemoteRef": "HEAD",
  "RemoteSha": "e902eff71bfea5880ebb6a605e49d7bfb64be8a4",
  "_user": "cran",
  "_type": "src",
  "_file": "cdid_1.3.0.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/bcd7287fe0cbe5dfd5707a1d0423e91290c188470caed81ff338671eb15ae3a7",
  "_filesize": 9005419,
  "_sha256": "bcd7287fe0cbe5dfd5707a1d0423e91290c188470caed81ff338671eb15ae3a7",
  "_expires": "2027-02-25T15:43:54.000Z",
  "_created": "2026-11-17T15:31:50.000Z",
  "_published": "2026-11-17T15:43:57.258Z",
  "_upstream": "https://github.com/cran/cdid",
  "_status": "success",
  "_maintainer": {
    "name": "David Benatia",
    "email": "david.benatia@hec.ca",
    "login": "dvbn",
    "description": "Econometrics",
    "uuid": 19479640
  },
  "_jobs": [
    {
      "job": 134153110557,
      "time": 384,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14342987345"
    },
    {
      "job": 134153110880,
      "time": 389,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14343092221"
    },
    {
      "job": 134153110624,
      "time": 371,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14343731376"
    },
    {
      "job": 134153110611,
      "time": 435,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14344211122"
    },
    {
      "job": 134148307692,
      "time": 419,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14341889983"
    },
    {
      "job": 134153110463,
      "time": 134,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14343156643"
    },
    {
      "job": 134153110634,
      "time": 586,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14342334266"
    },
    {
      "job": 134153110691,
      "time": 367,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14342473570"
    },
    {
      "job": 134153116407,
      "time": 590,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14344221479"
    },
    {
      "job": 134153115700,
      "time": 402,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14343197152"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/44114303043",
  "_commit": {
    "id": "e902eff71bfea5880ebb6a605e49d7bfb64be8a4",
    "author": "David Benatia <david.benatia@hec.ca>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.3.0.1\n",
    "time": 1794904236
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "did",
      "version": ">= 2.5.1",
      "role": "Imports"
    },
    {
      "package": "DRDID",
      "version": ">= 1.4.0",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "codetools",
      "role": "Suggests"
    },
    {
      "package": "digest",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "generics",
      "role": "Suggests"
    },
    {
      "package": "jsonlite",
      "role": "Suggests"
    },
    {
      "package": "waldo",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-45",
      "n": 1
    },
    {
      "week": "2026-47",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.2.0.1",
      "date": "2026-11-07"
    },
    {
      "name": "1.3.0.1",
      "date": "2026-11-17"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "dvbn",
      "count": 4,
      "uuid": 19479640
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 637,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 564,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cdid"
  },
  "_devurl": "https://github.com/dvbn/cdid",
  "_topics": [
    "openblas"
  ],
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/cdid.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/dvbn/cdid",
  "_realowner": "dvbn",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2025-01-08"
    },
    {
      "version": "0.1.1",
      "date": "2025-01-27"
    },
    {
      "version": "1.2.0.1",
      "date": "2026-11-07"
    },
    {
      "version": "1.3.0.1",
      "date": "2026-11-17"
    }
  ],
  "_exports": [
    "aggte",
    "att_gt",
    "chain_report",
    "conditional_did_pretest",
    "ggdid",
    "glance",
    "nuisance_models",
    "tidy"
  ],
  "_help": [
    {
      "page": "cdid-package",
      "title": "cdid: The Chained Difference-in-Differences",
      "topics": [
        "cdid-package",
        "cdid"
      ]
    },
    {
      "page": "aggte",
      "title": "Aggregate group-time average treatment effects",
      "topics": [
        "aggte"
      ]
    },
    {
      "page": "att_gt",
      "title": "Difference-in-differences estimates for panel data",
      "topics": [
        "att_gt"
      ]
    },
    {
      "page": "chain_report",
      "title": "Inspect the comparisons used in a chained fit",
      "topics": [
        "as.data.frame.cdid_chain_report",
        "chain_report",
        "print.cdid_chain_report"
      ]
    },
    {
      "page": "conditional_did_pretest",
      "title": "Test for parallel trends before treatment",
      "topics": [
        "conditional_did_pretest",
        "print.cdid_MP.TEST",
        "summary.cdid_MP.TEST"
      ]
    },
    {
      "page": "nuisance_models",
      "title": "Inspect fitted treatment and missing-outcome models",
      "topics": [
        "nuisance_models"
      ]
    },
    {
      "page": "reexports",
      "title": "Functions re-exported from did",
      "topics": [
        "ggdid",
        "glance",
        "reexports",
        "tidy"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/cdid/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/cran/cdid/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "bigmemory",
    "bigmemory.sri",
    "BMisc",
    "cli",
    "cpp11",
    "data.table",
    "did",
    "dplyr",
    "DRDID",
    "dreamerr",
    "farver",
    "fastglm",
    "Formula",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "pbapply",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringmagic",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "trust",
    "utf8",
    "uuid",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    }
  ],
  "_vignettes": [
    {
      "source": "cdid.Rmd",
      "filename": "cdid.html",
      "title": "Getting Started with cdid",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Create an incomplete panel",
        "2. Data requirements and identification conditions",
        "3. Estimating and inspecting group-time effects",
        "4. Aggregating effects and event-study plotting",
        "5. Advanced options and further documentation",
        "6. When treatment can stop and restart"
      ],
      "created": "2026-11-07 20:59:40",
      "modified": "2026-11-17 08:30:36",
      "commits": 2
    }
  ],
  "_score": 3,
  "_indexed": false,
  "_nocasepkg": "cdid",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://dvbn.r-universe.dev/cdid",
  "_previous": "1.2.0.1",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.0.1",
      "date": "2026-11-17T15:35:15.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e902eff71bfea5880ebb6a605e49d7bfb64be8a4",
      "fileid": "https://r2.ropensci.org/f4258ec728e76aa7d40f4b8e5e6422b2713c47733619cb32ae10186f34fa17e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44114303043"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.0.1",
      "date": "2026-11-17T15:35:42.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e902eff71bfea5880ebb6a605e49d7bfb64be8a4",
      "fileid": "https://r2.ropensci.org/2cf20d23c93b1b777c1bf89590839c3759e01b88e2633d8fb228c5da6380d001",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44114303043"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.3.0.1",
      "date": "2026-11-17T15:35:16.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e902eff71bfea5880ebb6a605e49d7bfb64be8a4",
      "fileid": "https://r2.ropensci.org/02e2b5716437aeeb0484eb02ab5b5b2fa96309f1fc7abd63efbb0c6ec08b6173",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44114303043"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.3.0.1",
      "date": "2026-11-17T15:35:56.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e902eff71bfea5880ebb6a605e49d7bfb64be8a4",
      "fileid": "https://r2.ropensci.org/3ec55ce37946109bffd5a634e6c450c70373cdae31031c27123e923babcfb5c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44114303043"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3.0.1",
      "date": "2026-11-17T15:35:40.000Z",
      "arch": "emscripten",
      "commit": "e902eff71bfea5880ebb6a605e49d7bfb64be8a4",
      "fileid": "https://r2.ropensci.org/c841b0d330f1714f3bb7b89194fd894efc4ad83e6991bf6ecc291c1dae267f37",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44114303043"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.0.1",
      "date": "2026-11-17T15:37:25.000Z",
      "arch": "aarch64",
      "commit": "e902eff71bfea5880ebb6a605e49d7bfb64be8a4",
      "fileid": "https://r2.ropensci.org/ac7aaab828e03a75c88dad5698d404022ef24b1fb0485f122a1b2dfcb7040a23",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44114303043"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.0.1",
      "date": "2026-11-17T15:34:43.000Z",
      "arch": "x86_64",
      "commit": "e902eff71bfea5880ebb6a605e49d7bfb64be8a4",
      "fileid": "https://r2.ropensci.org/89f2976fd65ad859b58a6448f0ce54c61f511c738cbbeb86b9a26960a3706d9d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44114303043"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.3.0.1",
      "date": "2026-11-17T15:37:42.000Z",
      "arch": "aarch64",
      "commit": "e902eff71bfea5880ebb6a605e49d7bfb64be8a4",
      "fileid": "https://r2.ropensci.org/461d94da699a7207e097d51e2d12cb43c6db5e451a84da55825c45e840e6b01d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44114303043"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.3.0.1",
      "date": "2026-11-17T15:34:47.000Z",
      "arch": "x86_64",
      "commit": "e902eff71bfea5880ebb6a605e49d7bfb64be8a4",
      "fileid": "https://r2.ropensci.org/a74a8de820c95c871777ec70d617340460f1890856fd9035197ac92d70a1349d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/44114303043"
    }
  ]
}