{
  "_id": "6ad889d969e274306bae9811",
  "Package": "regsensitivity",
  "Type": "Package",
  "Title": "Regression Sensitivity Analysis for Omitted Variable Bias",
  "Version": "0.2.0",
  "Authors@R": "person(\"Mike\", \"Nguyen\", , \"nguyennghia1301@gmail.com\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-3432-8595\"))",
  "Description": "Sensitivity analysis for linear regression coefficients in\nthe presence of omitted variables. Implements the\nidentified-set and breakdown-point analyses of Diegert, Masten\nand Poirier (2026) <doi:10.48550/arXiv.2206.02303>, Oster\n(2019) <doi:10.1080/07350015.2016.1227711> and Masten and\nPoirier (2026) <doi:10.1257/aer.20230242>. Provides bounds on\nregression coefficients under relaxations of the\nno-omitted-variables assumption indexed by interpretable\nsensitivity parameters, the breakdown point of a hypothesis\nabout the long-regression coefficient, and plotting helpers.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/mikenguyen13/regsensitivity,\nhttps://mikenguyen13.github.io/regsensitivity/",
  "BugReports": "https://github.com/mikenguyen13/regsensitivity/issues",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/Needs/website": "pkgdown",
  "Config/Needs/coverage": "covr",
  "Config/Needs/lint": "lintr",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "cmake",
  "Repository": "https://mikenguyen13.r-universe.dev",
  "Date/Publication": "2026-10-20 22:09:52 UTC",
  "RemoteUrl": "https://github.com/mikenguyen13/regsensitivity",
  "RemoteRef": "HEAD",
  "RemoteSha": "4aa9c3bc4bdbfc288b188d3c4093a7914d557590",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-21 09:40:14 UTC",
    "User": "root"
  },
  "Author": "Mike Nguyen [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-3432-8595>)",
  "Maintainer": "Mike Nguyen <nguyennghia1301@gmail.com>",
  "_user": "mikenguyen13",
  "_type": "src",
  "_file": "regsensitivity_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/781e9636b83731748f76f9a7d12f02c477817202b4cc12ee5c76596f493b5d47",
  "_filesize": 2393376,
  "_sha256": "781e9636b83731748f76f9a7d12f02c477817202b4cc12ee5c76596f493b5d47",
  "_expires": "2027-01-29T09:45:59.000Z",
  "_created": "2026-10-21T09:40:14.000Z",
  "_published": "2026-10-21T09:46:01.251Z",
  "_buildurl": "https://github.com/r-universe/mikenguyen13/actions/runs/39577491231",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 119150949801,
      "time": 178,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12335402689"
    },
    {
      "job": 119150949693,
      "time": 183,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12335831813"
    },
    {
      "job": 119150949867,
      "time": 305,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12336012462"
    },
    {
      "job": 119150949699,
      "time": 227,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12335497584"
    },
    {
      "job": 119146668032,
      "time": 589,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12336250053"
    },
    {
      "job": 119150949926,
      "time": 142,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12335841126"
    },
    {
      "job": 119150949798,
      "time": 158,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12334893861"
    },
    {
      "job": 119150949878,
      "time": 158,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12335677096"
    },
    {
      "job": 119150949832,
      "time": 136,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12335911045"
    }
  ],
  "_upstream": "https://github.com/mikenguyen13/regsensitivity",
  "_commit": {
    "id": "4aa9c3bc4bdbfc288b188d3c4093a7914d557590",
    "author": "Mike Nguyen <nguyennghia1301@gmail.com>",
    "committer": "Mike Nguyen <nguyennghia1301@gmail.com>",
    "message": "docs: install from CRAN, now that it is there\n\nCo-Authored-By: Claude Opus 5 <noreply@anthropic.com>\n",
    "time": 1792534192
  },
  "_maintainer": {
    "name": "Mike Nguyen",
    "email": "nguyennghia1301@gmail.com",
    "login": "mikenguyen13",
    "description": "",
    "uuid": 57576563,
    "orcid": "0000-0002-3432-8595"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "nloptr",
      "version": ">= 2.0.0",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.5.0",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "generics",
      "role": "Suggests"
    },
    {
      "package": "shiny",
      "role": "Suggests"
    },
    {
      "package": "haven",
      "version": ">= 2.5.0",
      "role": "Suggests"
    },
    {
      "package": "AER",
      "role": "Suggests"
    },
    {
      "package": "sensemakr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "version": ">= 1.40",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "version": ">= 2.20",
      "role": "Suggests"
    },
    {
      "package": "pdftools",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "pkgdown",
      "role": "Suggests"
    }
  ],
  "_owner": "mikenguyen13",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-21",
      "n": 2
    },
    {
      "week": "2026-32",
      "n": 2
    },
    {
      "week": "2026-34",
      "n": 39
    },
    {
      "week": "2026-39",
      "n": 14
    },
    {
      "week": "2026-41",
      "n": 2
    },
    {
      "week": "2026-43",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.1.1",
      "date": "2026-05-23"
    },
    {
      "name": "v0.2.0",
      "date": "2026-10-07"
    }
  ],
  "_topics": [
    "breakdown-point",
    "causal-inference",
    "econometrics",
    "omitted-variable-bias",
    "partial-identification",
    "regression",
    "sensitivity-analysis",
    "statistics"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "mikenguyen13",
      "count": 67,
      "uuid": 57576563
    }
  ],
  "_userbio": {
    "uuid": 57576563,
    "type": "user",
    "name": "Mike",
    "followers": 55
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/regsensitivity"
  },
  "_devurl": "https://github.com/mikenguyen13/regsensitivity",
  "_pkgdown": "https://mikenguyen13.github.io/regsensitivity/",
  "_searchresults": 0,
  "_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/regsensitivity.html",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/mikenguyen13/regsensitivity",
  "_realowner": "mikenguyen13",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2026-10-20"
    }
  ],
  "_exports": [
    "bnd_eq",
    "bnd_lb",
    "bnd_ub",
    "calibrate_partial_r2",
    "calibrate_rho",
    "regsen_boot",
    "regsen_bounds",
    "regsen_breakdown",
    "regsen_cores",
    "regsen_explore",
    "regsen_glance",
    "regsen_multi",
    "regsen_summary",
    "regsen_table",
    "regsen_tidy",
    "regsensitivity",
    "scale_color_regsen",
    "scale_colour_regsen",
    "scale_fill_regsen",
    "theme_regsen"
  ],
  "_datasets": [
    {
      "name": "bfg2020",
      "title": "Bazzi, Fiszbein and Gebresilasse (2020) \"Frontier Culture\" replication data",
      "object": "bfg2020",
      "class": [
        "data.frame"
      ],
      "fields": [
        "lat",
        "lon",
        "statea",
        "avgrep2000to2016",
        "temp_mean",
        "rain_mean",
        "elev_mean",
        "d_coa",
        "d_riv",
        "d_lak",
        "ave_gyi",
        "tye_tfe890_500kNI_100_l6",
        "log_area_2010",
        "km_grid_cel_code"
      ],
      "rows": 2036,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "as.data.frame.regsensitivity",
      "title": "Extract sensitivity results as a tidy data frame",
      "topics": [
        "as.data.frame.regsensitivity"
      ]
    },
    {
      "page": "autoplot.regsensitivity",
      "title": "Autoplot method",
      "topics": [
        "autoplot.regsensitivity"
      ]
    },
    {
      "page": "bfg2020",
      "title": "Bazzi, Fiszbein and Gebresilasse (2020) \"Frontier Culture\" replication data",
      "topics": [
        "bfg2020"
      ]
    },
    {
      "page": "calibrate_partial_r2",
      "title": "Pairwise partial R-squared of calibration covariates",
      "topics": [
        "calibrate_partial_r2"
      ]
    },
    {
      "page": "calibrate_rho",
      "title": "Calibration parameters rho_k for rxbar",
      "topics": [
        "calibrate_rho"
      ]
    },
    {
      "page": "hypothesis_helpers",
      "title": "Hypothesis-direction helpers",
      "topics": [
        "bnd_eq",
        "bnd_lb",
        "bnd_ub",
        "hypothesis_helpers"
      ]
    },
    {
      "page": "plot.regsensitivity",
      "title": "Plot a regression sensitivity analysis",
      "topics": [
        "plot.regsensitivity"
      ]
    },
    {
      "page": "regsen_boot",
      "title": "Bootstrap confidence interval for the breakdown point",
      "topics": [
        "regsen_boot"
      ]
    },
    {
      "page": "regsen_bounds",
      "title": "Bounds on a regression coefficient under omitted-variable bias",
      "topics": [
        "regsen_bounds"
      ]
    },
    {
      "page": "regsen_breakdown",
      "title": "Breakdown frontier for a regression coefficient hypothesis",
      "topics": [
        "regsen_breakdown"
      ]
    },
    {
      "page": "regsen_cores",
      "title": "Cores used by the package",
      "topics": [
        "regsen_cores"
      ]
    },
    {
      "page": "regsen_explore",
      "title": "Explore a sensitivity analysis interactively",
      "topics": [
        "regsen_explore"
      ]
    },
    {
      "page": "regsen_multi",
      "title": "Sensitivity analysis for several treatments at once",
      "topics": [
        "plot.regsensitivity_multi",
        "regsen_multi"
      ]
    },
    {
      "page": "regsen_summary",
      "title": "Sensitivity summary (DMP bounds + Oster breakdown)",
      "topics": [
        "regsen_summary"
      ]
    },
    {
      "page": "regsen_table",
      "title": "Render a sensitivity analysis as a publication-ready table",
      "topics": [
        "regsen_table"
      ]
    },
    {
      "page": "regsen_tidy",
      "title": "Tidy a sensitivity analysis",
      "topics": [
        "regsen_glance",
        "regsen_tidy"
      ]
    },
    {
      "page": "regsensitivity",
      "title": "Regression sensitivity analysis",
      "topics": [
        "regsensitivity"
      ]
    },
    {
      "page": "scale_colour_regsen",
      "title": "Colourblind-safe scales for sensitivity plots",
      "topics": [
        "scale_color_regsen",
        "scale_colour_regsen",
        "scale_fill_regsen"
      ]
    },
    {
      "page": "theme_regsen",
      "title": "Publication-ready theme for sensitivity plots",
      "topics": [
        "theme_regsen"
      ]
    }
  ],
  "_pkglogo": "https://github.com/mikenguyen13/regsensitivity/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/mikenguyen13/regsensitivity/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "nloptr",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "stata-migration.Rmd",
      "filename": "stata-migration.html",
      "title": "Coming from the Stata package",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Command map",
        "The Stata vignette, translated",
        "Default summary",
        "Bounds at a single cbar",
        "Bounds over a grid of cbar",
        "Restricting rxbar as well",
        "Breakdown frontier",
        "Breakdown for a one-sided hypothesis",
        "Bounding the unobservable's effect on the outcome",
        "Oster (2019)",
        "Oster breakdown over rmax",
        "Coverage",
        "Beyond the Stata package"
      ],
      "created": "2026-08-20 16:56:09",
      "modified": "2026-09-22 19:10:15",
      "commits": 5
    },
    {
      "source": "plots-and-tables.Rmd",
      "filename": "plots-and-tables.html",
      "title": "Publication-ready plots and tables",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Figures",
        "Reading an unbounded identified set",
        "Reference lines",
        "Sizing for a journal",
        "Matching your manuscript's font",
        "Colour, greyscale and accessibility",
        "Overriding anything",
        "Tables",
        "The tidy route",
        "The convenience route",
        "LaTeX for a journal",
        "Infinite bounds",
        "Feeding modelsummary"
      ],
      "created": "2026-08-20 16:56:09",
      "modified": "2026-08-20 23:02:52",
      "commits": 2
    },
    {
      "source": "interpreting-results.Rmd",
      "filename": "interpreting-results.html",
      "title": "Reading the output: interpretation, edge cases and decisions",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The numbers, and what each one means",
        "The decision path",
        "Case 1: a robust conclusion",
        "Case 2: a fragile conclusion",
        "Case 3: a breakdown point of zero",
        "Case 4: the set is unbounded early -- a weak calibration set",
        "Case 5: which covariates go in compare",
        "Case 6: what cbar does, and when it matters",
        "Case 7: bounding the effect on the outcome too",
        "Case 8: Oster's $\\delta$, and why a large one is not enough",
        "Case 9: the bootstrap interval",
        "Case 10: several treatments at once",
        "Common mistakes",
        "A reporting checklist",
        "References"
      ],
      "created": "2026-09-21 18:41:53",
      "modified": "2026-10-07 17:58:54",
      "commits": 3
    },
    {
      "source": "regsensitivity.Rmd",
      "filename": "regsensitivity.html",
      "title": "regsensitivity: a tour",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The setup",
        "The three sensitivity parameters",
        "DMP (2026) bounds",
        "Constrained rybar",
        "DMP breakdown",
        "The frontier in the other direction",
        "Asserting endogenous controls",
        "Oster (2019) bounds",
        "Oster, |delta| <= d (bound)",
        "Oster breakdown",
        "Using several cores",
        "Summary call",
        "References"
      ],
      "created": "2026-05-23 21:42:50",
      "modified": "2026-10-07 17:58:54",
      "commits": 8
    },
    {
      "source": "dmp2022-replication.Rmd",
      "filename": "dmp2022-replication.html",
      "title": "Replication: Diegert, Masten and Poirier (2026)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Table 1, Panel C, column (5): breakdown points",
        "Table 3: correlations between observed covariates",
        "Table 4, column (5): rho_k calibration",
        "Figure 1: Sensitivity analysis for Republican Vote Share",
        "Left panel: bounds on $\\beta_{long}$ as a function of $\\bar r_X$, $\\bar c = 1$",
        "Right panel: the breakdown frontier in $(\\bar r_X, \\bar r_Y)$ space",
        "Overlaying the calibration values",
        "Figure 2: not reproducible from the bundled data",
        "Figure 3: moving the state fixed effects into the calibration set",
        "Bonus: identified set under $\\bar r_Y < \\infty$"
      ],
      "created": "2026-05-23 21:42:50",
      "modified": "2026-10-07 17:58:54",
      "commits": 13
    },
    {
      "source": "mp2022-stylized.Rmd",
      "filename": "mp2022-stylized.html",
      "title": "Stylized examples from Masten and Poirier (2026)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "A stylized data-generating process",
        "Figure 1: Oster's identified set $\\mathcal{B}I(\\delta, R{long})$",
        "Figure 2: cumulative identified set $\\delta \\le \\bar d$",
        "Table 1: breakdown points",
        "Effect of a maxovb constraint",
        "Meta-analysis tables (paper Tables 3-4)"
      ],
      "created": "2026-05-23 21:42:50",
      "modified": "2026-09-22 19:10:15",
      "commits": 4
    }
  ],
  "_score": 5.2552725051033065,
  "_indexed": true,
  "_nocasepkg": "regsensitivity",
  "_universes": [
    "mikenguyen13"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-21T09:42:35.000Z",
      "distro": "resolute",
      "commit": "4aa9c3bc4bdbfc288b188d3c4093a7914d557590",
      "fileid": "https://r2.ropensci.org/5f2e4aff2cb517d65932bb28ebeda492769492067771276553c2a93ddaf2aaea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikenguyen13/actions/runs/39577491231"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-21T09:42:31.000Z",
      "distro": "resolute",
      "commit": "4aa9c3bc4bdbfc288b188d3c4093a7914d557590",
      "fileid": "https://r2.ropensci.org/05dd80a95373a2579a30f12eb15d4ef565ee89a0a9a1c1451a7600367736ab43",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikenguyen13/actions/runs/39577491231"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-21T09:43:27.000Z",
      "commit": "4aa9c3bc4bdbfc288b188d3c4093a7914d557590",
      "fileid": "https://r2.ropensci.org/cf165cc24073520a5eb543963cbd8bc7fe2f24f14baec8884dd0d2f95e19ce0f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikenguyen13/actions/runs/39577491231"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-21T09:42:42.000Z",
      "commit": "4aa9c3bc4bdbfc288b188d3c4093a7914d557590",
      "fileid": "https://r2.ropensci.org/a64028600f2c8625cf56ae9ed420c929ec27186b54487a2509395e33845ceb8c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikenguyen13/actions/runs/39577491231"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-10-21T09:42:54.000Z",
      "commit": "4aa9c3bc4bdbfc288b188d3c4093a7914d557590",
      "fileid": "https://r2.ropensci.org/66ad38f3c83be80cc47c2318f3fc2d3ecbf5084e5adb0412ae4781fedf889ce4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mikenguyen13/actions/runs/39577491231"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-21T09:41:33.000Z",
      "commit": "4aa9c3bc4bdbfc288b188d3c4093a7914d557590",
      "fileid": "https://r2.ropensci.org/857a133ed1545df1c7c62b4d2e076e7697d75a5d69b2fd1613eff41f61f3c0e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikenguyen13/actions/runs/39577491231"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-21T09:41:38.000Z",
      "commit": "4aa9c3bc4bdbfc288b188d3c4093a7914d557590",
      "fileid": "https://r2.ropensci.org/d7a039f49421ff11faf4a201bff9e3dd8db0abebcb4115691670e4d14a8c2874",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikenguyen13/actions/runs/39577491231"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-21T09:41:35.000Z",
      "commit": "4aa9c3bc4bdbfc288b188d3c4093a7914d557590",
      "fileid": "https://r2.ropensci.org/b3415179a0f33c5207e677b0f0d4436f2cfe8e2f995bb7c65299b5e27e3b19e9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mikenguyen13/actions/runs/39577491231"
    }
  ]
}