emback: Semiparametric EM algorithm to estimate parameters

Description Usage Arguments Value

View source: R/semi_em.R

Description

Semiparametric EM algorithm to estimate parameters

Usage

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

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.

Value

None


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