threshold_selection: Compute selection bias E-value for single value of risk ratio...

Description Usage Arguments

View source: R/EValue_selection.R

Description

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.

Usage

1
2
3
4
5
6
7
8
9
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.


EValue documentation built on Oct. 28, 2021, 9:10 a.m.