View source: R/ParamTransfoCompRisks.R
cr.lik | R Documentation |
This function implements the second step likelihood function of the competing risk model defined in Willems et al. (2024+).
cr.lik(
n,
s,
Y,
admin,
cens.inds,
M,
Sigma,
beta.mat,
sigma.vct,
rho.mat,
theta.vct
)
n |
The sample size. |
s |
The number of competing risks. |
Y |
The observed times. |
admin |
Boolean value indicating whether or not administrative censoring should be taken into account. |
cens.inds |
matrix of censoring indicators (each row corresponds to a single observation). |
M |
Design matrix, consisting of [intercept, exo.cov, Z, cf]. Note that
|
Sigma |
The covariance matrix. |
beta.mat |
Matrix containing all of the covariate effects. |
sigma.vct |
Vector of standard deviations. Should be equal to
|
rho.mat |
The correlation matrix. |
theta.vct |
Vector containing the parameters of the Yeo-Johnsontrans- formations. |
Evaluation of the log-likelihood function
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.