Stroke lifetime: health economics calculations for lifetime after stroke.
Project description
stroke-lifetime
Toolkit for calculating lifetime survival probabilities and resource use for patients after stroke.
- Source code: https://github.com/stroke-optimist/stroke-lifetime
- Parent project: stroke-optimist Stroke OPTIMIST Project: OPTimising IMplementation of Ischaemic Stroke Thrombectomy
➡️ Get started
This toolkit works with Python versions 3.8 and up.
Install the package with:
pip install stroke-lifetime
🏥 Motivation in brief:
Given values for a patient's age, sex, and Modified Rankin Scale (mRS) score on discharge from hospital following a stroke, we can calculate the following quantities across the remainder of that patient's lifespan:
- The probability of survival of the patient in each year.
- The number of Quality-Adjusted Life Years (QALYs).
- The expected use of resources (e.g. number of admissions to A&E and number of years spent in residential care) and the cost of those resources.
- The discounted total net benefit by change in mRS score.
The model is described in a paper that's not yet published. Link will be added when available.
📦 Package details:
models.py
- Basic modelsfixed_params.py
- Constantsmain_calculations.py
- Gathers the basic models and calculates all of the useful outputs.
Example usage: Streamlit app
View a Streamlit app that uses this package:
- Streamlit app: https://lifetime-stroke-outcome.streamlit.app/
- DOI: https://doi.org/10.5281/zenodo.8269389
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
stroke-lifetime-3.0.0.tar.gz
(18.3 kB
view hashes)
Built Distribution
Close
Hashes for stroke_lifetime-3.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f937a75cf6d8406d86cf12dca7aef781668f08aa152e02761ac76096a0b6afca |
|
MD5 | d1b4c3a689f1352eea5ebc7f336173b9 |
|
BLAKE2b-256 | 4b5a30ac2286d729c7ad06f2e6d9f1720622ff4ab1a805d2521ee7797c5330ea |