optimlikelihood: Fit the dependent censoring models.

View source: R/FullyParametricCopulas.R

optimlikelihoodR Documentation

Fit the dependent censoring models.

Description

Estimates the model parameters by maximizing the log-likelihood.

Usage

optimlikelihood(Y, Delta, Copula, Dist.T, Dist.C, start)

Arguments

Y

Follow-up time.

Delta

Censoring indicator.

Copula

The copula family. This argument can take values from c("frank","gumbel","clayton","gaussian","indep").

Dist.T

The distribution to be used for the survival time T. This argument can take one of the values from c("lnorm", "weibull", "llogis").

Dist.C

The distribution to be used for the censoring time C. This argument can take one of the values from c("lnorm", "weibull", "llogis").

start

Starting values

Value

A list containing the minimized negative log-likelihood using the independence copula model, the estimated parameter values for the model with the independence copula, the minimized negative log-likelihood using the specified copula model and the estimated parameter values for the model with the specified copula.


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