smsurv: Estimation of the baseline survival

View source: R/smsurv.R

smsurvR Documentation

Estimation of the baseline survival

Description

This R-program uses the Breslow method to estimate baseline survival of PH mixture cure model and AFT mixture cure model.

Usage

smsurv(Time, Status, X, beta, w, model)

Arguments

Time

this is the follow up time for "ph" model. If model is "aft", then this is residual.

Status

The status indicator, normally 0=alive, 1=dead

X

effects of covariates of uncured patients

beta

initial beta from coxph

w

conditional probability of the ith individual remains uncured at the mth iteration. We use Status as initial value

model

specifies your model, it can be "ph" or "aft"


smcure documentation built on May 9, 2022, 9:08 a.m.

Related to smsurv in smcure...