Description Usage Arguments Value Examples
This function estimates the survival probability at tx when a piecewise exponential distribution is fitted to (times,cens) cens = 0 for censored, cens = 1 for uncensored. the change point is tchange and lamest is the estimated parameters
1 | pexeest(times, cens, tchange, tx)
|
times |
All the event/censoring times used to fit the model |
cens |
censoring status used to fit the model |
tchange |
Change-points |
tx |
Time points to estimate the survival probability |
quan survival probability lamest Lambda estimates for time periods divided by the change-points
1 2 3 4 5 | data(pexeest_times_censoring)
data(t100)
times = pexeest_times_censoring[,1]
cens = pexeest_times_censoring[,2]
pexeest(times, cens, 28.03014, t100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.