Learn R Programming

curesurv (version 0.1.2)

pi_ic_adtneh2_loglog: pi_ic_adtneh2_loglog function

Description

produces confidence interval of cure fraction pi using a time-to-null excess hazard model with linear effect on parameter tau The confidence intervals based on log-log method.

Usage

pi_ic_adtneh2_loglog(
  z_tau = z_tau,
  z_alpha = z_alpha,
  x = x,
  object,
  level = level,
  cumLexc_topred = NULL,
  Dpi = 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

cumLexc_topred

a pre prediction, if NULL it is calculated

Dpi

partial derivative of pi by theta obtained by dpidtheta_adtneh2 function, if NULL it is calculated