How to compute Kaplan-Meier survival curves in SQL – Brian Patrick Kent
Decision-makers often care how long it takes for important events to happen. In this article, I show how to compute Kaplan-Meier survival curves and Nelson-Aalen cumulative hazard curves directly in SQL, so you can answer time-to-event questions directly in your SQL-based analytics tables and dashboards.
Brian Patrick Kent