A comprehensive Python survival analysis workflow using statsmodels. Covers Kaplan-Meier estimation, log-rank tests, Cox proportional hazards regression, and alternative approaches like Nelson-Aalen and Accelerated Failure Time models with practical code examples.
survival-analysis kaplan-meier regression-models statsmodels time-to-event survival-curves log-rank-test accelerated-failure-time cox-proportional-hazards hazard-ratio nelson-aalen cumulative-hazard proportional-hazards-assumption nonparametric-estimation
-
Updated
Dec 17, 2025 - Jupyter Notebook