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.
pt_cure_wei(z_pcured = z_pcured, z_ucured = z_ucured, x, theta)
covariates matrix acting on cure proportion
covariates matrix acting on survival function of uncured
time at which the estimates are predicted
estimated parameters of the cumulative excess hazard from a mixture model using curesurv and uncured survival following a Weibull distribution