
lifelines¶
lifelines is a implementation of survival analysis in Python. What benefits does lifelines offer over other survival analysis implementations?
- built on top of Pandas
- internal plotting methods
- simple and intuitive API
- only focus is survival analysis
Contents:¶
- Quickstart
- Introduction to survival analysis
- Survival analysis with lifelines
- Survival regression
- Testing the proportional hazard assumptions
- Assessing Cox model fit using residuals (work in progress)
- Piecewise Exponential models and creating custom models
- Time-lagged conversion rates and cure models
- More examples and recipes
- Reference library for lifelines
- Changelog
Installation¶
pip install lifelines
Source code and issue tracker¶
Available on Github, CamDavidsonPilon/lifelines. Please report bugs, issues and feature extensions there. We also have Gitter channel avaiable to discuss survival analysis and lifelines:
Citing lifelines¶
The following link will bring you to a page where you can find the latest citation for lifelines: