Package: confoundvis
Type: Package
Title: A Common Interface for Visualizing and Reporting Sensitivity
        Analyses for Unmeasured Confounding
Version: 0.4.0
Authors@R: 
    person(
      given = "Subir",
      family = "Hait",
      role = c("aut", "cre"),
      email = "haitsubi@msu.edu",
      comment = c(ORCID = "0009-0004-9871-9677")
    )
Description: 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.
License: GPL-3
Encoding: UTF-8
Language: en-US
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
Config/testthat/edition: 3
VignetteBuilder: knitr
URL: https://github.com/subirhait/confoundvis
BugReports: https://github.com/subirhait/confoundvis/issues
NeedsCompilation: no
Config/roxygen2/version: 8.1.1
Packaged: 2026-11-23 01:19:40 UTC; subir
Author: Subir Hait [aut, cre] (ORCID: <https://orcid.org/0009-0004-9871-9677>)
Maintainer: Subir Hait <haitsubi@msu.edu>
Repository: CRAN
Date/Publication: 2026-11-23 07:50:38 UTC
Built: R 4.5.2; ; 2026-11-23 09:57:46 UTC; unix
