Learn R Programming

frailtypack (version 2.4.1)

print.frailtyPenal: Print a Short Summary of parameter estimates of a shared frailty model

Description

Prints a short summary of parameter estimates of a 'frailtyPenal' object

Usage

## S3 method for class 'frailtyPenal':
print(x, digits = max(options()$digits - 4, 6), ...)

Arguments

x
the result of a call to the frailtyPenal function.
digits
number of digits to print.
...
other unusued arguments.

Value

  • nthe number of observations used in the fit.
  • n.groupsthe maximum number of groups used in the fit
  • n.eventsthe number of events observed in the fit
  • thetavariance of frailty parameter
  • coefthe coefficients of the linear predictor, which multiply the columns of the model matrix.
  • SE(H)the standard error of the estimates deduced from the variance matrix of theta and of the coefficients.
  • SE(HIH)the standard error of the estimates deduced from the robust estimation of the variance matrix of theta and of the coefficients.
  • pp-value

See Also

frailtyPenal

Examples

Run this code
data(readmission)

# Shared frailty model

modSha <- frailtyPenal(Surv(time,event)~dukes+cluster(id),
n.knots=10,kappa1=10000,data=readmission,Frailty=TRUE,
hazard="Splines")

print(modSha)

# Cox proportional hazard model using Penalized likelihood

modCox <- frailtyPenal(Surv(time,event)~dukes,n.knots=10,
kappa1=10000,data=readmission,Frailty=FALSE,hazard="Splines")

print(modCox)

Run the code above in your browser using DataLab