Learn R Programming

curesurv (version 0.1.2)

dpidtheta_adtneh2: dpidtheta_adtneh2 function

Description

Partial derivatives of pi (net survival at tau) by theta

#' @description Partial derivatives of cure fraction (or net survival at tau) by theta from non-mixture model with distribution "tneh".

Usage

dpidtheta_adtneh2(
  z_tau = z_tau,
  z_alpha = z_alpha,
  x = x,
  object,
  cumLexctopred = 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 estimates are predicted

object

ouput from model implemented in curesurv

cumLexctopred

pre prediction (obtained from cumLexc_ad2_topred), if NULL then it is calculated