survive

Survival analysis in Python


Keywords
python, statistics, survival-analysis
License
MIT
Install
pip install survive==0.0.0

Documentation

Survive

Survival Analysis in Python

Python Version PyPI Package Version Travis CI Build Status Code Coverage Documentation Status GitHub License

Survive is a Python 3 package built on top of NumPy and pandas that provides statistical tools for the analysis of survival, lifetime, and event data.

Website: https://survive-python.readthedocs.io

Installation

The latest version of Survive can be installed directly after cloning from GitHub.

git clone https://github.com/artemmavrin/survive.git
cd survive
make install

Moreover, Survive is on the Python Package Index (PyPI), so a recent version of it can be installed with the pip tool.

python -m pip install survive

Dependencies

Survive relies on the following scientific computing packages.

Case Studies

Leukemia remission times
A small dataset (42 total observations) separated into two groups with heavy right-censoring in one and none in the other.
Channing House data
A slightly larger dataset (462 total observations) separated into two groups with right-censoring and left truncation in both.

API Reference

The complete API Reference for Survive is available on Read the Docs.