ci.parfm: Confidence Intervals for Hazard Ratios of Covariates of...

View source: R/ci.parfm.R

ci.parfmR Documentation

Confidence Intervals for Hazard Ratios of Covariates of Parametric Frailty Models

Description

Computes confidence intervals for hazard ratios (exp(coef)) for objects of class parfm.

Usage

  ci.parfm(x, level=.05, digits=3)

Arguments

x

The fitted model, object of class parfm, obtained as result of the parfm() function.

level

The coverage probability of the confidence interval.

digits

The number of significant digits.

Author(s)

Federico Rotolo [aut, cre], Marco Munda [aut], Andrea Callegaro [ctb]

References

Munda M, Rotolo F, Legrand C (2012). parfm: Parametric Frailty Models in R. Journal of Statistical Software, 51(11), 1-20. DOI <doi: 10.18637/jss.v051.i11>

See Also

parfm, select.parfm, predict.parfm

Examples

  data("kidney")
  kidney$sex <- kidney$sex - 1

  pfm <- parfm(Surv(time,status) ~ sex + age, cluster="id", 
               data=kidney, dist="exponential", frailty="gamma")

  ci.parfm(pfm)

parfm documentation built on Jan. 18, 2023, 1:08 a.m.