Simple python code implementation of survival analysis in biostatistics.
The dataset is a clinical trial in the treatment of primary biliary cirrhosis from 1974-1984 in Mayo clinic.
Content:
Life tables
Kaplan-Meier curves
Survival function
Hazard function
Log-rank test
Sources:
T Therneau and P Grambsch (2000), Modeling Survival Data: Extending the Cox Model, Springer-Verlag, New York. ISBN: 0-387-98784-3
CamDavidsonPilon/lifelines: 0.25.10
https://doi.org/10.5281/zenodo.4579431
https://www.kdnuggets.com/2020/07/complete-guide-survival-analysis-python-part1.html
https://www.kdnuggets.com/2020/07/guide-survival-analysis-python-part-2.html
https://www.kdnuggets.com/2020/07/guide-survival-analysis-python-part-3.html