View source: R/ParamTransfoCompRisks.R
LikI.cmprsk | R Documentation |
This function defines the log-likelihood used to estimate the second step in the competing risks extension assuming independence of some of the competing risks in the model described in Willems et al. (2024+).
LikI.cmprsk(par, data, eoi.indicator.names, admin, conf, cf)
par |
Vector of all second step model parameters, consisting of the regression parameters, variance-covariance matrix elements and transformation parameters. |
data |
Data frame resulting from the 'uniformize.data.R' function. |
eoi.indicator.names |
Vector of names of the censoring indicator columns
pertaining to events of interest. Events of interest will be modeled allowing
dependence between them, whereas all censoring events (corresponding to
indicator columns not listed in |
admin |
Boolean value indicating whether the data contains administrative censoring. |
conf |
Boolean value indicating whether the data contains confounding and hence indicating the presence of Z and W |
cf |
"Control function" to be used. This can either be the (i) estimated
control function, (ii) the true control function, (iii) the instrumental
variable, or (iv) nothing ( |
Log-likelihood evaluation for the second step in the esimation procedure.
Willems et al. (2024+). Flexible control function approach under competing risks (in preparation).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.