In the Kaplan-Meier estimator, replace the ordinary risk set at event time by
The product-limit factor remains , but only individuals who have entered and not yet exited contribute to its denominator.
Solved by gpt-5.6-sol high.