Description Usage Arguments Value
Flexible Parametric EM Algorithm Main Function.
1 2 | flex.spline(Time, Status, Z, X, Mbigs, Ibigs, r, b, beta, w, mort.s,
mort.h, link = "logit", emmax = 100, eps = 1e-10)
|
Time |
Survival time from data set. |
Status |
Right censoring status: 1 is death, 0 is censored. |
Z |
The covariates for cure link function. |
X |
The covaraites for latency survival function. |
Mbigs |
M spline basis. |
Ibigs |
I spline basis. |
r |
Initial value of r. |
b |
Initial value of b. |
beta |
Initial value of beta. |
w |
Initial value of w. |
mort.s |
background survival rate from life table. |
mort.h |
background hazard rate from life table. |
link |
The type of cure rate link function, including "logit","probit", and "cloglog". |
emmax |
The maximum iteration is 100. |
eps |
The stopping criteria for convergence is 1e-7. |
None
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.