{
  "_id": "6ada6acddd3792e77323894a",
  "Package": "DRDID",
  "Type": "Package",
  "Title": "Doubly Robust Difference-in-Differences Estimators",
  "Version": "1.4.0",
  "Authors@R": "c(person(\"Pedro H. C.\", \"Sant'Anna\", email = \"pedrohcgs@gmail.com\",\nrole = c(\"aut\", \"cre\", \"cph\")),\nperson(\"Jun\", \"Zhao\", email = \"beanzhaojun11@gmail.com\",role = c(\"aut\"))\n)",
  "Description": "Implements the locally efficient doubly robust\ndifference-in-differences (DiD) estimators for the average\ntreatment effect proposed by Sant'Anna and Zhao (2020)\n<doi:10.1016/j.jeconom.2020.06.003>. The estimator combines\ninverse probability weighting and outcome regression estimators\n(also implemented in the package) to form estimators with more\nattractive statistical properties. Two different estimation\nmethods can be used to estimate the nuisance functions.",
  "URL": "https://psantanna.com/DRDID/, https://github.com/pedrohcgs/DRDID",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "Date": "2026-10-22",
  "Language": "en-US",
  "BugReports": "https://github.com/pedrohcgs/DRDID/issues",
  "Repository": "https://pedrohcgs.r-universe.dev",
  "Date/Publication": "2026-10-22 18:36:33 UTC",
  "RemoteUrl": "https://github.com/pedrohcgs/drdid",
  "RemoteRef": "HEAD",
  "RemoteSha": "eaac3b49cd225d0d7706c633858555a5f204e21e",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-22 19:31:04 UTC",
    "User": "root"
  },
  "Author": "Pedro H. C. Sant'Anna [aut, cre, cph],\nJun Zhao [aut]",
  "Maintainer": "Pedro H. C. Sant'Anna <pedrohcgs@gmail.com>",
  "_user": "pedrohcgs",
  "_type": "src",
  "_file": "DRDID_1.4.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/825bd40c16c9c4fac5bb4e1dc5995056a113087ce1bbd283d991fcafa0ee2b13",
  "_filesize": 759651,
  "_sha256": "825bd40c16c9c4fac5bb4e1dc5995056a113087ce1bbd283d991fcafa0ee2b13",
  "_expires": "2027-01-30T19:58:02.000Z",
  "_created": "2026-10-22T19:31:04.000Z",
  "_published": "2026-10-22T19:58:05.109Z",
  "_upstream": "https://github.com/pedrohcgs/drdid",
  "_status": "success",
  "_maintainer": {
    "name": "Pedro H. C. SantAnna",
    "email": "pedrohcgs@gmail.com",
    "login": "pedrohcgs",
    "linkedin": "in/pedrohcsantanna",
    "twitter": "@pedrohcgs",
    "description": "",
    "uuid": 4849139
  },
  "_jobs": [
    {
      "job": 120041154949,
      "time": 143,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12453675453"
    },
    {
      "job": 120041154956,
      "time": 172,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12452742748"
    },
    {
      "job": 120041155223,
      "time": 142,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12452669324"
    },
    {
      "job": 120041154852,
      "time": 146,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12452808154"
    },
    {
      "job": 120041154954,
      "time": 146,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12453660748"
    },
    {
      "job": 120041154871,
      "time": 412,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12452983740"
    },
    {
      "job": 120041154952,
      "time": 157,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12452933579"
    },
    {
      "job": 120041154901,
      "time": 387,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12453721298"
    },
    {
      "job": 120038036605,
      "time": 351,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12452408379"
    },
    {
      "job": 120041155269,
      "time": 107,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12451899860"
    },
    {
      "job": 120041155062,
      "time": 273,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12453251988"
    },
    {
      "job": 120041154882,
      "time": 161,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12451619817"
    },
    {
      "job": 120041154899,
      "time": 158,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12453460739"
    },
    {
      "job": 120041154846,
      "time": 274,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12454015018"
    },
    {
      "job": 120041155060,
      "time": 116,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12452862710"
    }
  ],
  "_buildurl": "https://github.com/r-universe/pedrohcgs/actions/runs/39839899220",
  "_commit": {
    "id": "eaac3b49cd225d0d7706c633858555a5f204e21e",
    "author": "pedrohcgs <pedrohcgs@gmail.com>",
    "committer": "pedrohcgs <pedrohcgs@gmail.com>",
    "message": "Record CRAN submission of DRDID 1.4.0\n",
    "time": 1792694193
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.12",
      "role": "LinkingTo"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "trust",
      "role": "Imports"
    },
    {
      "package": "BMisc",
      "version": ">= 1.4.8",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.12",
      "role": "Imports"
    },
    {
      "package": "fastglm",
      "version": ">= 0.0.3",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "pedrohcgs",
  "_selfowned": true,
  "_usedby": 9,
  "_updates": [
    {
      "week": "2025-49",
      "n": 2
    },
    {
      "week": "2026-22",
      "n": 1
    },
    {
      "week": "2026-24",
      "n": 6
    },
    {
      "week": "2026-43",
      "n": 21
    }
  ],
  "_tags": [
    {
      "name": "v1.3.0",
      "date": "2026-06-09"
    },
    {
      "name": "v1.4.0",
      "date": "2026-10-22"
    }
  ],
  "_stars": 104,
  "_contributors": [
    {
      "user": "pedrohcgs",
      "count": 239,
      "uuid": 4849139
    },
    {
      "user": "marcelortizv",
      "count": 25,
      "uuid": 47307639
    },
    {
      "user": "bcallaway11",
      "count": 3,
      "uuid": 148795
    },
    {
      "user": "michaelchirico",
      "count": 2,
      "uuid": 7606389
    },
    {
      "user": "brycewang-stanford",
      "count": 1,
      "uuid": 199214463
    },
    {
      "user": "jsr-p",
      "count": 1,
      "uuid": 49307119
    }
  ],
  "_userbio": {
    "uuid": 4849139,
    "type": "user",
    "name": "Pedro H. C. Sant'Anna",
    "followers": 1148
  },
  "_downloads": {
    "count": 11450,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/DRDID"
  },
  "_devurl": "https://github.com/pedrohcgs/drdid",
  "_pkgdown": "https://psantanna.com/DRDID/",
  "_searchresults": 342,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/DRDID.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/pedrohcgs/drdid",
  "_realowner": "pedrohcgs",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2020-05-18"
    },
    {
      "version": "1.0.1",
      "date": "2021-01-07"
    },
    {
      "version": "1.0.3",
      "date": "2021-11-13"
    },
    {
      "version": "1.0.4",
      "date": "2022-07-19"
    },
    {
      "version": "1.0.6",
      "date": "2023-05-18"
    },
    {
      "version": "1.0.7",
      "date": "2024-07-05"
    },
    {
      "version": "1.1.0",
      "date": "2024-09-05"
    },
    {
      "version": "1.2.0",
      "date": "2024-10-07"
    },
    {
      "version": "1.2.2",
      "date": "2025-05-30"
    },
    {
      "version": "1.2.3",
      "date": "2025-12-11"
    },
    {
      "version": "1.3.0",
      "date": "2026-06-10"
    }
  ],
  "_exports": [
    "drdid",
    "drdid_imp_panel",
    "drdid_imp_rc",
    "drdid_imp_rc1",
    "drdid_panel",
    "drdid_rc",
    "drdid_rc1",
    "ipw_did_panel",
    "ipw_did_rc",
    "ipwdid",
    "ordid",
    "reg_did_panel",
    "reg_did_rc",
    "std_ipw_did_panel",
    "std_ipw_did_rc",
    "twfe_did_panel",
    "twfe_did_rc"
  ],
  "_datasets": [
    {
      "name": "nsw",
      "title": "National Supported Work Demonstration dataset",
      "object": "nsw",
      "class": [
        "data.frame"
      ],
      "fields": [
        "treated",
        "age",
        "educ",
        "black",
        "married",
        "nodegree",
        "dwincl",
        "re74",
        "re75",
        "re78",
        "hisp",
        "early_ra",
        "sample",
        "experimental"
      ],
      "rows": 19204,
      "table": true,
      "tojson": true
    },
    {
      "name": "nsw_long",
      "title": "National Supported Work Demonstration dataset, in long format",
      "object": "nsw_long",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "year",
        "treated",
        "age",
        "educ",
        "black",
        "married",
        "nodegree",
        "dwincl",
        "re74",
        "hisp",
        "early_ra",
        "sample",
        "experimental",
        "re"
      ],
      "rows": 38408,
      "table": true,
      "tojson": true
    },
    {
      "name": "sim_rc",
      "title": "Simulated repeated cross-section data",
      "object": "sim_rc",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "post",
        "y",
        "d",
        "x1",
        "x2",
        "x3",
        "x4"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "drdid",
      "title": "Locally efficient doubly robust DiD estimators for the ATT",
      "topics": [
        "drdid"
      ]
    },
    {
      "page": "drdid_imp_panel",
      "title": "Improved locally efficient doubly robust DiD estimator for the ATT, with panel data",
      "topics": [
        "drdid_imp_panel"
      ]
    },
    {
      "page": "drdid_imp_rc",
      "title": "Improved locally efficient doubly robust DiD estimator for the ATT, with repeated cross-section data",
      "topics": [
        "drdid_imp_rc"
      ]
    },
    {
      "page": "drdid_imp_rc1",
      "title": "Improved doubly robust DiD estimator for the ATT, with repeated cross-section data",
      "topics": [
        "drdid_imp_rc1"
      ]
    },
    {
      "page": "drdid_panel",
      "title": "Locally efficient doubly robust DiD estimator for the ATT, with panel data",
      "topics": [
        "drdid_panel"
      ]
    },
    {
      "page": "drdid_rc",
      "title": "Locally efficient doubly robust DiD estimator for the ATT, with repeated cross-section data",
      "topics": [
        "drdid_rc"
      ]
    },
    {
      "page": "drdid_rc1",
      "title": "Doubly robust DiD estimator for the ATT, with repeated cross-section data",
      "topics": [
        "drdid_rc1"
      ]
    },
    {
      "page": "ipw_did_panel",
      "title": "Inverse probability weighted DiD estimator, with panel data",
      "topics": [
        "ipw_did_panel"
      ]
    },
    {
      "page": "ipw_did_rc",
      "title": "Inverse probability weighted DiD estimator, with repeated cross-section data",
      "topics": [
        "ipw_did_rc"
      ]
    },
    {
      "page": "ipwdid",
      "title": "Inverse probability weighted DiD estimators for the ATT",
      "topics": [
        "ipwdid"
      ]
    },
    {
      "page": "nsw",
      "title": "National Supported Work Demonstration dataset",
      "topics": [
        "nsw"
      ]
    },
    {
      "page": "nsw_long",
      "title": "National Supported Work Demonstration dataset, in long format",
      "topics": [
        "nsw_long"
      ]
    },
    {
      "page": "ordid",
      "title": "Outcome regression DiD estimators for the ATT",
      "topics": [
        "ordid"
      ]
    },
    {
      "page": "reg_did_panel",
      "title": "Outcome regression DiD estimator for the ATT, with panel data",
      "topics": [
        "reg_did_panel"
      ]
    },
    {
      "page": "reg_did_rc",
      "title": "Outcome regression DiD estimator for the ATT, with repeated cross-section data",
      "topics": [
        "reg_did_rc"
      ]
    },
    {
      "page": "sim_rc",
      "title": "Simulated repeated cross-section data",
      "topics": [
        "sim_rc"
      ]
    },
    {
      "page": "std_ipw_did_panel",
      "title": "Standardized inverse probability weighted DiD estimator, with panel data",
      "topics": [
        "std_ipw_did_panel"
      ]
    },
    {
      "page": "std_ipw_did_rc",
      "title": "Standardized inverse probability weighted DiD estimator, with repeated cross-section data",
      "topics": [
        "std_ipw_did_rc"
      ]
    },
    {
      "page": "twfe_did_panel",
      "title": "Two-way fixed effects DiD estimator, with panel data",
      "topics": [
        "twfe_did_panel"
      ]
    },
    {
      "page": "twfe_did_rc",
      "title": "Two-way fixed effects DiD estimator, with repeated cross-section data",
      "topics": [
        "twfe_did_rc"
      ]
    }
  ],
  "_pkglogo": "https://github.com/pedrohcgs/drdid/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/pedrohcgs/drdid/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "bigmemory",
    "bigmemory.sri",
    "BMisc",
    "data.table",
    "fastglm",
    "Formula",
    "lattice",
    "Matrix",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "trust",
    "uuid"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 10.04122869618981,
  "_indexed": true,
  "_nocasepkg": "drdid",
  "_universes": [
    "pedrohcgs"
  ],
  "_previous": "1.3.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-10-22T19:33:01.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "eaac3b49cd225d0d7706c633858555a5f204e21e",
      "fileid": "https://r2.ropensci.org/294610ab08bab5beb025194d4663cede2293acefdecec9db011ee94a991eb7c6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrohcgs/actions/runs/39839899220"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-10-22T19:33:22.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "eaac3b49cd225d0d7706c633858555a5f204e21e",
      "fileid": "https://r2.ropensci.org/ec4ef9d65ad85e9a29887e318c58e4104b1c15a3d52610e22934ed6e40b5a4dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrohcgs/actions/runs/39839899220"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-10-22T19:33:02.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "eaac3b49cd225d0d7706c633858555a5f204e21e",
      "fileid": "https://r2.ropensci.org/10b2df71f39e38fd99f4681a2654e2dee6853155003726d66f1d74a53db1059b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrohcgs/actions/runs/39839899220"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-10-22T19:33:17.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "eaac3b49cd225d0d7706c633858555a5f204e21e",
      "fileid": "https://r2.ropensci.org/de2bc99ca74a6f6483edc997389a11a0892297c8cab195d09483be620ad8517c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrohcgs/actions/runs/39839899220"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-10-22T19:36:41.000Z",
      "arch": "aarch64",
      "commit": "eaac3b49cd225d0d7706c633858555a5f204e21e",
      "fileid": "https://r2.ropensci.org/d13b217941f8644668b5a4b75112b3c08d492cb4fb63a7c120c66a881d79562a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrohcgs/actions/runs/39839899220"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-10-22T19:38:56.000Z",
      "arch": "x86_64",
      "commit": "eaac3b49cd225d0d7706c633858555a5f204e21e",
      "fileid": "https://r2.ropensci.org/a5f804b253ad4cc4a867528a3449d4b30039369a3b0c4e0778db8bfdbc6dfbd7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrohcgs/actions/runs/39839899220"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-10-22T19:39:23.000Z",
      "arch": "aarch64",
      "commit": "eaac3b49cd225d0d7706c633858555a5f204e21e",
      "fileid": "https://r2.ropensci.org/7d7d7160b1bee25f0e20e2efb53b157aa97ba29f7bfde1762b64c1db08266e9d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrohcgs/actions/runs/39839899220"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-10-22T19:37:43.000Z",
      "arch": "x86_64",
      "commit": "eaac3b49cd225d0d7706c633858555a5f204e21e",
      "fileid": "https://r2.ropensci.org/de7dfe801aad84dd47f953416de92514f856e3c6dc3e3e4cb7e4303e31efb9e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrohcgs/actions/runs/39839899220"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.4.0",
      "date": "2026-10-22T19:33:12.000Z",
      "arch": "emscripten",
      "commit": "eaac3b49cd225d0d7706c633858555a5f204e21e",
      "fileid": "https://r2.ropensci.org/661ba65ac5e418b75eb4a4fd62ac3e4039010b7755c4da8c57b4570775ad3ea1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pedrohcgs/actions/runs/39839899220"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-10-22T19:34:46.000Z",
      "arch": "aarch64",
      "commit": "eaac3b49cd225d0d7706c633858555a5f204e21e",
      "fileid": "https://r2.ropensci.org/eabdb721abf49b2e20fa1d8aa6052b5987a705f050b01cebdd04bc5901e6d794",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrohcgs/actions/runs/39839899220"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-10-22T19:32:40.000Z",
      "arch": "x86_64",
      "commit": "eaac3b49cd225d0d7706c633858555a5f204e21e",
      "fileid": "https://r2.ropensci.org/b2ddc6a4822d962e2487312d2749527eaa8b4c03eea66eda57f8e1a974d6d32b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrohcgs/actions/runs/39839899220"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-10-22T19:32:40.000Z",
      "arch": "x86_64",
      "commit": "eaac3b49cd225d0d7706c633858555a5f204e21e",
      "fileid": "https://r2.ropensci.org/59475e10742a9f31a9c4504da675b7797a5e82ab42a398504cf70007947235b0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrohcgs/actions/runs/39839899220"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-10-22T19:34:51.000Z",
      "arch": "aarch64",
      "commit": "eaac3b49cd225d0d7706c633858555a5f204e21e",
      "fileid": "https://r2.ropensci.org/b433bb78e8309d081e4c09e761635f0b76204d692fbf2c9a5d07af3ab63d24fb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrohcgs/actions/runs/39839899220"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-10-22T19:32:25.000Z",
      "arch": "x86_64",
      "commit": "eaac3b49cd225d0d7706c633858555a5f204e21e",
      "fileid": "https://r2.ropensci.org/8fceec508dc8baf8d34c3e97998768031c877223635ae472d186eb9569add318",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrohcgs/actions/runs/39839899220"
    }
  ]
}