SurvMLE.Likelihood: Likelihood for a given parametric distribution

View source: R/SemiParametricCopulawithoutCovariates.R

SurvMLE.LikelihoodR Documentation

Likelihood for a given parametric distribution

Description

Likelihood for a given parametric distribution

Usage

SurvMLE.Likelihood(
  param,
  yobs,
  delta,
  distribution,
  truncation = NULL,
  cure = FALSE
)

Arguments

param

a vector contains all parametric parameters.

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.


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