PKM: Presmoothed Kaplan-Meier product-limit estimate of survival

Description Usage Arguments Author(s) References See Also Examples

View source: R/PKM.R

Description

This function provides survival estimates using the presmoothed product-limit Kaplan-Meier estimator.

Usage

1
PKM(time, status, t)

Arguments

time

Survival time of the process.

status

Censoring indicator of the survival time of the process; 0 if the survival time is censored and 1 otherwise.

t

The time for obtaining survival estimates.

Author(s)

Luis Meira-Machado, Marta Sestelo and Gustavo Soutinho.

References

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.

See Also

KM

Examples

1
2
obj <- with(colonIDM, survIDM(time1, event1, Stime, event))
PKM(time = obj$Stime, status = obj$event, t = 1095)

Example output

[1] 0.6751843

survidm documentation built on June 25, 2021, 1:07 a.m.