predictsmcure {smcure} | R Documentation |
prediction of semicure model
Description
Prediction of semicure model
Usage
predictsmcure(object, newX, newZ, model = c("ph", "aft"), ...)
Arguments
object |
an object of smcure |
newX |
new value(s) of X |
newZ |
new value(s) of Z |
model |
either 'ph' or 'aft' |
... |
further arguments to be passed to the predictsmcure function |
Details
Predicted population survival function can be calculated by the following equation
S_{pop}(t)=\pi+(1-\pi)*S(t)
[Package smcure version 2.1 Index]