SelectionBias: Calculates Bounds for the Selection Bias for Binary Treatment and Outcome Variables (original) (raw)
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) <doi:10.1097/EDE.0000000000001032>, Zetterstrom, Sjölander, and Waernabum (2025) <doi:10.1177/09622802251374168>, Zetterstrom and Waernbaum (2022) <doi:10.1515/em-2022-0108>, and Zetterstrom (2024) <doi:10.1515/em-2023-0033>.
| Version: | 2.1.0 |
|---|---|
| Depends: | R (≥ 3.5.0) |
| Imports: | arm, lifecycle, stats |
| Suggests: | knitr, table1, rmarkdown, testthat (≥ 3.0.0) |
| Published: | 2025-10-13 |
| DOI: | 10.32614/CRAN.package.SelectionBias |
| Author: | Stina Zetterstrom |
| Maintainer: | Stina Zetterstrom <stina.zetterstrom at gmail.com> |
| BugReports: | https://github.com/StinaZet/SelectionBias/issues |
| License: | MIT + file |
| URL: | https://github.com/StinaZet/SelectionBias |
| NeedsCompilation: | no |
| Materials: | NEWS |
| CRAN checks: | SelectionBias results |
Documentation:
Downloads:
Linking:
Please use the canonical formhttps://CRAN.R-project.org/package=SelectionBiasto link to this page.