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

Peer review:

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

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

On CRAN:

3.70 score 1 stars 3 scripts 168 downloads 6 exports 17 dependencies

Last updated 7 months agofrom:d13af31023. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 29 2024
R-4.5-winOKOct 29 2024
R-4.5-linuxOKOct 29 2024
R-4.4-winOKOct 29 2024
R-4.4-macOKOct 29 2024
R-4.3-winOKOct 29 2024
R-4.3-macOKOct 29 2024

Exports:AFboundCAFboundGAFboundsensitivityparametersMSVboundSVboundsharp

Dependencies:abindarmbootclicodagluelatticelifecyclelme4MASSMatrixminqanlmenloptrRcppRcppEigenrlang

SelectionBias

Rendered fromSelectionBias.Rmdusingknitr::rmarkdownon Oct 29 2024.

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