{
  "_id": "6afefc21d65881f9616f4bad",
  "Package": "contdid",
  "Title": "Difference-in-Differences with a Continuous Treatment",
  "Version": "0.1.3",
  "Authors@R": "c(person(\"Brantly\", \"Callaway\", email = \"brantly.callaway@uga.edu\", role = c(\"aut\", \"cre\")),\nperson(\"Andrew\", \"Goodman-Bacon\", email = \"andrew@goodman-bacon.com\", role = c(\"aut\")),\nperson(\"Pedro H. C.\", \"Sant'Anna\", email=\"pedro.h.santanna@emory.edu\", role = c(\"aut\")))",
  "Description": "Provides methods for difference-in-differences with a\ncontinuous treatment and staggered treatment adoption. Includes\nestimation of treatment effects and causal responses as a\nfunction of the dose, event studies indexed by length of\nexposure to the treatment, and aggregation into overall average\neffects. Uniform inference procedures are included, along with\nboth parametric and nonparametric models for treatment effects.\nThe methods are based on Callaway, Goodman-Bacon, and Sant'Anna\n(2025) <doi:10.48550/arXiv.2107.02637>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "URL": "https://bcallaway11.github.io/contdid/,\nhttps://github.com/bcallaway11/contdid",
  "BugReports": "https://github.com/bcallaway11/contdid/issues",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.1.0",
  "Remotes": [
    "bcallaway11/ptetools"
  ],
  "Repository": "https://bcallaway11.r-universe.dev",
  "Date/Publication": "2026-11-19 13:02:42 UTC",
  "RemoteUrl": "https://github.com/bcallaway11/contdid",
  "RemoteRef": "HEAD",
  "RemoteSha": "daaad7cbcf320e8c8c7c6ead85ef7d1b2f5146dd",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-19 13:35:48 UTC",
    "User": "root"
  },
  "Author": "Brantly Callaway [aut, cre],\nAndrew Goodman-Bacon [aut],\nPedro H. C. Sant'Anna [aut]",
  "Maintainer": "Brantly Callaway <brantly.callaway@uga.edu>",
  "_user": "bcallaway11",
  "_type": "src",
  "_file": "contdid_0.1.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/e7955ffd0c21d5f7c3f1b90580b069a76d5a5f3d591c0b4728d6f4b6215e995f",
  "_filesize": 300438,
  "_sha256": "e7955ffd0c21d5f7c3f1b90580b069a76d5a5f3d591c0b4728d6f4b6215e995f",
  "_expires": "2027-02-27T13:39:43.000Z",
  "_created": "2026-11-19T13:35:48.000Z",
  "_published": "2026-11-19T13:39:45.280Z",
  "_upstream": "https://github.com/bcallaway11/contdid",
  "_status": "success",
  "_maintainer": {
    "name": "Brantly Callaway",
    "email": "brantly.callaway@uga.edu",
    "login": "bcallaway11",
    "description": "Brantly Callaway, Department of Economics, University of Georgia",
    "uuid": 148795
  },
  "_jobs": [
    {
      "job": 135598289156,
      "time": 189,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14536271031"
    },
    {
      "job": 135598289265,
      "time": 139,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14536470517"
    },
    {
      "job": 135598289218,
      "time": 137,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14535408220"
    },
    {
      "job": 135598289221,
      "time": 101,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14535048846"
    },
    {
      "job": 135596135639,
      "time": 220,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14535582280"
    },
    {
      "job": 135598289410,
      "time": 138,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14535607581"
    },
    {
      "job": 135598289249,
      "time": 99,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14536945135"
    },
    {
      "job": 135598289300,
      "time": 151,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14535148588"
    },
    {
      "job": 135598289279,
      "time": 138,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14535826010"
    }
  ],
  "_buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/44534405806",
  "_commit": {
    "id": "daaad7cbcf320e8c8c7c6ead85ef7d1b2f5146dd",
    "author": "Brantly Callaway <brantly.callaway@uga.edu>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Prepare 0.1.3: require ptetools 1.0.2, fix README rendering, align CI (#20)\n\n* Prepare 0.1.3: require ptetools 1.0.2, fix README rendering, align CI\n\n#18 fixed the spline basis used for ATT(d) and ACRT(d) point estimates.\nThe matching fix to their standard errors is in ptetools 1.0.2 (#7);\nwith an older ptetools the standard errors are 2-3x too large near the\nends of the dose range, so require ptetools (>= 1.0.2). Bump to 0.1.3\nsince 0.1.2 is on CRAN, and update NEWS and citation files.\n\nREADME.qmd loaded BMisc, ptetools, and contdid from hard-coded\n~/Dropbox paths, so it could only render on one machine (this is why\nthe build check failed on #18). It now attaches contdid and ggplot2.\nREADME.md and its figures are re-rendered with contdid 0.1.3 and\nptetools 1.0.2; standard errors shift from the ptetools fixes, point\nestimates in the main examples are unchanged.\n\nAll three workflows are now copies of BMisc's. The revdep job had never\nrun: it installed revdepcheck from CRAN, where it is not available; it\nis now installed from GitHub.\n\nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>\n\n* Temporarily install ptetools from GitHub in CI via Remotes\n\ncontdid now requires ptetools (>= 1.0.2), which is not yet on CRAN, so\nCI would fail to resolve it. Remove this field before submitting 0.1.3\nto CRAN, after ptetools 1.0.2 is released there.\n\nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>\n\n---------\n\nCo-authored-by: Claude Opus 5.5 <noreply@anthropic.com>",
    "time": 1795093362
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "BMisc",
      "version": ">= 1.4.8",
      "role": "Imports"
    },
    {
      "package": "ptetools",
      "version": ">= 1.0.2",
      "role": "Imports"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "splines2",
      "role": "Imports"
    },
    {
      "package": "sandwich",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "npiv",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    }
  ],
  "_owner": "bcallaway11",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-30",
      "n": 4
    },
    {
      "week": "2026-44",
      "n": 4
    },
    {
      "week": "2026-47",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 79,
  "_contributors": [
    {
      "user": "bcallaway11",
      "count": 63,
      "uuid": 148795
    },
    {
      "user": "asadgudzevic94",
      "count": 1,
      "uuid": 127188763
    },
    {
      "user": "pedrohcgs",
      "count": 1,
      "uuid": 4849139
    }
  ],
  "_userbio": {
    "uuid": 148795,
    "type": "user",
    "name": "Brantly Callaway",
    "followers": 414,
    "description": "Brantly Callaway, Department of Economics, University of Georgia"
  },
  "_downloads": {
    "count": 873,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/contdid"
  },
  "_devurl": "https://github.com/bcallaway11/contdid",
  "_pkgdown": "https://bcallaway11.github.io/contdid/",
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contdid.html",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/bcallaway11/contdid",
  "_realowner": "bcallaway11",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2025-07-03"
    },
    {
      "version": "0.1.1",
      "date": "2026-07-21"
    },
    {
      "version": "0.1.2",
      "date": "2026-10-30"
    }
  ],
  "_exports": [
    "choose_knots_even",
    "choose_knots_quantile",
    "cont_did",
    "cont_did_acrt",
    "cont_two_by_two_subset",
    "ggcont_did",
    "setup_pte_cont",
    "simulate_contdid_data"
  ],
  "_help": [
    {
      "page": "choose_knots_even",
      "title": "Choose Evenly Spaced Knots",
      "topics": [
        "choose_knots_even"
      ]
    },
    {
      "page": "choose_knots_quantile",
      "title": "Choose Knots at Quantiles",
      "topics": [
        "choose_knots_quantile"
      ]
    },
    {
      "page": "cont_did",
      "title": "Difference-in-differences with a Continuous Treatment",
      "topics": [
        "cont_did"
      ]
    },
    {
      "page": "cont_did_acrt",
      "title": "Compute ACRT's for a Timing Group and Time Period",
      "topics": [
        "cont_did_acrt"
      ]
    },
    {
      "page": "cont_two_by_two_subset",
      "title": "Continuous Two-by-Two Subset",
      "topics": [
        "cont_two_by_two_subset"
      ]
    },
    {
      "page": "ggcont_did",
      "title": "Plot Results with a Continuous Treatment",
      "topics": [
        "ggcont_did"
      ]
    },
    {
      "page": "setup_pte_cont",
      "title": "Setup for DiD with a Continuous Treatment",
      "topics": [
        "setup_pte_cont"
      ]
    },
    {
      "page": "simulate_contdid_data",
      "title": "Simulate data for DiD with a Continuous Treatment",
      "topics": [
        "simulate_contdid_data"
      ]
    }
  ],
  "_readme": "https://github.com/bcallaway11/contdid/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "BH",
    "bigmemory",
    "bigmemory.sri",
    "BMisc",
    "checkmate",
    "cli",
    "cpp11",
    "crayon",
    "data.table",
    "dplyr",
    "DRDID",
    "farver",
    "fastglm",
    "Formula",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "hms",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "MASS",
    "Matrix",
    "npiv",
    "pbapply",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "ptetools",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "rlang",
    "S7",
    "sandwich",
    "scales",
    "splines2",
    "tibble",
    "tidyselect",
    "trust",
    "utf8",
    "uuid",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_score": 5.374748346010104,
  "_indexed": true,
  "_nocasepkg": "contdid",
  "_universes": [
    "bcallaway11"
  ],
  "_previous": "0.1.2",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-11-19T13:38:41.000Z",
      "distro": "resolute",
      "commit": "daaad7cbcf320e8c8c7c6ead85ef7d1b2f5146dd",
      "fileid": "https://r2.ropensci.org/66fc09746c14493f88468e7299462a063142cf9364b644a3f66f5074fed61889",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/44534405806"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-11-19T13:37:54.000Z",
      "distro": "resolute",
      "commit": "daaad7cbcf320e8c8c7c6ead85ef7d1b2f5146dd",
      "fileid": "https://r2.ropensci.org/67a6fcdc643d8b230da73dc5b5b7c4bd0a63d0731b7e2c64e79c744a202f77c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/44534405806"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-11-19T13:37:50.000Z",
      "commit": "daaad7cbcf320e8c8c7c6ead85ef7d1b2f5146dd",
      "fileid": "https://r2.ropensci.org/80e53fa263ec2abf19e65dbb2857342773164fd1a88d255732ed53913855ed04",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/44534405806"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-11-19T13:37:23.000Z",
      "commit": "daaad7cbcf320e8c8c7c6ead85ef7d1b2f5146dd",
      "fileid": "https://r2.ropensci.org/43f7a9de4b88e43546ce996f03bb0017624d993c591ee8003842d5769cf4005b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/44534405806"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.3",
      "date": "2026-11-19T13:38:27.000Z",
      "commit": "daaad7cbcf320e8c8c7c6ead85ef7d1b2f5146dd",
      "fileid": "https://r2.ropensci.org/660732c26e968722bda7bbdbc3d0a8e085a606f72fed053588782b42b635e32b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/44534405806"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-11-19T13:37:14.000Z",
      "commit": "daaad7cbcf320e8c8c7c6ead85ef7d1b2f5146dd",
      "fileid": "https://r2.ropensci.org/ad68dfd75daf1fba132cfee95eea3bd902810ec9d8fda3801457c884d7eefbc8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/44534405806"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-11-19T13:38:00.000Z",
      "commit": "daaad7cbcf320e8c8c7c6ead85ef7d1b2f5146dd",
      "fileid": "https://r2.ropensci.org/f25f7698ab7eb1bab956477f4a51f8504cdfbcc0201b08d5d7f416f317ca47b1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/44534405806"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-11-19T13:37:41.000Z",
      "commit": "daaad7cbcf320e8c8c7c6ead85ef7d1b2f5146dd",
      "fileid": "https://r2.ropensci.org/46eab194f12d5187ac58042ff88e1eb0b3f65d932fa827768f44c2245c955f3c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bcallaway11/actions/runs/44534405806"
    }
  ]
}