UNEQUALCENSIMPUTEWEIBREJECTION: UNEQUALCENSIMPUTEWEIBREJECTION

Description Usage Arguments Details Value

View source: R/OutcomeImputationWEIBREJECTION.R

Description

The function UNEQUALCENSIMPUTEWEIB will perform a rejection sampling algorithm to handle unequal follow-up for recurrence and death. This function is the default imputation method when we assume WEIBULL baseline hazards. We allow the user to specify the function UNEQUALCENSIMPUTE in MultiCure if desired, but we provide default method. When baseline hazards are WEIBULL, the input/output of user-written functions must match the input/output of this default function.

Usage

1
2
UNEQUALCENSIMPUTEWEIBREJECTION(datWIDE, beta, alpha, scale, shape, 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

scale

A vector containing the most recent estimates of scale

shape

A vector containing the most recent estimates of shape

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

TransCov

defined as in MultiCure

Details

This function cannot be applied when 'T_R' is included in the model for Recurrence -> Death. In this case, use the function UNEQUALCENSIMPUTEWEIBINVERSION.

Value

a list containing


lbeesleyBIOSTAT/MultiCure documentation built on April 18, 2018, 11:08 p.m.