Learn R Programming

curesurv (version 0.1.2)

var_TTC_tneh2: var_TTC_tneh2 function

Description

calculates the variance of TTC in a non-mixture model with distribution "TNEH"

Usage

var_TTC_tneh2(
  z_alpha,
  z_tau,
  xmax,
  object,
  epsilon = epsilon,
  TTC,
  cumLexctopred = NULL,
  Dpttc = NULL
)

Arguments

z_alpha

Covariates matrix acting on parameter alpha of the density of time-to-null excess hazard model

z_tau

Covariates matrix acting on time-to-null parameter.

xmax

time max at which Pi(t) is calculated.

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 calculated by TTC_adtneh2

cumLexctopred

pre prediction, if NULL recalculated

Dpttc

Partial derivatives of probability to be cure by theta which can be evaluated at t = TTC, if NULL it is recalculated

Author

Juste Goungounga, Judith Breaud, Olayide Boussari, Laura Botta, Valerie Jooste

References

Boussari O, Bordes L, Romain G, Colonna M, Bossard N, Remontet L, Jooste V. Modeling excess hazard with time-to-cure as a parameter. Biometrics. 2021 Dec;77(4):1289-1302. doi: 10.1111/biom.13361. Epub 2020 Sep 12. PMID: 32869288. (pubmed)

Boussari O, Romain G, Remontet L, Bossard N, Mounier M, Bouvier AM, Binquet C, Colonna M, Jooste V. A new approach to estimate time-to-cure from cancer registries data. Cancer Epidemiol. 2018 Apr;53:72-80. doi: 10.1016/j.canep.2018.01.013. Epub 2018 Feb 4. PMID: 29414635. (pubmed)