{
  "_id": "6af063c694cdbf48db2b002c",
  "Package": "cdid",
  "Type": "Package",
  "Title": "The Chained Difference-in-Differences",
  "Version": "1.2.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\nof Bellégo, Benatia and Dortet-Bernadet (2025)\n<doi:10.1016/j.jeconom.2024.105783>. It is a layer on the 'did'\npackage that keeps the att_gt() and aggte() interface and adds\nan estimation mode. Chained estimation, the default for panel\ndata, combines short within-unit comparisons by the generalized\nmethod of moments. It provides chained inverse probability\nweighting (IPW), outcome regression (OR) and doubly robust (DR)\nestimation, where OR and DR use separate or pooled regressions\nof the controls' outcome changes; custom IPW callbacks;\ncorrection for covariate-dependent missing outcomes by\nobservation weighting, change imputation or their augmented\ncombination; parallel trends from each cohort's reference\nperiod (PT-post) or from a chosen common start date (PT-all);\nand a chained conditional pretrend test through\nconditional_did_pretest(). Ordinary mode delegates unchanged to\nthe Callaway and Sant'Anna (2021)\n<doi:10.1016/j.jeconom.2020.12.001> estimators in 'did'.",
  "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]",
  "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": {
    "Date": "2026-11-08 11:41:48 UTC",
    "User": "root"
  },
  "_user": "dvbn",
  "_type": "src",
  "_file": "cdid_1.2.0.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/1f4a0e1d280117f85d3d6327a3e39a9519afc274a3ef2fd3fd2274ed8249a7ea",
  "_filesize": 8190482,
  "_sha256": "1f4a0e1d280117f85d3d6327a3e39a9519afc274a3ef2fd3fd2274ed8249a7ea",
  "_expires": "2027-02-16T11:57:55.000Z",
  "_created": "2026-11-08T11:41:48.000Z",
  "_published": "2026-11-08T11:57:58.024Z",
  "_upstream": "https://github.com/dvbn/cdid",
  "_status": "success",
  "_maintainer": {
    "name": "David Benatia",
    "email": "david.benatia@hec.ca",
    "login": "dvbn",
    "description": "Econometrics",
    "uuid": 19479640
  },
  "_jobs": [
    {
      "job": 128720335005,
      "time": 384,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13615574504"
    },
    {
      "job": 128720334988,
      "time": 421,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13615906973"
    },
    {
      "job": 128720335025,
      "time": 348,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13615463274"
    },
    {
      "job": 128720334985,
      "time": 275,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13615634032"
    },
    {
      "job": 128720334984,
      "time": 495,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "13615981747"
    },
    {
      "job": 128720334996,
      "time": 862,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "13615284362"
    },
    {
      "job": 128720335058,
      "time": 397,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13615064776"
    },
    {
      "job": 128720335046,
      "time": 550,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13615744120"
    },
    {
      "job": 128719130535,
      "time": 328,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13615558593"
    },
    {
      "job": 128720335028,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13615753270"
    },
    {
      "job": 128720335087,
      "time": 133,
      "config": "windows-devel-arm64",
      "r": "",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 128720335123,
      "time": 505,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13616191542"
    },
    {
      "job": 128720335292,
      "time": 423,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "13616505112"
    },
    {
      "job": 128720335076,
      "time": 134,
      "config": "windows-release-arm64",
      "r": "",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 128720334994,
      "time": 531,
      "config": "windows-release-x86_64",
      "r": "",
      "check": "FAIL",
      "artifact": ""
    }
  ],
  "_buildurl": "https://github.com/r-universe/dvbn/actions/runs/42476546566",
  "_commit": {
    "id": "bdad198f120d2d7559a1f6b5738edbad376bb324",
    "author": "David Benatia <dbenatia@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Announce cdid 1.2.0.1 on CRAN\n\nPublish the maintainer-approved documentation update: CRAN availability, primary installation command, source/binary guidance and consistent setup references. Documentation only; package code, version and accepted CRAN artifact are unchanged.",
    "time": 1794075550
  },
  "_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": "testthat",
      "version": ">= 3.0.0",
      "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": "dvbn",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-44",
      "n": 3
    },
    {
      "week": "2026-45",
      "n": 5
    }
  ],
  "_tags": [
    {
      "name": "v1.1.0.1",
      "date": "2026-11-04"
    }
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "dvbn",
      "count": 9,
      "uuid": 19479640
    }
  ],
  "_userbio": {
    "uuid": 19479640,
    "type": "user",
    "name": "David Benatia",
    "followers": 6,
    "description": "Econometrics"
  },
  "_downloads": {
    "count": 382,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cdid"
  },
  "_devurl": "https://github.com/dvbn/cdid",
  "_searchresults": 6,
  "_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": true,
  "_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"
    }
  ],
  "_exports": [
    "aggte",
    "att_gt",
    "conditional_did_pretest",
    "ggdid",
    "glance",
    "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": "Group-time average treatment effects: chained or ordinary mode",
      "topics": [
        "att_gt"
      ]
    },
    {
      "page": "conditional_did_pretest",
      "title": "Conditional pretrend test (chained by default for panels)",
      "topics": [
        "conditional_did_pretest",
        "print.cdid_MP.TEST",
        "summary.cdid_MP.TEST"
      ]
    },
    {
      "page": "reexports",
      "title": "Functions re-exported from did",
      "topics": [
        "ggdid",
        "glance",
        "reexports",
        "tidy"
      ]
    }
  ],
  "_pkglogo": "https://github.com/dvbn/cdid/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/dvbn/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"
  ],
  "_vignettes": [
    {
      "source": "cdid.Rmd",
      "filename": "cdid.html",
      "title": "Getting Started with cdid",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Synthetic incomplete panel and unit table",
        "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"
      ],
      "created": "2026-10-30 18:00:48",
      "modified": "2026-11-06 12:43:16",
      "commits": 2
    }
  ],
  "_score": 4.301029995663981,
  "_indexed": true,
  "_nocasepkg": "cdid",
  "_universes": [
    "dvbn"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0.1",
      "date": "2026-11-08T11:45:12.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "bdad198f120d2d7559a1f6b5738edbad376bb324",
      "fileid": "https://r2.ropensci.org/f339bb6d5c416e8dc915ccbe867dcf59af55a29395c4a536cebbee79f274a2fe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dvbn/actions/runs/42476546566"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0.1",
      "date": "2026-11-08T11:45:04.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "bdad198f120d2d7559a1f6b5738edbad376bb324",
      "fileid": "https://r2.ropensci.org/bbc7253075cb08136da94afcae30180e74262fd4024ccf4b5a0682d9b214e3fb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dvbn/actions/runs/42476546566"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.2.0.1",
      "date": "2026-11-08T11:44:44.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "bdad198f120d2d7559a1f6b5738edbad376bb324",
      "fileid": "https://r2.ropensci.org/9058dcd8b74d26ec6d36530c619c5dd47d9457cf63e7ccdfa3165016b094580c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dvbn/actions/runs/42476546566"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.2.0.1",
      "date": "2026-11-08T11:44:48.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "bdad198f120d2d7559a1f6b5738edbad376bb324",
      "fileid": "https://r2.ropensci.org/708d3b8bd21c136187c1ebbc22f76c0d50585e0e96d42afaa6368bafe023061d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dvbn/actions/runs/42476546566"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.0.1",
      "date": "2026-11-08T11:45:42.000Z",
      "arch": "aarch64",
      "commit": "bdad198f120d2d7559a1f6b5738edbad376bb324",
      "fileid": "https://r2.ropensci.org/3001bfec4cb221f1fcfaf357727cb41428bbb7671b36fa8c294859e048bc3ebb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dvbn/actions/runs/42476546566"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.0.1",
      "date": "2026-11-08T11:48:40.000Z",
      "arch": "x86_64",
      "commit": "bdad198f120d2d7559a1f6b5738edbad376bb324",
      "fileid": "https://r2.ropensci.org/0cc8f4d4d3f1f86f596663b42cbcb0355ce98ca4f836110e48e0be02deb07c80",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dvbn/actions/runs/42476546566"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.2.0.1",
      "date": "2026-11-08T11:45:14.000Z",
      "arch": "aarch64",
      "commit": "bdad198f120d2d7559a1f6b5738edbad376bb324",
      "fileid": "https://r2.ropensci.org/292779866e19200c22e7d0710489fe0262c9c47b2feb53d808dea12807b9bdf0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dvbn/actions/runs/42476546566"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.2.0.1",
      "date": "2026-11-08T11:46:24.000Z",
      "arch": "x86_64",
      "commit": "bdad198f120d2d7559a1f6b5738edbad376bb324",
      "fileid": "https://r2.ropensci.org/a539b071d57e683f451b2962a77cff9c76118371de8281526a101582209320c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dvbn/actions/runs/42476546566"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.0.1",
      "date": "2026-11-08T11:44:42.000Z",
      "arch": "emscripten",
      "commit": "bdad198f120d2d7559a1f6b5738edbad376bb324",
      "fileid": "https://r2.ropensci.org/37b304d219ba645c59798e08f968c72ebaa236db321eb0f2dfbf527853893061",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dvbn/actions/runs/42476546566"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.0.1",
      "date": "2026-11-08T11:45:59.000Z",
      "arch": "x86_64",
      "commit": "bdad198f120d2d7559a1f6b5738edbad376bb324",
      "fileid": "https://r2.ropensci.org/7dd9d8102e01033f4329a1a5ca1b7efdf735bf68f7b3c78e16c9b73a0d34d282",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dvbn/actions/runs/42476546566"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.0.1",
      "date": "2026-11-08T11:44:11.000Z",
      "arch": "x86_64",
      "commit": "bdad198f120d2d7559a1f6b5738edbad376bb324",
      "fileid": "https://r2.ropensci.org/99f3c016c7d1df185ac41ab71414719c5e71dc0d4654c1685ebbb91537adae2e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dvbn/actions/runs/42476546566"
    }
  ]
}