For the Kaplan–Meier estimator, the estimated variance isThe formula follows by summing approximate variances of the logarithms of the conditional survival factors and applying the delta method to their product. Its square root is the estimated standard error. The same expression uses the actual delayed-entry risk sets for the Kaplan–Meier estimator with delayed entry. When and every contributing , an approximate log-scale confidence interval is , with the upper endpoint capped at one. This interval can be inaccurate with very small risk sets.
New to topics? Read the docs here!