Description Usage Arguments Value
View source: R/OutcomeImputationCOXNESTEDWEIBULL.R
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.
1 | UNEQUALCENSIMPUTECOXNESTEDWEIB(datWIDE, beta, alpha, ImputeDat, TransCov)
|
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:
|
TransCov |
defined as in MultiCure |
a list containing
[[1]]: deltaRImp, A single imputation of delta_R
[[2]]: YRImp, A single imputation of Y_R
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.