Description Usage Arguments Examples
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.
1 | evalues.RR(est, lo = NA, hi = NA, true = 1, ...)
|
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. |
1 2 3 4 5 6 7 8 9 | # 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.