UNEQUALCENSIMPUTECOXNESTEDWEIB: UNEQUALCENSIMPUTECOXNESTEDWEIB

Description Usage Arguments Value

View source: R/OutcomeImputationCOXNESTEDWEIBULL.R

Description

The function UNEQUALCENSIMPUTECOXNESTEDWEIB will perform an imputation algorithm to handle unequal follow-up for recurrence and death. This function can be applied when we assume COX baseline hazards. Even though the main multistate cure model assumes Cox baseline hazards, this function (temporarily) uses Weibull baseline hazard assumptions to perform imputation of Y_R and delta_R. This function makes use of a rejection sampling algorithm.

Usage

1
UNEQUALCENSIMPUTECOXNESTEDWEIB(datWIDE, beta, alpha, ImputeDat, TransCov)

Arguments

datWIDE

defined as in MultiCure

beta

A vector containing the most recent estimates of beta

alpha

A vector containing the most recent estimates of alpha

ImputeDat

This is a list with the following elements:

  • UnequalCens: A vector taking value 1 if the subject has unequal follow-up. Note: If subject is assumed cured in datWIDE, they are listed as UnequalCens = 0.

  • CovMissing: A matrix indicating which elements of Cov are missing. Not needed for this imputation.

  • CovImp: A list containing a single imputation of Cov

  • GImp: A vector with a recent single imputation of G

  • YRImp: A vector with a recent single imputation of Y_R

  • deltaRImp: A vector with a recent single imputation of delta_R

  • y: The integral of the target kernel over Yr0 to Yd

  • Basehaz13: A matrix containing the estimate of the baseline hazard function for the 1->3 transition specified intervals (not used)

  • Basehaz24: A matrix containing the estimate of the baseline hazard function for the 2->4 transition specified intervals (not used)

  • Basehaz14: A matrix containing the estimate of the baseline hazard function for the 1->4 transition specified intervals (not used)

  • Basehaz34: A matrix containing the estimate of the baseline hazard function for the 3->4 transition specified intervals (not used)

TransCov

defined as in MultiCure

Value

a list containing


lbeesleyBIOSTAT/MultiCure documentation built on July 10, 2019, 5:27 a.m.