summary.TransModel: Summary results for fitting the linear transformation model

Description Usage Arguments Value Examples

Description

A summary table contains the coefficient estimates, standard errors, test statistics and p values in the linear transformation model.

Usage

1
2
## S3 method for class 'TransModel'
summary(object, ...)

Arguments

object

An object returned from the function TransModel.

...

Other auguments to be specified for the summary function.

Value

coefficients

The summary table.

Examples

1
2
3
4
5
6
data(veteran)
fit<-TransModel(Surv(time,status)~karno+as.factor(celltype),data=veteran,r=0,subset=(prior==0))
summary(fit)

fit0<-TransModel(Surv(time,status)~1,data=veteran,r=0,subset=(prior==0))  #the null model
summary(fit0)

Example output

Loading required package: survival
Loading required package: MASS
Call:
TransModel.default(formula = Surv(time, status) ~ karno + as.factor(celltype), 
    data = veteran, r = 0, subset = (prior == 0))

                               Estimate     StdErr z.value   p.value    
karno                        -0.0243348  0.0059122 -4.1160 3.854e-05 ***
as.factor(celltype)large     -0.8586592  0.3481619 -2.4663  0.013653 *  
as.factor(celltype)smallcell -0.3000100  0.2886585 -1.0393  0.298654    
as.factor(celltype)squamous  -1.0686480  0.3410439 -3.1335  0.001728 ** 
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Call:
TransModel.default(formula = Surv(time, status) ~ 1, data = veteran, 
    r = 0, subset = (prior == 0))

No covariates/ null model:  
n =  97 
n.event =  91 

TransModel documentation built on May 2, 2019, 6:13 a.m.