This function defines the 'full' likelihood of the model. Specifically, it includes the estimation of the control function in the computation of the likelihood. This function is used in the estimation of the variance of the estimates (variance.cmprsk.R).
likIFG.cmprsk.Cholesky(
parhatG,
data,
eoi.indicator.names,
admin,
conf,
Zbin,
inst
)
Full model log-likelihood evaluation.
The full parameter vector.
Data frame.
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 eoi.indicator.names
) will be treated
as independent of every other event. If eoi.indicator.names == NULL
,
all events will be modelled dependently.
Boolean value indicating whether the data contains administrative censoring.
Boolean value indicating whether the data contains confounding and hence indicating the presence of Z and W.
Boolean value indicating whether the confounding variable is binary.
Type of instrumental function to be used.