Learn R Programming

curesurv (version 0.1.2)

dlogCumHazdtheta_wei: dlogCumHazdtheta_wei function

Description

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

Usage

dlogCumHazdtheta_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

a pre-prediction parameter obtained with cumLexc_alphaweibull_topred