summary.p3state: Summary Methods for an p3state Object

Description Usage Arguments Author(s) See Also Examples

Description

Provides results for an object of class p3state. It gives the estimated transition probabilities, bivariate distribution of the gap times and marginal distribution of the second gap time (the last two only available for the progressive three-state model). Provides also the results for the fit of semi-parametric Cox regression models.

Usage

1
2
3
## S3 method for class 'p3state'
summary(object, model = NULL, covmat = NULL,
estimate = NULL, time1 = NULL, time2 = NULL, ...)

Arguments

object

an object of class p3state.

model

A character string specifying which model(s) to fit. Possible values are "TDCM", "CMM" and "CSMM". If NULL none of the regression models will be implemented.

covmat

Return the variance-covariance matrices? By default covmat=FALSE.

estimate

If TRUE nonparametric estimates are given. These include: transition probabilities, bivariate distribution function and marginal distribution of the second time (the last two only for the progressive three-state model).

time1

The first time for obtaining estimates for the transition probabilities, bivariate distribution function. NULL is equivalent to 0.

time2

The second time for obtaining estimates for the bivariate distribution function.

...

Further arguments for summary.

Author(s)

Luis Meira-Machado and Javier Roca-Pardinas

See Also

p3state

Examples

1
2
3
data(heart2)
res.p3state<-p3state(heart2, formula=~age+year)
summary(res.p3state,model="CMM",time1=20,time2=100)

p3state.msm documentation built on May 2, 2019, 2:29 p.m.