Discrete time survival analysis with competing risks
Project description
Discrete Time Survival Analysis
A Python package for discrete-time survival data analysis with competing risks.
Tomer Meir, Rom Gutman, Malka Gorfine 2022
Installation
pip install pydts
Quick Start
from pydts.fitters import TwoStagesFitter
from pydts.examples_utils.generate_simulations_data import generate_quick_start_df
patients_df = generate_quick_start_df(n_patients=10000, n_cov=5, d_times=14, j_events=2, pid_col='pid', seed=0)
fitter = TwoStagesFitter()
fitter.fit(df=patients_df.drop(['C', 'T'], axis=1))
fitter.print_summary()
Examples
Citations
If you found PyDTS software useful to your research, please cite the papers:
@article{Meir_PyDTS_2022,
author = {Meir, Tomer and Gutman, Rom, and Gorfine, Malka},
doi = {10.48550/arXiv.2204.05731},
title = {{PyDTS: A Python Package for Discrete Time Survival Analysis with Competing Risks}},
url = {https://arxiv.org/abs/2204.05731},
year = {2022}
}
@article{Meir_Gorfine_DTSP_2023,
author = {Meir, Tomer and Gorfine, Malka},
doi = {10.48550/arXiv.2303.01186},
title = {{Discrete-time Competing-Risks Regression with or without Penalization}},
url = {https://arxiv.org/abs/2303.01186},
year = {2023}
}
and please consider starring the project on GitHub
How to Contribute
- Open Github issues to suggest new features or to report bugs\errors
- Contact Tomer or Rom if you want to add a usage example to the documentation
- If you want to become a developer (thank you, we appreciate it!) - please contact Tomer or Rom for developers' on-boarding
Tomer Meir: tomer1812@gmail.com, Rom Gutman: rom.gutman1@gmail.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pydts-0.9.6.tar.gz
(1.4 MB
view details)
Built Distribution
pydts-0.9.6-py3-none-any.whl
(1.5 MB
view details)
File details
Details for the file pydts-0.9.6.tar.gz
.
File metadata
- Download URL: pydts-0.9.6.tar.gz
- Upload date:
- Size: 1.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.9.19 Darwin/21.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1667e82cf0bc64b3b300b5722e80778ab9398664532ae1a1ba35defea714dbaf |
|
MD5 | 6cf36f140ffbb697f91dc508a1bbddd7 |
|
BLAKE2b-256 | b18d8eaba3d4853f28f634a3d3bbd0ae4251c4674f366ff222784b4de2f94c6f |
File details
Details for the file pydts-0.9.6-py3-none-any.whl
.
File metadata
- Download URL: pydts-0.9.6-py3-none-any.whl
- Upload date:
- Size: 1.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.9.19 Darwin/21.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b12dee299a7fae195e9ac8dfedca6ac47b340aaf32679e38e43907f09894dbe |
|
MD5 | 061178848c3c1717100d2ba97731febe |
|
BLAKE2b-256 | 9ecdc869da493747780885f6acfd34f5468f2496315c0c6b34ffc5a37262507d |