Metadata-Version: 2.1
Name: survive
Version: 0.1
Summary: Survival analysis in Python
Home-page: https://github.com/artemmavrin/survive
Author: Artem Mavrin
Author-email: amavrin@ucsd.edu
License: UNKNOWN
Platform: UNKNOWN
Description-Content-Type: text/markdown
Provides-Extra: seaborn
Requires-Dist: numpy
Requires-Dist: scipy
Requires-Dist: pandas
Requires-Dist: matplotlib
Provides-Extra: seaborn
Requires-Dist: seaborn; extra == 'seaborn'

# Survive

[![PyPI version](https://badge.fury.io/py/survive.svg)](https://badge.fury.io/py/survive)
[![Documentation Status](https://readthedocs.org/projects/survive-python/badge/?version=latest)](https://survive-python.readthedocs.io/?badge=latest)

Survival analysis in Python.

## 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)](https://pypi.org/project/survive/), so a recent version of it can be installed with the `pip` utility:

    pip install survive

## Dependencies

* [NumPy](http://www.numpy.org)
* [SciPy](https://www.scipy.org)
* [pandas](https://pandas.pydata.org)
* [Matplotlib](https://matplotlib.org)

## Case Studies

* [Leukemia remission time dataset.](https://github.com/artemmavrin/survive/blob/master/examples/Leukemia_Remission_Time_Dataset.ipynb)
  A small dataset (42 total observations) separated into two groups with heavy right-censoring in one and none in the other.
* [Channing House dataset.](https://github.com/artemmavrin/survive/blob/master/examples/Channing_House_Dataset.ipynb)
  A slightly larger dataset (462 total observations) separated into two groups with right-censoring and left truncation in both.


