predictsmcure: prediction of semicure model

View source: R/predictsmcure.R

predictsmcureR 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)=π+(1-π)*S(t)


smcure documentation built on May 9, 2022, 9:08 a.m.

Related to predictsmcure in smcure...