Last data update: 2014.03.03

R: Summary Method for weibull.frailty Objects
summary.weibull.frailtyR Documentation

Summary Method for weibull.frailty Objects

Description

Summarizes the fit of a Weibull model with Gamma frailties

Usage

## S3 method for class 'weibull.frailty'
summary(object, sand.se = FALSE, ...)

Arguments

object

an object inheriting from class weibull.frailty.

sand.se

logical; if TRUE, sandwich standard errors are also produced.

...

additional arguments; currently none is used.

Author(s)

Dimitris Rizopoulos d.rizopoulos@erasmusmc.nl

See Also

weibull.frailty

Examples

fit <- weibull.frailty(Surv(time, status) ~ age + sex, kidney)
summary(fit)
summary(fit, TRUE)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(JM)
Loading required package: MASS
Loading required package: nlme
Loading required package: splines
Loading required package: survival
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/JM/summary.weibull.frailty.Rd_%03d_medium.png", width=480, height=480)
> ### Name: summary.weibull.frailty
> ### Title: Summary Method for weibull.frailty Objects
> ### Aliases: summary.weibull.frailty
> ### Keywords: methods
> 
> ### ** Examples
> 
> fit <- weibull.frailty(Surv(time, status) ~ age + sex, kidney)
> summary(fit)


	Weibull Relative Risk Model with Gamma Frailty

Call:
weibull.frailty(formula = Surv(time, status) ~ age + sex, data = kidney)

Data Descriptives:
Number of groups: 38 
Number of observations: 76 
Total Number of Events:  58 

Model Summary:
   log.Lik      AIC      BIC
 -332.1891 674.3782 682.5661

Coefficients:
      value std.err z-value p-value
age  0.0070  0.0124  0.5668  0.5709
sex -1.9375  0.5422 -3.5736  0.0004

Shape: 1.219 
Scale: 0.0904 
Frailty variance: 0.5135

> summary(fit, TRUE)


	Weibull Relative Risk Model with Gamma Frailty

Call:
weibull.frailty(formula = Surv(time, status) ~ age + sex, data = kidney)

Data Descriptives:
Number of groups: 38 
Number of observations: 76 
Total Number of Events:  58 

Model Summary:
   log.Lik      AIC      BIC
 -332.1891 674.3782 682.5661

Coefficients:
      value std.err sand s.e. z-value p-value
age  0.0070  0.0124    0.0101  0.6993  0.4844
sex -1.9375  0.5422    0.5987 -3.2365  0.0012

Shape: 1.219 
Scale: 0.0904 
Frailty variance: 0.5135

> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>