Learn R Programming

curesurv (version 0.1.1)

pt_cure_ic_adtneh2_log: pt_cure_ic_adtneh2_log function

Description

calculates the probability of the probability Pi(t) of being cured at a given time t after diagnosis knowing that he/she was alive up to time t. It also provides the related confidence intervals using log method.

Usage

pt_cure_ic_adtneh2_log(
  z_tau = z_tau,
  z_alpha = z_alpha,
  x = x,
  object,
  level = level,
  cumLexctopred = NULL,
  Dpt_cure = NULL
)

Arguments

z_tau

Covariates matrix acting on time-to-null parameter.

z_alpha

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

x

time at which the predictions are provided

object

ouput from a model implemented in curesurv

level

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

cumLexctopred

a pre-prediction parameter obtained with cumLexc_ad2_topred, if NULL it will be calculated here

Dpt_cure

Partial derivatives of the cure propability according to theta, if NULL it will be calculated here