com_like: Complete Likelihood Function in Parametric Method

Description Usage Arguments Value

View source: R/com_like.R

Description

Complete Likelihood Function in Parametric Method

Usage

1
com_like(par, Time, Status, Z, X, dis, w, link, mort.h, mort.s, ii)

Arguments

par

all the parameters in the model.

Time

Survival time from data set.

Status

Right censoring status: 1 is death, 0 is censored.

Z

The covariates included in the cure linke function.

X

The covaraites for latency survival function.

dis

If "parametric" is specified for method, then dis must be provided, such as "exp","weibull","llogis","gamma","gompertz","lnorm" and "gengamma".

w

unobserved cure status indicator.

link

The type of cure rate link function, including "logit","probit", and "cloglog".

mort.h

background hazard rate.

mort.s

background survival rate.

ii

the number of observation.

Value

None


gygygy1989/psmcure documentation built on March 4, 2020, 6:05 p.m.