Likelihood.Semiparametric: Calculate the semiparametric version of profiled likelihood...

View source: R/SemiParametricCopulawithoutCovariates.R

Likelihood.SemiparametricR Documentation

Calculate the semiparametric version of profiled likelihood function

Description

Calculate the semiparametric version of profiled likelihood function

Usage

Likelihood.Semiparametric(
  param,
  Syobs,
  yobs,
  delta,
  copfam,
  margins,
  cure = FALSE
)

Arguments

param

a vector contains all parametric parameters.

Syobs

values of survival function at observed time points.

yobs

a numeric vector that indicated the observed survival times.

delta

a numeric vector that stores the right-censoring indicators.

copfam

a character string that specifies the copula family.

margins

a list used to define the distribution structures of both the survival and censoring margins.

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.