likIFG.cmprsk.Cholesky: Full likelihood (including estimation of control function).

View source: R/ParamTransfoCompRisks.R

likIFG.cmprsk.CholeskyR Documentation

Full likelihood (including estimation of control function).

Description

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).

Usage

likIFG.cmprsk.Cholesky(
  parhatG,
  data,
  eoi.indicator.names,
  admin,
  conf,
  Zbin,
  inst
)

Arguments

parhatG

The full parameter vector.

data

Data frame.

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 eoi.indicator.names) will be treated as independent of every other event. If eoi.indicator.names == NULL, all events will be modelled dependently.

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.

Zbin

Boolean value indicating whether the confounding variable is binary.

inst

Type of instrumental function to be used.

Value

Full model log-likelihood evaluation.


depCensoring documentation built on April 4, 2025, 1:52 a.m.