LikF.cmprsk {depCensoring} | R Documentation |
Second step log-likelihood function.
Description
This function defines the log-likelihood used to estimate the second step in the competing risks extension of the model described in Willems et al. (2024+).
Usage
LikF.cmprsk(par, data, admin, conf, cf)
Arguments
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. |
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 ( |
Value
Log-likelihood evaluation of the second step.
References
Willems et al. (2024+). Flexible control function approach under competing risks (in preparation).