Learn R Programming

curesurv (version 0.1.2)

dTTCdtheta_wei: dTTCdtheta_wei function

Description

function of partial derivates of time-to-cure (TTC) by theta (estimated parameters) from a mixture cure model with uncured survival following a Weibull distribution

Usage

dTTCdtheta_wei(
  z_ucured = z_ucured,
  z_pcured = z_pcured,
  theta = theta,
  epsilon = epsilon,
  TTC
)

Arguments

z_ucured

covariates matrix acting on survival function of uncured

z_pcured

covariates matrix acting on cure proportion

theta

estimated parameters from the ouput of a mixture cure model implemented in curesurv

epsilon

value fixed by user to estimate the TTC \(\text{Pi}(t)\geq (1-\epsilon)\). By default \(\epsilon = 0.05\).

TTC

time-to-cure previously estimated using TTC_wei