Learn R Programming

curesurv (version 0.1.2)

pt_cure_wei: pt_cure_wei function

Description

calculates the probability Pi(t) of being cured at a given time t after diagnosis knowing that he/she was alive up to time t. The predictions are based on a mixture cure model with weibull distribution for the survival of uncured patients.

Usage

pt_cure_wei(z_pcured = z_pcured, z_ucured = z_ucured, x, theta)

Arguments

z_pcured

covariates matrix acting on cure proportion

z_ucured

covariates matrix acting on survival function of uncured

x

time at which the estimates are predicted

theta

estimated parameters of the cumulative excess hazard from a mixture model using curesurv and uncured survival following a Weibull distribution