Provide Kaplan-Meier weights for Stute's weighted least squares method.
Usage
kmweight(Y, delta)
Arguments
Y
survival time.
delta
status
Value
kmwts
Kaplan-Meier weights
Details
Kaplan-Meier weights are the mass attached to the uncensored observations. The weights are used to account for censoring into the calculation for many methods. For example, in the Stute's weighted least squares method (Stute and Wang, 1994)) that is applied for censored data.
References
Stute, W. and Wang, J. (1994). The jackknife estimate of a Kaplan-Meier integral. Biometrika 81, 602-606.