{
  "_id": "6a4a23db218ced01495719c0",
  "Package": "DRDID",
  "Type": "Package",
  "Title": "Doubly Robust Difference-in-Differences Estimators",
  "Version": "1.3.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-06-09",
  "Language": "en-US",
  "BugReports": "https://github.com/pedrohcgs/DRDID/issues",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://pedrohcgs.r-universe.dev",
  "Date/Publication": "2026-06-09 19:46:55 UTC",
  "RemoteUrl": "https://github.com/pedrohcgs/drdid",
  "RemoteRef": "HEAD",
  "RemoteSha": "85807cfbddbd64cc6f3f8ba37f52d07c6c3acc65",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-09 21:53:37 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.3.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/6c6126317c91f375c5ca105a0fb53ddcbf99d67d00b27640bc973343b2e12e6c",
  "_filesize": 694669,
  "_sha256": "6c6126317c91f375c5ca105a0fb53ddcbf99d67d00b27640bc973343b2e12e6c",
  "_expires": "2026-10-13T09:28:57.000Z",
  "_created": "2026-06-09T21:53:37.000Z",
  "_published": "2026-07-05T09:28:59.371Z",
  "_jobs": [
    {
      "job": 85210872414,
      "time": 238,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7521173587"
    },
    {
      "job": 85210872443,
      "time": 209,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7521163017"
    },
    {
      "job": 85210872590,
      "time": 199,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7521161009"
    },
    {
      "job": 85210872449,
      "time": 236,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7521171849"
    },
    {
      "job": 85210872448,
      "time": 125,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7521135952"
    },
    {
      "job": 85210872427,
      "time": 279,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7521186001"
    },
    {
      "job": 85210872383,
      "time": 165,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7521148482"
    },
    {
      "job": 85210872403,
      "time": 242,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7521173575"
    },
    {
      "job": 85210872328,
      "time": 225,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7521096411"
    },
    {
      "job": 85210872450,
      "time": 142,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7521141011"
    },
    {
      "job": 85210872556,
      "time": 162,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7521148221"
    },
    {
      "job": 85210872507,
      "time": 159,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7521146790"
    },
    {
      "job": 85210872534,
      "time": 151,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7521144465"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/pedrohcgs/actions/runs/27238104410",
  "_status": "success",
  "_upstream": "https://github.com/pedrohcgs/drdid",
  "_commit": {
    "id": "85807cfbddbd64cc6f3f8ba37f52d07c6c3acc65",
    "author": "pedrohcgs <pedrohcgs@gmail.com>",
    "committer": "pedrohcgs <pedrohcgs@gmail.com>",
    "message": "CRAN submission record for 1.3.0\n",
    "time": 1781034415
  },
  "_maintainer": {
    "name": "Pedro H. C. SantAnna",
    "email": "pedrohcgs@gmail.com",
    "login": "pedrohcgs",
    "linkedin": "in/pedrohcsantanna",
    "twitter": "@pedrohcgs",
    "description": "",
    "uuid": 4849139
  },
  "_distro": "noble",
  "_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.1",
      "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": 8,
  "_updates": [
    {
      "week": "2025-40",
      "n": 20
    },
    {
      "week": "2025-49",
      "n": 2
    },
    {
      "week": "2026-22",
      "n": 1
    },
    {
      "week": "2026-24",
      "n": 6
    }
  ],
  "_tags": [
    {
      "name": "v1.2.3",
      "date": "2025-10-02"
    },
    {
      "name": "v1.3.0",
      "date": "2026-06-09"
    }
  ],
  "_stars": 100,
  "_contributors": [
    {
      "user": "pedrohcgs",
      "count": 185,
      "uuid": 4849139
    },
    {
      "user": "marcelortizv",
      "count": 25,
      "uuid": 47307639
    },
    {
      "user": "bcallaway11",
      "count": 3,
      "uuid": 148795
    },
    {
      "user": "jsr-p",
      "count": 1,
      "uuid": 49307119
    }
  ],
  "_userbio": {
    "uuid": 4849139,
    "type": "user",
    "name": "Pedro H. C. Sant'Anna"
  },
  "_downloads": {
    "count": 12582,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/DRDID"
  },
  "_devurl": "https://github.com/pedrohcgs/drdid",
  "_pkgdown": "https://psantanna.com/DRDID/",
  "_searchresults": 199,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/DRDID.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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"
    }
  ],
  "_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",
    "caret",
    "class",
    "cli",
    "clock",
    "codetools",
    "cpp11",
    "data.table",
    "diagram",
    "digest",
    "dplyr",
    "e1071",
    "farver",
    "fastglm",
    "foreach",
    "Formula",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gower",
    "gtable",
    "hardhat",
    "ipred",
    "isoband",
    "iterators",
    "KernSmooth",
    "labeling",
    "lattice",
    "lava",
    "lifecycle",
    "listenv",
    "lubridate",
    "magrittr",
    "MASS",
    "Matrix",
    "ModelMetrics",
    "nlme",
    "nnet",
    "numDeriv",
    "parallelly",
    "pillar",
    "pkgconfig",
    "plyr",
    "pROC",
    "prodlim",
    "progressr",
    "proxy",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "recipes",
    "reshape2",
    "rlang",
    "rpart",
    "S7",
    "scales",
    "shape",
    "sparsevctrs",
    "SQUAREM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "timeDate",
    "trust",
    "tzdb",
    "utf8",
    "uuid",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 9.556965249353944,
  "_indexed": true,
  "_nocasepkg": "drdid",
  "_universes": [
    "pedrohcgs"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.0",
      "date": "2026-06-09T21:57:28.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "85807cfbddbd64cc6f3f8ba37f52d07c6c3acc65",
      "fileid": "https://r2.ropensci.org/c0c1a6443d3658331bc52351425a88f78b2802bfac8389576dbb79fce976dae0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrohcgs/actions/runs/27238104410"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.0",
      "date": "2026-06-09T21:56:56.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "85807cfbddbd64cc6f3f8ba37f52d07c6c3acc65",
      "fileid": "https://r2.ropensci.org/7db0454c6adaa924a3bc16f216b2332a0d10ea1af0635967af3927b8dc2280a2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrohcgs/actions/runs/27238104410"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.3.0",
      "date": "2026-06-09T21:56:50.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "85807cfbddbd64cc6f3f8ba37f52d07c6c3acc65",
      "fileid": "https://r2.ropensci.org/80b578ebdbd29d57d7be5a3c49c12791d59bda30973b26c5a30bc91789473f80",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrohcgs/actions/runs/27238104410"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.3.0",
      "date": "2026-06-09T21:57:21.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "85807cfbddbd64cc6f3f8ba37f52d07c6c3acc65",
      "fileid": "https://r2.ropensci.org/06b5f97d1a45aa22d485380bb2a7469e208eeca9b70f7b13e431cd60a402ad78",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrohcgs/actions/runs/27238104410"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.0",
      "date": "2026-06-09T21:55:37.000Z",
      "arch": "aarch64",
      "commit": "85807cfbddbd64cc6f3f8ba37f52d07c6c3acc65",
      "fileid": "https://r2.ropensci.org/4952e1c18457a2791ef3bb28846d61e9d9ab717266f88ba04f3624d0c8ed245c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrohcgs/actions/runs/27238104410"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.0",
      "date": "2026-06-09T21:57:12.000Z",
      "arch": "x86_64",
      "commit": "85807cfbddbd64cc6f3f8ba37f52d07c6c3acc65",
      "fileid": "https://r2.ropensci.org/05196b876e7c488481a194e7639777cb025189ff5cf96cf9d345912feef1f055",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrohcgs/actions/runs/27238104410"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.3.0",
      "date": "2026-06-09T21:56:03.000Z",
      "arch": "aarch64",
      "commit": "85807cfbddbd64cc6f3f8ba37f52d07c6c3acc65",
      "fileid": "https://r2.ropensci.org/c5a37b8c57911bb6ad2fa8e9d009f44438af965609b369da12922e314a55df43",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrohcgs/actions/runs/27238104410"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.3.0",
      "date": "2026-06-09T21:56:55.000Z",
      "arch": "x86_64",
      "commit": "85807cfbddbd64cc6f3f8ba37f52d07c6c3acc65",
      "fileid": "https://r2.ropensci.org/9bbcaabc4474941d13b46d655960edd168828743b87b193389b1733189f16c29",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrohcgs/actions/runs/27238104410"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3.0",
      "date": "2026-06-09T21:56:21.000Z",
      "arch": "emscripten",
      "commit": "85807cfbddbd64cc6f3f8ba37f52d07c6c3acc65",
      "fileid": "https://r2.ropensci.org/9710f80516e7ac82df3fa6ef57910ef338e4f15ba91745680ebc0941abd1dce4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/pedrohcgs/actions/runs/27238104410"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-06-09T21:55:40.000Z",
      "arch": "x86_64",
      "commit": "85807cfbddbd64cc6f3f8ba37f52d07c6c3acc65",
      "fileid": "https://r2.ropensci.org/173a679872149df161f522522fbc7a0299faf11e2cd3b2e2ba5d2564952e70ad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrohcgs/actions/runs/27238104410"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-06-09T21:55:33.000Z",
      "arch": "x86_64",
      "commit": "85807cfbddbd64cc6f3f8ba37f52d07c6c3acc65",
      "fileid": "https://r2.ropensci.org/288e393682a5e34ae6342a40ad68adb011dd7657a3d2d0e583ead231269be024",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrohcgs/actions/runs/27238104410"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.3.0",
      "date": "2026-06-09T21:55:22.000Z",
      "arch": "x86_64",
      "commit": "85807cfbddbd64cc6f3f8ba37f52d07c6c3acc65",
      "fileid": "https://r2.ropensci.org/ae2d1b27b596e4b716447ee75fb12df409ba9af3572bc584c5db9301cbbae387",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/pedrohcgs/actions/runs/27238104410"
    }
  ]
}