Skip to contents

Main analyses

regsensitivity()
Regression sensitivity analysis
regsen_bounds()
Bounds on a regression coefficient under omitted-variable bias
regsen_breakdown()
Breakdown frontier for a regression coefficient hypothesis
regsen_summary()
Sensitivity summary (DMP bounds + Oster breakdown)

Inference

regsen_boot()
Bootstrap confidence interval for the breakdown point

Several treatments

regsen_multi() plot(<regsensitivity_multi>)
Sensitivity analysis for several treatments at once

Interactive

regsen_explore()
Explore a sensitivity analysis interactively

Calibration

calibrate_rho()
Calibration parameters rho_k for rxbar
calibrate_partial_r2()
Pairwise partial R-squared of calibration covariates

Helpers

bnd_lb() bnd_ub() bnd_eq()
Hypothesis-direction helpers

Visualization

plot(<regsensitivity>)
Plot a regression sensitivity analysis
autoplot(<regsensitivity>)
Autoplot method
theme_regsen()
Publication-ready theme for sensitivity plots
scale_colour_regsen() scale_color_regsen() scale_fill_regsen()
Colourblind-safe scales for sensitivity plots

Tables and export

regsen_table()
Render a sensitivity analysis as a publication-ready table
as.data.frame(<regsensitivity>)
Extract sensitivity results as a tidy data frame
regsen_tidy() regsen_glance()
Tidy a sensitivity analysis

Data

bfg2020
Bazzi, Fiszbein and Gebresilasse (2020) "Frontier Culture" replication data

Package

regsensitivity-package
regsensitivity: regression sensitivity analysis