summary.p3state | R Documentation |
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). Also provides the results for the fit of semi-parametric Cox regression models.
## S3 method for class 'p3state' summary(object, model = NULL, covmat = NULL, estimate = NULL, time1 = NULL, time2 = NULL, ...)
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 of the transition probabilities, bivariate distribution function. NULL is equivalent to 0. |
time2 |
The second time for obtaining estimates of the bivariate distribution function. |
... |
Further arguments for summary. |
No value is returned.
Luis Meira-Machado, Javier Roca-Pardinas and Artur Araújo
Meira-Machado L., Roca-Pardinas J. (2011). p3state.msm: Analyzing Survival Data from an Illness-Death Model. Journal of Statistical Software, 38(3), 1-18. doi: 10.18637/jss.v038.i03
p3state
data(heart2) res.p3state<-p3state(heart2, formula=~age+year) summary(res.p3state,model="CMM",time1=20,time2=100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.