ci_est: Confidence Interval for Estimate

View source: R/bootstrap_calculations_helpers.R

ci_estR Documentation

Confidence Interval for Estimate

Description

Calculates confidence interval for an estimate, optionally on log(HR) scale.

Usage

ci_est(x, sd, alpha = 0.025, scale = "hr", est.loghr = TRUE)

Arguments

x

Numeric estimate.

sd

Numeric standard deviation.

alpha

Numeric significance level (default: 0.025).

scale

Character. "hr" or "1/hr".

est.loghr

Logical. Is estimate on log(HR) scale?

Value

List with length, lower, upper, sd, and estimate.


forestsearch documentation built on Nov. 15, 2026, 9:06 a.m.