surv_func: Semiparametric baseline estimation in EM algorithm.

Description Usage Arguments Value

View source: R/baseline.R

Description

Semiparametric baseline estimation in EM algorithm.

Usage

1
surv_func(Time, Status, age, X, beta, w, mort.s, mort.h)

Arguments

Time

observed survival time

Status

right censored status (1=death, 0=censored)

age

the variable of age

X

covariates in latency survival function

beta

parameters for X

w

unobserved cure indicator

mort.s

background survival rate

mort.h

background hazard rate

Value

None


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