Learn R Programming

riskRegression (version 2020.02.05)

transformCI: Compute Confidence Intervals using a transformation

Description

Compute confidence intervals using a transformation. The resulting confidence interval is returned on the original case (i.e. back-transformed).

Usage

transformCI(estimate, se, quantile, type, min.value, max.value)

Arguments

estimate

[numeric matrix] the estimate value before transformation.

se

[numeric matrix] the standard error after transformation.

quantile

[numeric vector] quantile that will be multiplied to each column of se.

type

[character] the transforamtion. Can be "log", "loglog", "cloglog", or "atanh" (Fisher transform).

min.value

[numeric] if not NULL and the lower bound of the confidence interval is below min, it will be set at min.

max.value

[numeric] if not NULL and the lower bound of the confidence interval is below max, it will be set at max.

Details

se and estimate must have same dimensions.