threshold_selection function

Compute selection bias E-value for single value of risk ratio as well as a statement about what parameters it refers to

Compute selection bias E-value for single value of risk ratio as well as a statement about what parameters it refers to

Computes selection bias E-value for a single value of the risk ratio. Users should typically call the relevant svalues.XX() function rather than this internal function.

threshold_selection( x, true = 1, sel_pop = FALSE, S_eq_U = FALSE, risk_inc = FALSE, risk_dec = FALSE, ... )

Arguments

  • x: The risk ratio
  • true: The true RR to which to shift the observed point estimate. Typically set to 1 to consider a null true effect.
  • sel_pop: Whether inference is specific to selected population (TRUE) or entire population (FALSE). Defaults to FALSE.
  • S_eq_U: Whether the unmeasured factor is assumed to be a defining characteristic of the selected population. Defaults to FALSE.
  • risk_inc: Whether selection is assumed to be associated with increased risk of the outcome in both exposure groups. Defaults to FALSE.
  • risk_dec: Whether selection is assumed to be associated with decreased risk of the outcome in both exposure groups. Defaults to FALSE.
  • Maintainer: Maya B. Mathur
  • License: GPL-2
  • Last published: 2021-10-28

Useful links