S0 {NPHMC}R Documentation

S0 Function

Description

Baseline survival function for mixture cure model

Usage

S0(t, pi0, survdist, k, lambda0)

Arguments

t

time variable

pi0

cure rate for the control arm, which is between 0 and 1.

survdist

survival distribution of uncured patients. It can be "exp" or "weib".

k

if survdist = "weib", the shape parameter k needs to be specified. By default k = 1, which refers to the exponential distribution.

lambda0

scale parameter of exponential distribution or Weibull distribution for survival times of uncured patients in the control arm.

The density function of Weibull distribution with shape parameter k and scale parameter λ0\lambda_0 is given by

f(t)=λ0k(λ0t)k1exp((λ0t)k),f(t)=\lambda_{0}k(\lambda_{0}t)^{k-1}\exp(-(\lambda_{0}t)^k),

for t>0t > 0, and the corresponding survival distribution is

S(t)=exp((λ0t)k).S(t)=\exp(-(\lambda_0 t)^k).


[Package NPHMC version 2.3 Index]