SurvMLE: Maximum likelihood estimator for a given parametric...

View source: R/SemiParametricCopulawithoutCovariates.R

SurvMLER Documentation

Maximum likelihood estimator for a given parametric distribution

Description

Maximum likelihood estimator for a given parametric distribution

Usage

SurvMLE(
  yobs,
  delta,
  distribution,
  truncation = NULL,
  cure = FALSE,
  maxit = 300
)

Arguments

yobs

a numeric vector that indicated the observed survival times.

delta

a numeric vector that stores the right-censoring indicators.

distribution

the specified distribution function.

truncation

a positive numeric value thats denotes the value of truncation for the assumed distribution.

cure

a logical value that indicates whether the existence of a cured fraction should be considered.

maxit

a positive integer that denotes the maximum iteration number in optimization.


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