Learn R Programming

curesurv (version 0.1.2)

varlogTTC_Jakobsen_wei: varlogTTC_Jakobsen_wei function

Description

Calculates the variance of log(TTC) from a mixture cure model with uncured survival as Weibull distribution using the Jakobsen approach.

Usage

varlogTTC_Jakobsen_wei(
  object,
  z_ucured = z_ucured,
  z_pcured = z_pcured,
  epsilon = epsilon,
  TTC,
  cumLexc_topred_TTC
)

Arguments

object

ouput from a model implemented in curesurv

z_ucured

covariates matrix acting on survival function of uncured

z_pcured

covariates matrix acting on cure proportion

epsilon

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

TTC

time to cure estimatec by TTC_wei

cumLexc_topred_TTC

a pre prediction given by cumLexc_alphaweibull_topred