Learn R Programming

curesurv (version 0.1.2)

dpdtheta_wei: dpdtheta_wei function

Description

Produce partial derivatives of p(t) the probability to be cured

Usage

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

Arguments

z_pcured

covariates matrix acting on cure proportion

z_ucured

covariates matrix acting on survival function of uncured

x

time at which the estimates are predicted

theta

estimated parameters from a mixture model using curesurv and uncured survival following a Weibull distribution

cumLexctopred

description