emp: Parametric EM Algorithm.

Description Usage Arguments Value

View source: R/par_em.R

Description

Parametric EM Algorithm.

Usage

1
2
emp(Time, Status, age, Z, X, mort.s, mort.h, link = "logit",
  emmax = 100, eps = 1e-07, dis = dis)

Arguments

Time

Survival time from data set.

Status

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

age

The varaible of age.

Z

The covariates for cure link function.

X

The covaraites for latency survival function.

mort.s

background survival rate from life table.

mort.h

background hazard rate from life table.

link

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

emmax

The maximum iteration is 100.

eps

The stopping criteria for convergence is 1e-7.

dis

The parametric distribution such as "exp","weibull","llogis","gamma","gompertz","lnorm" and "gengamma".

Value

None


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