Likelihood for a given parametric distribution
SurvMLE.Likelihood(
param,
yobs,
delta,
distribution,
truncation = NULL,
cure = FALSE
)
a vector contains all parametric parameters.
a numeric vector that indicated the observed survival times.
a numeric vector that stores the right-censoring indicators.
the specified distribution function.
a positive numeric value thats denotes the value of truncation for the assumed distribution.
a logical value that indicates whether the existence of a cured fraction should be considered.