ci_to_var: Calculate variance given confidence interval limit and point...

Description Usage Arguments Details

Description

Returns approximate variance (i.e., squared standard error) of point estimate given either the upper or lower limit (ci.lim) of a Wald-type confidence interval. If degrees of freedom (df) are not provided, it is assumed that the confidence interval uses a z-distribution approximation. If degrees of freedom are provided, it is assumed that the confidence interval uses a t-distribution approximation.

Usage

1
ci_to_var(est, ci.lim, ci.level = 0.95, df = NA)

Arguments

est

Point estimate

ci.lim

Lower or upper confidence interval limit

ci.level

Confidence interval level as a proportion (e.g., 0.95)

df

Degrees of freedom

Details

The estimate and confidence interval must be provided on a scale such that the confidence interval is symmetric. For example, if the point estimate is a relative risk, then the estimate and confidence interval should be provided on the log-relative risk scale.


MetaUtility documentation built on Oct. 30, 2021, 5:07 p.m.