Package: SelectionBias 2.0.0

Stina Zetterstrom

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

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

SelectionBias_2.0.0.tar.gz
SelectionBias_2.0.0.zip(r-4.5)SelectionBias_2.0.0.zip(r-4.4)SelectionBias_2.0.0.zip(r-4.3)
SelectionBias_2.0.0.tgz(r-4.5-any)SelectionBias_2.0.0.tgz(r-4.4-any)SelectionBias_2.0.0.tgz(r-4.3-any)
SelectionBias_2.0.0.tar.gz(r-4.5-noble)SelectionBias_2.0.0.tar.gz(r-4.4-noble)
SelectionBias_2.0.0.tgz(r-4.4-emscripten)SelectionBias_2.0.0.tgz(r-4.3-emscripten)
SelectionBias.pdf |SelectionBias.html
SelectionBias/json (API)
NEWS

# Install 'SelectionBias' in R:
install.packages('SelectionBias', repos = c('https://stizet.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/stizet/selectionbias/issues

Datasets:
  • zika_learner - Simulated data set emulating a zika outbreak in Brazil

On CRAN:

Conda:

3.70 score 1 stars 3 scripts 181 downloads 6 exports 20 dependencies

Last updated 12 months agofrom:d13af31023. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 28 2025
R-4.5-winOKMar 28 2025
R-4.5-macOKMar 28 2025
R-4.5-linuxOKMar 28 2025
R-4.4-winOKMar 28 2025
R-4.4-macOKMar 28 2025
R-4.4-linuxOKMar 28 2025
R-4.3-winOKMar 28 2025
R-4.3-macOKMar 28 2025

Exports:AFboundCAFboundGAFboundsensitivityparametersMSVboundSVboundsharp

Dependencies:abindarmbootclicodagluelatticelifecyclelme4MASSMatrixminqanlmenloptrrbibutilsRcppRcppEigenRdpackreformulasrlang

SelectionBias

Rendered fromSelectionBias.Rmdusingknitr::rmarkdownon Mar 28 2025.

Last update: 2024-04-02
Started: 2023-01-27