{
  "_id": "6ad7c6da69e274306bae89f8",
  "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",
  "RoxygenNote": "7.3.3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-20 19:49:41 UTC",
    "User": "root"
  },
  "Author": "Mike Nguyen [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-3432-8595>)",
  "Maintainer": "Mike Nguyen <nguyennghia1301@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-10-20 13:50:02 UTC",
  "RemoteUrl": "https://github.com/cran/regsensitivity",
  "RemoteRef": "HEAD",
  "RemoteSha": "7b8985efb6094db7f2770016baf66b67ab5e0e83",
  "_user": "cran",
  "_type": "src",
  "_file": "regsensitivity_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/94f8c7851260fe46f7a01ddf2b139e4586135f231cd4a37d1c3b0afd47398dcd",
  "_filesize": 2396341,
  "_sha256": "94f8c7851260fe46f7a01ddf2b139e4586135f231cd4a37d1c3b0afd47398dcd",
  "_expires": "2027-01-28T19:54:00.000Z",
  "_created": "2026-10-20T19:49:41.000Z",
  "_published": "2026-10-20T19:54:02.189Z",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/39485950069",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 118849237553,
      "time": 220,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12293887502"
    },
    {
      "job": 118849237614,
      "time": 215,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12292984478"
    },
    {
      "job": 118846437925,
      "time": 342,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12294001558"
    },
    {
      "job": 118849237566,
      "time": 124,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12294520794"
    },
    {
      "job": 118849237537,
      "time": 114,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12294171630"
    },
    {
      "job": 118849237701,
      "time": 159,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12293279474"
    }
  ],
  "_upstream": "https://github.com/cran/regsensitivity",
  "_commit": {
    "id": "7b8985efb6094db7f2770016baf66b67ab5e0e83",
    "author": "Mike Nguyen <nguyennghia1301@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.0\n",
    "time": 1792504202
  },
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-43",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.2.0",
      "date": "2026-10-20"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "mikenguyen13",
      "count": 1,
      "uuid": 57576563
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_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"
  ],
  "_cranurl": false,
  "_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/cran/regsensitivity/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/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-10-20 13:50:02",
      "modified": "2026-10-20 13:50:02",
      "commits": 1
    },
    {
      "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-10-20 13:50:02",
      "modified": "2026-10-20 13:50:02",
      "commits": 1
    },
    {
      "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-10-20 13:50:02",
      "modified": "2026-10-20 13:50:02",
      "commits": 1
    },
    {
      "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-10-20 13:50:02",
      "modified": "2026-10-20 13:50:02",
      "commits": 1
    },
    {
      "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-10-20 13:50:02",
      "modified": "2026-10-20 13:50:02",
      "commits": 1
    },
    {
      "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-10-20 13:50:02",
      "modified": "2026-10-20 13:50:02",
      "commits": 1
    }
  ],
  "_score": 3.4771212547196626,
  "_indexed": false,
  "_nocasepkg": "regsensitivity",
  "_universes": [
    "cran",
    "mikenguyen13"
  ],
  "_indexurl": "https://mikenguyen13.r-universe.dev/regsensitivity",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-20T19:52:31.000Z",
      "distro": "resolute",
      "commit": "7b8985efb6094db7f2770016baf66b67ab5e0e83",
      "fileid": "https://r2.ropensci.org/7d8d54f4cddc675a71ae1c43f59a8844245f1f6d7c59b8f13f9843801806247e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39485950069"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-20T19:52:30.000Z",
      "distro": "resolute",
      "commit": "7b8985efb6094db7f2770016baf66b67ab5e0e83",
      "fileid": "https://r2.ropensci.org/a05b83be5e67cbbc3ad3e29b6c4125a6defad5e80f15c24fe2542fc79ed693c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39485950069"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-10-20T19:52:03.000Z",
      "commit": "7b8985efb6094db7f2770016baf66b67ab5e0e83",
      "fileid": "https://r2.ropensci.org/4f7111ae06dd5325eaa5867e7a31c15a010f87852f766eb5f1d3eb9e562fbd85",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39485950069"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-20T19:50:55.000Z",
      "commit": "7b8985efb6094db7f2770016baf66b67ab5e0e83",
      "fileid": "https://r2.ropensci.org/8a9e9239495ff404ecc0f569661056765dce62ad69a63ff4254c067ab5c06949",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39485950069"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-20T19:51:04.000Z",
      "commit": "7b8985efb6094db7f2770016baf66b67ab5e0e83",
      "fileid": "https://r2.ropensci.org/d259cd92d22da2bfb5e812e2af4fcff82237bc8cff93eb349ccb1efe361c6424",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/39485950069"
    }
  ]
}