Maximum likelihood estimator for a given parametric distribution
SurvMLE(
yobs,
delta,
distribution,
truncation = NULL,
cure = FALSE,
maxit = 300
)
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.
a positive integer that denotes the maximum iteration number in optimization.