summary.frailtyPenal {frailtypack}R Documentation

summary of parameter estimates of a shared frailty model

Description

This function returns hazard rations (HR) and its confidence intervals

Usage

## S3 method for class 'frailtyPenal':
summary(object, level = 0.95, len = 6, d = 2, lab="hr", ...)

Arguments

object output from a call to frailtyPenal.
level significance level of confidence interval. Default is 95%.
d the desired number of digits after the decimal point. Default of 6 digits is used.
len the total field width. Default is 6.
lab label of printed results.
... other unusued arguments.

Value

Prints HR and its confidence intervals. Confidence level is allowed (level argument)

See Also

frailtyPenal for Shared frailty models, plot.frailtyPenal, summary.frailtyPenal

Examples


data(kidney)

# /*** Shared frailty model ***/

modSha<-frailtyPenal(Surv(time,status)~age+sex+cluster(id),
             Frailty=TRUE,n.knots=8,kappa1=10000,data=kidney)

# /*** Cox proportional hazard model using Penalized likelihood ***/

modCox<-frailtyPenal(Surv(time,status)~age+sex+cluster(id),
             n.knots=8,kappa1=10000,data=kidney,Frailty=FALSE)

# /*** confidence interval at 95

summary(modSha)
summary(modCox)

# /*** confidence interval at 99

summary(modSha,level=0.99)
summary(modCox,level=0.99)

[Package frailtypack version 2.2-12 Index]