This function returns a vector with the presmoothed Kaplan-Meier weights.
PKMW(time, status)
Survival time of the process.
Censoring indicator of the survival time of the process; 0 if the survival time is censored and 1 otherwise.
Vector with presmoothed Kaplan-Meier weights.
R. Cao, I. Lopez-de Ullibarri, P. Janssen, and N. Veraverbeke. Presmoothed kaplan-meier and nelsonaalen estimators. Journal of Nonparametric Statistics, 17:31-56, 2005.
G. Dikta. On semiparametric random censorship models. Journal of Statistical Planning and Inference, 66:253-279, 1998.
E. Kaplan and P. Meier. Nonparametric estimation from incomplete observations. Journal of the American Statistical Association, 53:457-481, 1958.
# NOT RUN {
obj <- with(colonIDM, survIDM(time1, event1, Stime, event))
PKMW(time = obj$Stime, status = obj$event)
# }
Run the code above in your browser using DataLab