SelectionBias: 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), AF (assumption-free) bound, GAF (generalized AF), and CAF (counterfactual AF) bounds. The calculation of the sensitivity parameters for the SV 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 and Waernbaum (2022) <doi:10.1515/em-2022-0108> and Zetterstrom (2024) <doi:10.1515/em-2023-0033>.

Version: 2.0.0
Depends: R (≥ 3.5.0)
Imports: arm, lifecycle, stats
Suggests: knitr, table1, rmarkdown, testthat (≥ 3.0.0)
Published: 2024-03-27
Author: Stina Zetterstrom ORCID iD [aut, cre], Ingeborg Waernbaum ORCID iD [aut]
Maintainer: Stina Zetterstrom <stina.zetterstrom at>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: NEWS
CRAN checks: SelectionBias results


Reference manual: SelectionBias.pdf
Vignettes: SelectionBias


Package source: SelectionBias_2.0.0.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): SelectionBias_2.0.0.tgz, r-oldrel (arm64): SelectionBias_2.0.0.tgz, r-release (x86_64): SelectionBias_2.0.0.tgz, r-oldrel (x86_64): SelectionBias_2.0.0.tgz
Old sources: SelectionBias archive


Please use the canonical form to link to this page.