confoundvis: A Common Interface for Visualizing and Reporting Sensitivity
Analyses for Unmeasured Confounding
A common interface to established sensitivity analyses for
unmeasured confounding in observational studies. Results of impact
threshold and robustness of inference to replacement analysis (Frank,
2000, <doi:10.1177/0049124100029002001>; Frank et al., 2013,
<doi:10.3102/0162373713493129>), partial R-squared omitted-variable bias
analysis (Cinelli and Hazlett, 2020, <doi:10.1111/rssb.12348>), E-values
(VanderWeele and Ding, 2017, <doi:10.7326/M16-2607>), and Rosenbaum
bounds for matched pairs (Rosenbaum, 2002,
<doi:10.1007/978-1-4757-3692-2>), the sensitivity of instrumental
variable estimates (Cinelli and Hazlett, 2025,
<doi:10.1093/biomet/asaf004>), and omitted-variable bias bounds for
double machine learning (Chernozhukov et al., 2024,
<doi:10.3386/w30302>), and the risk difference of a binary outcome
under a binary unmeasured confounder (Lin, Psaty, and Kronmal, 1998,
<doi:10.2307/2533848>) are stored in one object that keeps
each framework's own parameter. Robustness curves, summary tables,
and plain-language reports are available for every framework;
two-parameter surfaces, the exact correlation contour, and
observed-covariate benchmarks are provided where the corresponding
framework defines them. Results
can be computed from fitted models or matched-pair differences, or
converted from the 'sensemakr', 'konfound', 'EValue', and
'iv.sensemakr' packages, and agree with those packages. For fits from
the 'DoubleML' package, which has no sensitivity analysis in R, the
bounds of the Python 'doubleml' package are computed.
| Version: |
0.4.0 |
| Depends: |
R (≥ 4.1.0) |
| Imports: |
ggplot2 (≥ 3.4.0), rlang, graphics, grDevices, stats |
| Suggests: |
testthat (≥ 3.0.0), knitr, rmarkdown, sensemakr, konfound, EValue, DOS2, sensitivity2x2xk, sensitivitymv, ggrepel, iv.sensemakr, DoubleML, mlr3, mlr3learners, data.table, lgr, marginaleffects |
| Published: |
2026-11-23 |
| DOI: |
10.32614/CRAN.package.confoundvis |
| Author: |
Subir Hait [aut,
cre] |
| Maintainer: |
Subir Hait <haitsubi at msu.edu> |
| BugReports: |
https://github.com/subirhait/confoundvis/issues |
| License: |
GPL-3 |
| URL: |
https://github.com/subirhait/confoundvis |
| NeedsCompilation: |
no |
| Language: |
en-US |
| Materials: |
README, NEWS |
| CRAN checks: |
confoundvis results |
Documentation:
Downloads:
Reverse dependencies:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=confoundvis
to link to this page.