Learn R Programming

curesurv (version 0.1.2)

pi_ic_multneh: pi_ic_multneh function

Description

produces confidence interval of cure fraction pi using a time-to-null excess hazard model with loglinear effect on parameter tau The confidence intervals calculation is based on the plain method.

Usage

pi_ic_multneh(
  z_tau = z_tau,
  z_alpha = z_alpha,
  x = x,
  object,
  level = level,
  cumLexctopred = 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

cumLexctopred

pre prediction obtained from cumLexc_mul_topred, calculated if NULL

Dpi

partial derivative of pi according to theta, if NULL calculated