Learn R Programming

curesurv (version 0.1.2)

var_logCumHaz_wei: var_logCumHaz_wei function

Description

Calculates the variance of log of cumulative excess hazard with delta method on the log-log of net survival scale.

Usage

var_logCumHaz_wei(
  object,
  z_ucured = z_ucured,
  z_pcured = z_pcured,
  x = x,
  cumLexctopred
)

Arguments

object

ouput from a model implemented in curesurv

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

cumLexctopred

pre prediction obtained with cumLexc_alphaweibull_topred