Statistics > Methodology
[Submitted on 13 Feb 2023]
Title:SelectionBias: An R Package for Bounding Selection Bias
View PDFAbstract:Selection bias can occur when subjects are included or excluded in the analysis based upon some selection criteria for the study population. The bias can jeopardize the validity of the study and sensitivity analyses for assessing the effect of the selection are desired. One method of sensitivity analysis is to construct bounds for the bias. In this work, we present an R package that can be used to calculate two previously proposed bounds for selection bias for the causal relative risk and causal risk difference for both the total and the selected population. The first bound, derived by Smith and VanderWeele (SV), is based on values of sensitivity parameters that describe parts of the joint distribution of the outcome, treatment, selection indicator and unobserved variables. The second bound is based solely on the observed data, and is therefore referred to as an assumption free (AF) bound. In addition to a tutorial for the bounds and the R package, we derive additional properties for the SV bound. We show that the sensitivity parameters are variation independent and derive feasible regions for them. Furthermore, a bound is sharp if it is a priori known that the bias can be equal to the value of the bound, given the values of the selected sensitivity parameters. Conditions for the SV bound to be sharp in the selected subpopulation are provided based on the observed data. We illustrate both the R package and the properties of the bound with a simulated dataset that emulates a study where the effect of the zika virus on microcephaly in Brazil is investigated.
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.