Learn R Programming

curesurv (version 0.1.2)

dsndtheta_wei: dsndtheta_wei function

Description

function of partial derivates of net survival depending on theta (estimated parameters) from a mixture cure model with uncured survival following a Weibull distribution

Usage

dsndtheta_wei(
  z_ucured = z_ucured,
  z_pcured = z_pcured,
  x = x,
  theta = theta,
  cumLexctopred
)

Arguments

z_ucured

covariates matrix acting on survival function of uncured

z_pcured

covariates matrix acting on cure proportion

x

time at which the estimates are predicted

theta

estimated parameters from the ouput of a mixture cure model implemented in curesurv

cumLexctopred

pre prediction obtained with cumLexc_alphaweibull_topred