Learn R Programming

curesurv (version 0.1.2)

dpdtheta_adtneh2: dpdtheta_adtneh2 function

Description

Partial derivatives of probability to be cure by theta from non-mixture model with distribution "tneh".

Usage

dpdtheta_adtneh2(
  z_alpha = z_alpha,
  z_tau = z_tau,
  x = x,
  object,
  cumLexctopred = NULL,
  Dpi = NULL,
  Dsn = 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.

x

time at which the estimates are predicted

object

ouput from model implemented in curesurv

cumLexctopred

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

Dpi

partial derivatives of pi the cure proportion by theta calculated by dpidtheta_adtneh2, if NULL will be calculated

Dsn

partial derivatives of net survival by theta calculated by dsndtheta_adtneh2, if NULL will be calculated