Definition

Kaplan-Meier estimator is a step function. So it is difficult to calculate its quantile function and Density Function. The Kernel Density Estimation is used to make it smooth function.
Let be i.i.d. survival time with a distribution , and be i.i.d. censoring time with a distribution . We can observe where and is censoring indicator.
Without Censoring
For the complete data, the Kernel Density Estimation is defined as where is the kernel, is the scaled kernel, and is a smoothing parameter.
The kernel estimator for the Distribution Function is defined as where
With Censoring
For the censored data, the weights for each observation is defined as a jump size in Kaplan-Meier Estimator. where is the jump size at in Kaplan-Meier Estimator.
Thus, the Kernel Density Estimation for the Survival Function is