pLIDA {p3state.msm} | R Documentation |
Transition probabilities
Description
Computation of the transition probabilities.
Usage
pLIDA(object, time1, time2,tp=NULL)
Arguments
object |
Component datafr of an object of class p3state. |
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. |
tp |
Optional argument: tp="all" (default value) to obtain all the transition probabilities p11, p12 and p22; tp="p11" to obtain only p11; tp="p12" to obtain only p12; tp="p22" to obtain only p22. |
Value
Returns a single value if argument tp
equals "p11", "p12", or "p22".
Returns a list if argument tp
equals "all".
Author(s)
Luis Meira-Machado, Javier Roca-Pardinas and Artur Araújo
References
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
See Also
Examples
data(heart2)
res.p3state<-p3state(heart2)
pLIDA(res.p3state,time1=30,time2=300)