Learn R Programming

smcure (version 2.0)

smrank: Rank function

Description

Rank estimating equation used in the M-step of the EM algorithm for the AFT mixture cure model.

Usage

smrank(beta, Time, X, n, w, Status)

Arguments

beta

unknown parameters corresponding to latency part

Time

time to event of interest

X

a vector or matrix of covariates corresponding to latency part

n

total number of observations

w

conditional probability of the individual remaining uncured

Status

censoring indicator, 1=event of interest happens, and 0=censoring