evalues.HR: Compute E-value for a hazard ratio and its confidence...

Description Usage Arguments Examples

View source: R/EValue.R

Description

Returns a data frame containing point estimates, the lower confidence limit, and the upper confidence limit on the risk ratio scale (through an approximate conversion if needed when outcome is common ) as well as E-values for the point estimate and the confidence interval limit closer to the null.

Usage

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

Arguments

est

The point estimate

lo

The lower limit of the confidence interval

hi

The upper limit of the confidence interval

rare

1 if outcome is rare (<15 percent at end of follow-up); 0 if outcome is not rare (>15 percent at end of follow-up)

true

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

...

Arguments passed to other methods.

Examples

1
2
3
# compute E-value for HR = 0.56 with CI: [0.46, 0.69]
# for a common outcome
evalues.HR(0.56, 0.46, 0.69, rare = FALSE)

Example output

            point    lower     upper
RR       0.670084 0.585935 0.7735267
E-values 2.349531       NA 1.9080039

EValue documentation built on April 2, 2021, 1:07 a.m.