{
  "_id": "6a1ba42d1d7bb097a0a131d9",
  "Package": "fixes",
  "Type": "Package",
  "Title": "Staggered DiD Tools: Event Studies and ATT Aggregation",
  "Version": "0.11.1",
  "Date": "2026-05-30",
  "Authors@R": "c(\nperson(\n\"Yosuke\", \"Abe\",\nemail = \"yosuke.abe0507@gmail.com\",\nrole = c(\"aut\", \"cre\")\n)\n)",
  "Description": "Provides tools for difference-in-differences (DiD)\nestimation and visualization with staggered adoption. Includes\nrun_es() for event-study curves (dynamic effects by relative\ntime) and calc_att() for aggregated ATT estimation (overall, by\ncohort, by calendar time). Supports multiple modern estimators:\nCallaway-Sant'Anna (2021), Sun-Abraham (2021),\nBorusyak-Jaravel-Spiess (2024), Wooldridge TWM, and Deb et al.\nFLEX.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/yo5uke/fixes, https://yo5uke.com/fixes/",
  "BugReports": "https://github.com/yo5uke/fixes/issues",
  "Config/roxygen2/version": "8.0.0",
  "Config/roxygen2/markdown": "TRUE",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://yo5uke.r-universe.dev",
  "Date/Publication": "2026-05-31 02:46:18 UTC",
  "RemoteUrl": "https://github.com/yo5uke/fixes",
  "RemoteRef": "HEAD",
  "RemoteSha": "8ae121c4c94bd45fa03ec7ea9980cdb00a044bc3",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-31 02:53:20 UTC",
    "User": "root"
  },
  "Author": "Yosuke Abe [aut, cre]",
  "Maintainer": "Yosuke Abe <yosuke.abe0507@gmail.com>",
  "MD5sum": "f17908111443ae986309e1e1998f5a31",
  "_user": "yo5uke",
  "_type": "src",
  "_file": "fixes_0.11.1.tar.gz",
  "_fileid": "2abd49dec2001e3933c9a1b999f826e0247206c8b73dbe5ad2dc863f82161064",
  "_filesize": 1970277,
  "_sha256": "2abd49dec2001e3933c9a1b999f826e0247206c8b73dbe5ad2dc863f82161064",
  "_created": "2026-05-31T02:53:20.000Z",
  "_published": "2026-05-31T02:59:57.025Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78695093853,
      "time": 228,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7313270857"
    },
    {
      "job": 78695093849,
      "time": 290,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7313275337"
    },
    {
      "job": 78695093851,
      "time": 209,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7313269365"
    },
    {
      "job": 78695093869,
      "time": 214,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7313269801"
    },
    {
      "job": 78695093832,
      "time": 156,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7313265343"
    },
    {
      "job": 78695093833,
      "time": 344,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7313279323"
    },
    {
      "job": 78695093824,
      "time": 135,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7313263665"
    },
    {
      "job": 78695093827,
      "time": 261,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7313273165"
    },
    {
      "job": 78694871091,
      "time": 293,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7313253529"
    },
    {
      "job": 78695093817,
      "time": 195,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7313268298"
    },
    {
      "job": 78695093818,
      "time": 202,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7313268763"
    },
    {
      "job": 78695093830,
      "time": 177,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7313267622"
    },
    {
      "job": 78695093819,
      "time": 190,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7313267949"
    }
  ],
  "_buildurl": "https://github.com/r-universe/yo5uke/actions/runs/26701438807",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/yo5uke/fixes",
  "_commit": {
    "id": "8ae121c4c94bd45fa03ec7ea9980cdb00a044bc3",
    "author": "Yosuke Abe <yosuke.abe0507@gmail.com>",
    "committer": "Yosuke Abe <yosuke.abe0507@gmail.com>",
    "message": "ci(pkgdown): add GitHub Actions workflow to deploy the docs site\n\nStandard r-lib pkgdown workflow: builds the site with\npkgdown::build_site_github_pages() and deploys docs/ to the gh-pages\nbranch on push to main, release, or manual dispatch. PRs build the\nsite for verification without deploying.\n\nCo-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>\n",
    "time": 1780195578
  },
  "_maintainer": {
    "name": "Yosuke Abe",
    "email": "yosuke.abe0507@gmail.com",
    "login": "yo5uke",
    "bluesky": "@5uke.bsky.social",
    "twitter": "@5uke_y",
    "description": "",
    "uuid": 141737272
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "fixest",
      "role": "Imports"
    },
    {
      "package": "broom",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "haven",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "plotly",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "did",
      "role": "Suggests"
    },
    {
      "package": "didimputation",
      "role": "Suggests"
    },
    {
      "package": "modelsummary",
      "role": "Suggests"
    },
    {
      "package": "tinytable",
      "role": "Suggests"
    },
    {
      "package": "lpSolveAPI",
      "role": "Suggests"
    },
    {
      "package": "Rglpk",
      "role": "Suggests"
    },
    {
      "package": "TruncatedNormal",
      "role": "Suggests"
    },
    {
      "package": "Matrix",
      "role": "Suggests"
    },
    {
      "package": "pracma",
      "role": "Suggests"
    },
    {
      "package": "HonestDiD",
      "role": "Suggests"
    }
  ],
  "_owner": "yo5uke",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-27",
      "n": 9
    },
    {
      "week": "2025-29",
      "n": 1
    },
    {
      "week": "2025-38",
      "n": 1
    },
    {
      "week": "2025-44",
      "n": 16
    },
    {
      "week": "2026-18",
      "n": 3
    },
    {
      "week": "2026-19",
      "n": 9
    },
    {
      "week": "2026-20",
      "n": 6
    },
    {
      "week": "2026-21",
      "n": 3
    },
    {
      "week": "2026-22",
      "n": 8
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "yo5uke",
      "count": 110,
      "uuid": 141737272
    },
    {
      "user": "claude",
      "count": 1,
      "uuid": 81847
    }
  ],
  "_userbio": {
    "uuid": 141737272,
    "type": "user",
    "name": "Yosuke Abe"
  },
  "_downloads": {
    "count": 543,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/fixes"
  },
  "_devurl": "https://github.com/yo5uke/fixes",
  "_searchresults": 23,
  "_topics": [
    "openblas",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/fixes.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/yo5uke/fixes",
  "_realowner": "yo5uke",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2025-03-22"
    },
    {
      "version": "0.2.0",
      "date": "2025-04-23"
    },
    {
      "version": "0.2.1",
      "date": "2025-05-10"
    },
    {
      "version": "0.4.0",
      "date": "2025-05-27"
    },
    {
      "version": "0.4.1",
      "date": "2025-06-30"
    },
    {
      "version": "0.5.0",
      "date": "2025-07-07"
    },
    {
      "version": "0.7.2",
      "date": "2026-05-02"
    },
    {
      "version": "0.8.1",
      "date": "2026-05-10"
    }
  ],
  "_exports": [
    "calc_att",
    "compute_contamination_weights",
    "honest_sensitivity",
    "plot_att_gt",
    "plot_contamination_weights",
    "plot_es",
    "plot_es_interactive",
    "plot_honest",
    "run_did",
    "run_es"
  ],
  "_help": [
    {
      "page": "autoplot.es_result",
      "title": "Autoplot for event-study results",
      "topics": [
        "autoplot.es_result"
      ]
    },
    {
      "page": "calc_att",
      "title": "Compute ATT Aggregations for Staggered Adoption Designs",
      "topics": [
        "calc_att"
      ]
    },
    {
      "page": "compute_contamination_weights",
      "title": "Contamination Weights for TWFE Event-Study Coefficients (Sun-Abraham 2021)",
      "topics": [
        "compute_contamination_weights"
      ]
    },
    {
      "page": "glance.did_result",
      "title": "Glance at a 'did_result' object",
      "topics": [
        "glance.did_result"
      ]
    },
    {
      "page": "honest_sensitivity",
      "title": "Honest sensitivity analysis for parallel-trends violations",
      "topics": [
        "honest_sensitivity"
      ]
    },
    {
      "page": "plot_att_gt",
      "title": "Plot the ATT(g,t) matrix from a Callaway-Sant'Anna event study",
      "topics": [
        "autoplot.att_gt_result",
        "plot_att_gt"
      ]
    },
    {
      "page": "plot_contamination_weights",
      "title": "Plot Contamination Weights as a Tile Heatmap",
      "topics": [
        "plot_contamination_weights"
      ]
    },
    {
      "page": "plot_es",
      "title": "Plot event-study results with ribbons or error bars",
      "topics": [
        "plot_es"
      ]
    },
    {
      "page": "plot_es_interactive",
      "title": "Interactive event-study plot with hover details",
      "topics": [
        "plot_es_interactive"
      ]
    },
    {
      "page": "plot_honest",
      "title": "Plot a honest sensitivity analysis",
      "topics": [
        "autoplot.honest_result",
        "plot_honest"
      ]
    },
    {
      "page": "run_did",
      "title": "Run a basic two-way fixed-effects DiD model",
      "topics": [
        "run_did"
      ]
    },
    {
      "page": "run_es",
      "title": "Event Study Estimation for Panel Data",
      "topics": [
        "run_es"
      ]
    },
    {
      "page": "tidy.did_result",
      "title": "Tidy a 'did_result' object",
      "topics": [
        "tidy.did_result"
      ]
    }
  ],
  "_readme": "https://github.com/yo5uke/fixes/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "broom",
    "cli",
    "cpp11",
    "dplyr",
    "dreamerr",
    "farver",
    "fixest",
    "Formula",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "nlme",
    "numDeriv",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "S7",
    "sandwich",
    "scales",
    "stringi",
    "stringmagic",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_sysdeps": [
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "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"
    }
  ],
  "_vignettes": [
    {
      "source": "fixes-intro.Rmd",
      "filename": "fixes-intro.html",
      "title": "Introduction to fixes",
      "author": "Yosuke Abe",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Installation",
        "Minimal Example",
        "Visualizing Event Study Results",
        "Staggered Treatment with sunab",
        "Package Highlights",
        "Staggered adoption estimators (v0.8.0)",
        "Callaway & Sant'Anna (2021) — estimator = \"cs\"",
        "Sun & Abraham (2021) — estimator = \"sa\"",
        "Borusyak, Jaravel & Spiess (2024) — estimator = \"bjs\"",
        "Bootstrap simultaneous confidence bands (v0.8.0)",
        "Pointwise vs. simultaneous CIs",
        "Usage",
        "ATT(g,t) visualization (v0.8.0)",
        "Heatmap",
        "Facet plot",
        "Conclusion"
      ],
      "created": "2025-03-17 11:27:22",
      "modified": "2026-05-10 02:56:57",
      "commits": 8
    }
  ],
  "_score": 5.014940349792937,
  "_indexed": true,
  "_nocasepkg": "fixes",
  "_universes": [
    "yo5uke"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.11.1",
      "date": "2026-05-31T02:57:00.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "8ae121c4c94bd45fa03ec7ea9980cdb00a044bc3",
      "fileid": "d7b8cd06ed5c8eb89951303a08c7d6797df0f5b1c5f6e8116f820032179394c3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yo5uke/actions/runs/26701438807"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.11.1",
      "date": "2026-05-31T02:57:56.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "8ae121c4c94bd45fa03ec7ea9980cdb00a044bc3",
      "fileid": "a38258d3c21e827c6916d7098b808f153325d9e5f1545a7b9a8b259474bfc54e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yo5uke/actions/runs/26701438807"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.11.1",
      "date": "2026-05-31T02:56:35.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "8ae121c4c94bd45fa03ec7ea9980cdb00a044bc3",
      "fileid": "2b376c8b6f742c8cdb17c58adcdf9e1b9cbfaf03e783d6cbb88b5567ffa9b0c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yo5uke/actions/runs/26701438807"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.11.1",
      "date": "2026-05-31T02:56:42.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "8ae121c4c94bd45fa03ec7ea9980cdb00a044bc3",
      "fileid": "c7ec578e2a88a402a4f05e6aac1bf349cf5254373e3a9bcc838abb477d96c94c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yo5uke/actions/runs/26701438807"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.11.1",
      "date": "2026-05-31T02:55:47.000Z",
      "arch": "aarch64",
      "commit": "8ae121c4c94bd45fa03ec7ea9980cdb00a044bc3",
      "fileid": "d79af9597ac50b7e7706862bf1fe5ae6314e0712bd65749818b8a835b972985a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yo5uke/actions/runs/26701438807"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.11.1",
      "date": "2026-05-31T02:57:46.000Z",
      "arch": "x86_64",
      "commit": "8ae121c4c94bd45fa03ec7ea9980cdb00a044bc3",
      "fileid": "c97caf976f8137679e6f8d1d4a04740cf8a4f87281625ed7f18ecc5697710442",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yo5uke/actions/runs/26701438807"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.11.1",
      "date": "2026-05-31T02:55:33.000Z",
      "arch": "aarch64",
      "commit": "8ae121c4c94bd45fa03ec7ea9980cdb00a044bc3",
      "fileid": "9fe5b76783eab2c882edfa0c9a95f6e1538d6b638fda704d947ecbd12256983c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yo5uke/actions/runs/26701438807"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.11.1",
      "date": "2026-05-31T02:56:55.000Z",
      "arch": "x86_64",
      "commit": "8ae121c4c94bd45fa03ec7ea9980cdb00a044bc3",
      "fileid": "a39f9aaf598d1944a24f86ecee5dc028de209aac7b2d5f8ed325e9a3fa40c9b8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yo5uke/actions/runs/26701438807"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.11.1",
      "date": "2026-05-31T02:56:52.000Z",
      "arch": "emscripten",
      "commit": "8ae121c4c94bd45fa03ec7ea9980cdb00a044bc3",
      "fileid": "13821df48a4ad7e2ea2306e6b15a2c3e78e333dad7785bab2bba1d688c5050ac",
      "status": "success",
      "buildurl": "https://github.com/r-universe/yo5uke/actions/runs/26701438807"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.11.1",
      "date": "2026-05-31T02:55:54.000Z",
      "arch": "x86_64",
      "commit": "8ae121c4c94bd45fa03ec7ea9980cdb00a044bc3",
      "fileid": "01293f4e8f92030a1c94742cf0f4004511988382fafa85498b3f143365a18d20",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yo5uke/actions/runs/26701438807"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.11.1",
      "date": "2026-05-31T02:55:34.000Z",
      "arch": "x86_64",
      "commit": "8ae121c4c94bd45fa03ec7ea9980cdb00a044bc3",
      "fileid": "4898907dae88a3dc0a3ea58b0fac49eaaa97656a1363afef33a70e2db059d562",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yo5uke/actions/runs/26701438807"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.11.1",
      "date": "2026-05-31T02:55:23.000Z",
      "arch": "x86_64",
      "commit": "8ae121c4c94bd45fa03ec7ea9980cdb00a044bc3",
      "fileid": "1cb452983366104f89fdb935300928b5780f8a7c2b667f79448eea4f23a5442c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yo5uke/actions/runs/26701438807"
    }
  ]
}