loglik_Chen_exponential {EventPredInCure}R Documentation

Log-likelihood function for exponential distribution with cured population

Description

Provide log-likelihood function for exponential distribution with cured population

Usage

loglik_Chen_exponential(par, df)

Arguments

par

a vector with two elements, where the first element denotes the logistic of the proportion of the cured population, and the second element denotes the log of the hazard rate.

df

The subject-level event data, including time and event.

Value

The negative value of the log-likelihood function given parameter par and the dataset df

References


[Package EventPredInCure version 1.0 Index]