- Survival analysis (Kaplan-Meier, Cox PH) on clinical EHR data
- Causal inference via Inverse Probability of Treatment Weighting (IPTW)
- Correcting for confounding bias (Simpson's Paradox in ICU ventilation data)
- Interactive clinical dashboard built with Streamlit
Naive comparison: HR=~1.35 (ventilation appears harmful — confounding)
IPTW-adjusted: HR=~0.75 (true protective effect recovered)
Python · Lifelines · scikit-learn · Streamlit · Pandas
pip install -r requirements.txt
python src/data_gen.py
python src/preprocessing.py
streamlit run app/app.pyReplace data_gen.py output with MIMIC-IV's icustays, patients, chartevents tables.
Column mapping in preprocessing.py covers the schema translation.