Learn R Programming

stdReg (version 3.4.1)

confint.stdCoxph: Confidence interval

Description

This is a confint method for class "stdCoxph".

Usage

# S3 method for stdCoxph
confint(object, parm, level = 0.95, fun, type="plain", ...)

Arguments

object

an object of class "stdCoxph".

parm

not used.

level

the coverage probability of the confidence intervals.

fun

a function of one matrix argument with q rows and p columns, which returns a vector of length q.

type

a string specifying the type of confidence interval; plain (for untransformed) or log (for log-transformed).

not used.

Value

a matrix with q rows and 2 columns, containing the computed confidence interval.

Details

confint.stdCoxph extracts the est element from object, and inputs this to fun. It then uses the delta method to compute a confidence interval for the output of fun.