Learn R Programming

parfm (version 2.7.7)

ci.parfm: 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

tools:::Rd_package_author("parfm")

References

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

See Also

parfm, select.parfm, predict.parfm

Examples

Run this code
  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)

Run the code above in your browser using DataLab