ll2r: Second Likelihood function for latency survival function in...

Description Usage Arguments Value

View source: R/ll2r.R

Description

Second Likelihood function for latency survival function in Flexible EM algorithm.

Usage

1
ll2r(x, Time, Status, X, Mbigs, Ibigs, w, mort.s, mort.h)

Arguments

x

The parameters to be updated.

Time

Survival time from data set.

Status

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

X

The covaraites for latency survival function.

Mbigs

M spline basis.

Ibigs

I spline basis.

w

unobserved cure status indicator.

mort.s

background survival rate from life table.

mort.h

background hazard rate from life table.

Value

None


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