Contents

lifelines 0.29.0

0

Survival analysis in Python, including Kaplan Meier, Nelson Aalen and regression

Survival analysis in Python, including Kaplan Meier, Nelson Aalen and regression

Stars: 2353, Watchers: 2353, Forks: 558, Open Issues: 267

The CamDavidsonPilon/lifelines repo was created 11 years ago and the last code push was 1 months ago.
The project is very popular with an impressive 2353 github stars!

How to Install lifelines

You can install lifelines using pip

pip install lifelines

or add it to a project with poetry

poetry add lifelines

Package Details

Author
Cameron Davidson-Pilon
License
MIT
Homepage
https://github.com/CamDavidsonPilon/lifelines
PyPi:
https://pypi.org/project/lifelines/
GitHub Repo:
https://github.com/CamDavidsonPilon/lifelines

Classifiers

  • Scientific/Engineering
No  lifelines  pypi packages just yet.

Errors

A list of common lifelines errors.

Code Examples

Here are some lifelines code examples and snippets.

GitHub Issues

The lifelines package has 267 open issues on GitHub

  • add_at_risk_counts does not work properly with adjusted/weighted Kaplan Meier curves
  • At Risk from add_at_risk_counts Monotonically Decreasing with Left Truncation
  • add_at_risk_counts is showing at_risk counts not at time t, but at t+1
  • One of Z-score in Log Normal Fitter is reported wrongly.
  • Unable to load serialized model into Python
  • How to fix the error "Diagonal of the variance_matrix_ has negative values or NaNs while using Gompertz function?
  • KMUnicate style of "add_at_risk_counts" does not work with weighted fit
  • Set and fix coefficients of the CoxPHFitter() object

See more issues on GitHub

Related Packages & Articles