Calculates Bounds for the Selection Bias for Binary Treatment and Outcome Variables

Computes bounds and sensitivity parameters as part of sensitivity analysis for selection bias. Different bounds are provided: the SV (Smith and VanderWeele), sharp bounds, AF (assumption-free) bound, GAF (generalized AF), and CAF (counterfactual AF) bounds. The calculation of the sensitivity parameters for the SV, sharp, and GAF bounds assume an additional dependence structure in form of a generalized M-structure. The bounds can be calculated for any structure as long as the necessary assumptions hold. See Smith and VanderWeele (2019) , Zetterstrom, Sjölander, and Waernabum (2025) , Zetterstrom and Waernbaum (2022) , and Zetterstrom (2024) .


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("SelectionBias")

2.1.0 by Stina Zetterstrom, a year ago


https://github.com/StinaZet/SelectionBias


Report a bug at https://github.com/StinaZet/SelectionBias/issues


Browse source code at https://github.com/cran/SelectionBias


Authors: Stina Zetterstrom [aut, cre] (ORCID: , Ingeborg Waernbaum [aut] (ORCID:


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports arm, lifecycle, stats

Suggests knitr, table1, rmarkdown, testthat


See at CRAN