Crandore Hub

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), 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>.

Versions across snapshots

VersionRepositoryFileSize
2.1.0 rolling linux/jammy R-4.5 SelectionBias_2.1.0.tar.gz 237.9 KiB
2.1.0 rolling linux/noble R-4.5 SelectionBias_2.1.0.tar.gz 237.7 KiB
2.1.0 rolling source/ R- SelectionBias_2.1.0.tar.gz 297.5 KiB
2.1.0 latest linux/jammy R-4.5 SelectionBias_2.1.0.tar.gz 237.9 KiB
2.1.0 latest linux/noble R-4.5 SelectionBias_2.1.0.tar.gz 237.7 KiB
2.1.0 latest source/ R- SelectionBias_2.1.0.tar.gz 297.5 KiB
2.1.0 2026-04-26 source/ R- SelectionBias_2.1.0.tar.gz 297.5 KiB
2.1.0 2026-04-23 source/ R- SelectionBias_2.1.0.tar.gz 297.5 KiB
2.1.0 2026-04-09 windows/windows R-4.5 SelectionBias_2.1.0.zip 243.4 KiB
2.0.0 2025-04-20 source/ R- SelectionBias_2.0.0.tar.gz 289.9 KiB

Dependencies (latest)

Imports

Suggests