Learn R Programming

curesurv (version 0.1.2)

TTC_ic_wei: TTC_ic_wei function

Description

calculates the confidence interval of the time TTC. Note that this function is for mixture cure model with Weibull distribution considered for uncured patients.

Usage

TTC_ic_wei(
  object,
  z_pcured = z_pcured,
  z_ucured = z_ucured,
  epsilon = 0.05,
  level,
  TTC = NULL,
  Dttc = NULL
)

Arguments

object

An object of class curesurv.

z_pcured

covariates matrix acting on cure proportion

z_ucured

covariates matrix acting on survival function of uncured

epsilon

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

level

1-alpha/2-order quantile of a normal distribution

TTC

time to cure calculated by TTC_wei

Dttc

partial derivates of TTC by dTTCdtheta_wei