evalues.RR {EValue}R Documentation

Compute E-value for a risk ratio or rate ratio and its confidence interval limits

Description

Returns a data frame containing point estimates, the lower confidence limit, and the upper confidence limit for the risk ratio (as provided by the user) as well as E-values for the point estimate and the confidence interval limit closer to the null.

Usage

evalues.RR(est, lo = NA, hi = NA, true = 1, ...)

Arguments

est

The point estimate

lo

The lower limit of the confidence interval

hi

The upper limit of the confidence interval

true

The true RR to which to shift the observed point estimate. Typically set to 1 to consider a null true effect.

...

Arguments passed to other methods.

Examples

# compute E-value for leukemia example in VanderWeele and Ding (2017)
evalues.RR(0.80, 0.71, 0.91)

# you can also pass just the point estimate
evalues.RR(0.80)

# demonstrate symmetry of E-value
# this apparently causative association has same E-value as the above
evalues.RR(1 / 0.80)

[Package EValue version 4.1.3 Index]