Learn R Programming

curesurv (version 0.1.2)

dlogTTCdtheta_wei: dlogTTCdtheta_wei function

Description

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

Usage

dlogTTCdtheta_wei(
  z_ucured = z_ucured,
  z_pcured = z_pcured,
  object = object,
  epsilon = epsilon,
  TTC
)

Arguments

z_ucured

covariates matrix acting on survival function of uncured

z_pcured

covariates matrix acting on cure proportion

object

ouput from a 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 previsouly estimated by TTC_wei