Data Science Fundamentals

Kaplan-Meier curve explained

Learn how to build KM curve in Python from scratch and two other ways

Zolzaya Luvsandorj
Towards Data Science
6 min readJun 2, 2021

--

Kaplan-Meier curve, a popular survival analysis tool, is useful in understanding survival probability over time in the presence of incomplete data. In this post, we will learn how to build a Kaplan-Meier curve from scratch to gain a better understanding, then look at two ways to build it using survival analysis libraries in Python.

--

--