{
  "_id": "6ad622306b811b735aabe37a",
  "Package": "sdid",
  "Title": "Updated Synthetic Difference-in-Differences Estimation and\nInference",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\"Jose J.\", \"Alcocer\", email = \"alcocer@protonmail.com\", role = c(\"aut\", \"cre\", \"cph\"), comment = c(ORCID = \"0009-0005-0469-3689\")),\nperson(\"Harry G.\", \"Muttram\", email = \"hmutt001@ucr.edu\", role = \"aut\", comment = c(ORCID = \"0009-0001-4241-3204\")),\nperson(\"Dmitry\", \"Arkhangelsky\", role = \"ctb\"),\nperson(\"Susan\", \"Athey\", role = \"ctb\"),\nperson(\"David A.\", \"Hirshberg\", role = \"ctb\"),\nperson(\"Guido W.\", \"Imbens\", role = \"ctb\"),\nperson(\"Stefan\", \"Wager\", role = \"ctb\"),\nperson(\"Stanford University\", role = \"cph\"))",
  "Description": "Synthetic difference-in-differences, synthetic control and\ndifference-in-differences estimates of the average treatment\neffect on the treated in panel data, following Arkhangelsky,\nAthey, Hirshberg, Imbens and Wager (2021)\n<doi:10.1257/aer.20190159> and the Stata implementation of\nClarke, Pailanir, Athey and Imbens (2024)\n<doi:10.1177/1536867X241297914>. Supports simultaneous and\nstaggered treatment adoption, bootstrap, jackknife and placebo\ninference, covariate adjustment, and parallel replications in\ncompiled code. Derived from the synthdid package by the authors\nof the 2021 paper.",
  "License": "BSD_3_clause + file LICENSE",
  "URL": "https://github.com/alcocer-jj/sdid",
  "BugReports": "https://github.com/alcocer-jj/sdid/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "Config/roxygen2/version": "8.0.0",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.3",
  "Repository": "https://alcocer-jj.r-universe.dev",
  "Date/Publication": "2026-10-19 09:33:42 UTC",
  "RemoteUrl": "https://github.com/alcocer-jj/sdid",
  "RemoteRef": "HEAD",
  "RemoteSha": "bd71467bd94d3ae2faa8a99789324a514723a83d",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-19 13:47:27 UTC",
    "User": "root"
  },
  "Author": "Jose J. Alcocer [aut, cre, cph] (ORCID:\n<https://orcid.org/0009-0005-0469-3689>),\nHarry G. Muttram [aut] (ORCID: <https://orcid.org/0009-0001-4241-3204>),\nDmitry Arkhangelsky [ctb],\nSusan Athey [ctb],\nDavid A. Hirshberg [ctb],\nGuido W. Imbens [ctb],\nStefan Wager [ctb],\nStanford University [cph]",
  "Maintainer": "Jose J. Alcocer <alcocer@protonmail.com>",
  "_user": "alcocer-jj",
  "_type": "src",
  "_file": "sdid_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/52474f0b9aa5eab3dce60a10e409aa022abd6da4be9a29a515ad2d0e1923c862",
  "_filesize": 3112687,
  "_sha256": "52474f0b9aa5eab3dce60a10e409aa022abd6da4be9a29a515ad2d0e1923c862",
  "_expires": "2027-01-27T13:59:10.000Z",
  "_created": "2026-10-19T13:47:27.000Z",
  "_published": "2026-10-19T13:59:12.330Z",
  "_buildurl": "https://github.com/r-universe/alcocer-jj/actions/runs/39262425054",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 118096144531,
      "time": 194,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12191169286"
    },
    {
      "job": 118096144394,
      "time": 234,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12192280525"
    },
    {
      "job": 118096144323,
      "time": 195,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12190494954"
    },
    {
      "job": 118096144280,
      "time": 220,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12191074656"
    },
    {
      "job": 118096144228,
      "time": 236,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12191519435"
    },
    {
      "job": 118096144150,
      "time": 443,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12193045337"
    },
    {
      "job": 118096144124,
      "time": 173,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12191148879"
    },
    {
      "job": 118096144264,
      "time": 543,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12193120542"
    },
    {
      "job": 118093451716,
      "time": 319,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12191768382"
    },
    {
      "job": 118096144415,
      "time": 115,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12191333485"
    },
    {
      "job": 118096144357,
      "time": 309,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12192355415"
    },
    {
      "job": 118096144602,
      "time": 278,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12191089898"
    },
    {
      "job": 118096144475,
      "time": 236,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12191794232"
    },
    {
      "job": 118096144549,
      "time": 313,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12191949012"
    },
    {
      "job": 118096144146,
      "time": 252,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12192033821"
    }
  ],
  "_upstream": "https://github.com/alcocer-jj/sdid",
  "_commit": {
    "id": "bd71467bd94d3ae2faa8a99789324a514723a83d",
    "author": "José J. Alcocer <84480542+alcocer-jj@users.noreply.github.com>",
    "committer": "José J. Alcocer <84480542+alcocer-jj@users.noreply.github.com>",
    "message": "update required packages and provide clearer prose on downloading package\n",
    "time": 1792402422
  },
  "_maintainer": {
    "name": "Jose J. Alcocer",
    "email": "alcocer@protonmail.com",
    "login": "alcocer-jj",
    "description": "",
    "uuid": 84480542,
    "orcid": "0009-0005-0469-3689"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.0",
      "role": "Imports"
    },
    {
      "package": "generics",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "ggrepel",
      "role": "Suggests"
    },
    {
      "package": "mvtnorm",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "data.table",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "CVXR",
      "role": "Suggests"
    }
  ],
  "_owner": "alcocer-jj",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-42",
      "n": 12
    },
    {
      "week": "2026-43",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "davidahirshberg",
      "count": 82,
      "uuid": 1794012
    },
    {
      "user": "erikcs",
      "count": 35,
      "uuid": 7185264
    },
    {
      "user": "alcocer-jj",
      "count": 12,
      "uuid": 84480542
    },
    {
      "user": "swager",
      "count": 6,
      "uuid": 1275702
    },
    {
      "user": "petratschuchnig",
      "count": 1,
      "uuid": 155922122
    },
    {
      "user": "awhitefield8",
      "count": 1,
      "uuid": 59574428
    },
    {
      "user": "harrymuttram",
      "count": 1,
      "uuid": 175641314
    }
  ],
  "_userbio": {
    "uuid": 84480542,
    "type": "user",
    "name": "José J. Alcocer",
    "followers": 7
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sdid"
  },
  "_devurl": "https://github.com/alcocer-jj/sdid",
  "_searchresults": 5,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "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",
    "extra/sdid.html",
    "LICENSE"
  ],
  "_cranurl": false,
  "_exports": [
    "sdid",
    "sdid_placebo",
    "sdid_placebo_plot",
    "sdid_plot",
    "sdid_units_plot"
  ],
  "_datasets": [
    {
      "name": "california_prop99",
      "title": "California proposition 99",
      "object": "california_prop99",
      "class": [
        "data.frame"
      ],
      "fields": [
        "State",
        "Year",
        "PacksPerCapita",
        "treated"
      ],
      "rows": 1209,
      "table": true,
      "tojson": true
    },
    {
      "name": "CPS",
      "title": "CPS",
      "object": "CPS",
      "class": [
        "data.frame"
      ],
      "fields": [
        "state",
        "year",
        "log_wage",
        "hours",
        "urate",
        "min_wage",
        "open_carry",
        "abort_ban"
      ],
      "rows": 2000,
      "table": true,
      "tojson": true
    },
    {
      "name": "PENN",
      "title": "PENN",
      "object": "PENN",
      "class": [
        "data.frame"
      ],
      "fields": [
        "country",
        "year",
        "log_gdp",
        "dem",
        "educ"
      ],
      "rows": 5328,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "california_prop99",
      "title": "California proposition 99",
      "topics": [
        "california_prop99"
      ]
    },
    {
      "page": "CPS",
      "title": "CPS",
      "topics": [
        "CPS"
      ]
    },
    {
      "page": "PENN",
      "title": "PENN",
      "topics": [
        "PENN"
      ]
    },
    {
      "page": "sdid",
      "title": "Synthetic difference-in-differences estimation and inference",
      "topics": [
        "sdid"
      ]
    },
    {
      "page": "sdid_placebo",
      "title": "Computes a placebo variant of our estimator using pre-treatment data only",
      "topics": [
        "sdid_placebo"
      ]
    },
    {
      "page": "sdid_placebo_plot",
      "title": "Plot an estimate with its in-time placebo",
      "topics": [
        "sdid_placebo_plot"
      ]
    },
    {
      "page": "sdid_plot",
      "title": "Plot treated and synthetic control trajectories",
      "topics": [
        "sdid_plot"
      ]
    },
    {
      "page": "sdid_units_plot",
      "title": "Plots each control unit's weight and its own estimate",
      "topics": [
        "sdid_units_plot"
      ]
    },
    {
      "page": "sdid-methods",
      "title": "Methods for sdid results",
      "topics": [
        "coef.sdid",
        "confint.sdid",
        "nobs.sdid",
        "plot.sdid",
        "print.sdid",
        "sdid-methods",
        "summary.sdid",
        "vcov.sdid"
      ]
    },
    {
      "page": "sdid-tidiers",
      "title": "Tidy and glance methods for sdid results",
      "topics": [
        "glance.sdid",
        "sdid-tidiers",
        "tidy.sdid"
      ]
    },
    {
      "page": "weights.sdid",
      "title": "Unit and time weights of an sdid result",
      "topics": [
        "weights.sdid"
      ]
    }
  ],
  "_readme": "https://github.com/alcocer-jj/sdid/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "S7",
    "scales",
    "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)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "sdid.Rmd",
      "filename": "sdid.html",
      "title": "Getting started with sdid",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Estimating an effect",
        "Reading the result",
        "Inference",
        "Other estimators",
        "Covariates",
        "Staggered adoption",
        "Tables",
        "References"
      ],
      "created": "2026-10-16 22:30:15",
      "modified": "2026-10-18 21:57:16",
      "commits": 3
    },
    {
      "source": "plotting.Rmd",
      "filename": "plotting.html",
      "title": "Plotting results",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Trends",
        "Individual units",
        "Comparing estimators",
        "Ticks",
        "Unit weights",
        "Placebo tests"
      ],
      "created": "2026-10-16 22:30:15",
      "modified": "2026-10-18 21:14:19",
      "commits": 2
    }
  ],
  "_score": 4.079181246047625,
  "_indexed": true,
  "_nocasepkg": "sdid",
  "_universes": [
    "alcocer-jj"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-19T13:49:30.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "bd71467bd94d3ae2faa8a99789324a514723a83d",
      "fileid": "https://r2.ropensci.org/f5efd211ccb737b8f55a5931c8b24d5d639efa7583339a63a94d1bdb1ccc5451",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alcocer-jj/actions/runs/39262425054"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-19T13:49:45.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "bd71467bd94d3ae2faa8a99789324a514723a83d",
      "fileid": "https://r2.ropensci.org/ce7935613037b257af6b455de68e59ba5d9abd4b1466564141908cebe6d828f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alcocer-jj/actions/runs/39262425054"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-19T13:49:31.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "bd71467bd94d3ae2faa8a99789324a514723a83d",
      "fileid": "https://r2.ropensci.org/3c88fd0be26ffd2de370fc14566286b0f13a9cfcfb8c1a550b73960d9ac37e56",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alcocer-jj/actions/runs/39262425054"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-19T13:49:55.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "bd71467bd94d3ae2faa8a99789324a514723a83d",
      "fileid": "https://r2.ropensci.org/76fe9ff417699f9296290205f5d447f9ca7d403f2b7c6b0e13e4d3e1d15f1bcb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alcocer-jj/actions/runs/39262425054"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-19T13:51:42.000Z",
      "arch": "aarch64",
      "commit": "bd71467bd94d3ae2faa8a99789324a514723a83d",
      "fileid": "https://r2.ropensci.org/2234b784b6de4842ab8c09e22c69d0a69e605b1ff26987038057bf114d721179",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alcocer-jj/actions/runs/39262425054"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-19T13:52:51.000Z",
      "arch": "x86_64",
      "commit": "bd71467bd94d3ae2faa8a99789324a514723a83d",
      "fileid": "https://r2.ropensci.org/238d4937137913a63d70e4a225e3cc969d931e8c0ce9d3ab9f84a83a987b8eb5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alcocer-jj/actions/runs/39262425054"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-19T13:50:47.000Z",
      "arch": "aarch64",
      "commit": "bd71467bd94d3ae2faa8a99789324a514723a83d",
      "fileid": "https://r2.ropensci.org/769783bd32608a48995c08af715d8bb290b8c8d1d3238c64d2abc766ca27726f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alcocer-jj/actions/runs/39262425054"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-19T13:52:44.000Z",
      "arch": "x86_64",
      "commit": "bd71467bd94d3ae2faa8a99789324a514723a83d",
      "fileid": "https://r2.ropensci.org/41666f42ff9b08aea53f16eddc6355d1462d5447dafe776ac7f55694cc3e5d9c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alcocer-jj/actions/runs/39262425054"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-10-19T13:49:48.000Z",
      "arch": "emscripten",
      "commit": "bd71467bd94d3ae2faa8a99789324a514723a83d",
      "fileid": "https://r2.ropensci.org/0aa8d13812f77aba7ed36e660262b1c7ad0961c2fc1aa14df4c2358553e8109d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/alcocer-jj/actions/runs/39262425054"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-19T13:50:50.000Z",
      "arch": "aarch64",
      "commit": "bd71467bd94d3ae2faa8a99789324a514723a83d",
      "fileid": "https://r2.ropensci.org/4de5181093e86ac3d1b841f338b07f42c9e4ff4264f4b132eebac8d21afaa7e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alcocer-jj/actions/runs/39262425054"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-19T13:49:13.000Z",
      "arch": "x86_64",
      "commit": "bd71467bd94d3ae2faa8a99789324a514723a83d",
      "fileid": "https://r2.ropensci.org/2023896f8c6413186bc1be2f89ecce12bd534856370335247400cfc7a20411e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alcocer-jj/actions/runs/39262425054"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-19T13:49:07.000Z",
      "arch": "x86_64",
      "commit": "bd71467bd94d3ae2faa8a99789324a514723a83d",
      "fileid": "https://r2.ropensci.org/e4f0a1768ec66fb969115d14d665183d23340661ed43dbf226204dede26ea297",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alcocer-jj/actions/runs/39262425054"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-19T13:50:56.000Z",
      "arch": "aarch64",
      "commit": "bd71467bd94d3ae2faa8a99789324a514723a83d",
      "fileid": "https://r2.ropensci.org/fa6303a968ae0eb949a0042eeba16e7e25c24c3f238982b75e3ad6ee76e64b49",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alcocer-jj/actions/runs/39262425054"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-19T13:49:08.000Z",
      "arch": "x86_64",
      "commit": "bd71467bd94d3ae2faa8a99789324a514723a83d",
      "fileid": "https://r2.ropensci.org/cef516aeb0ea36dd0d572ffc800bf03ed1fdee92fceea097d3978a726ccdeb42",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alcocer-jj/actions/runs/39262425054"
    }
  ]
}