Play the gameSee the work20 second version
EMAIL / RESUME (PDF) / LINKEDIN
Better calls from messy data, for the people who have to make them.
I'm Josh Mendis, a data scientist at Vancouver Coastal Health. I build ER forecasting models and evaluations that go to physician leaders and the Ministry of Health. Looking for data science roles in New York.
- 34,000ED visits in my outage study
- 4 hoursahead: the ER surge forecast
- 2,800mislabeled visits caught before leadership saw them
- 1 of 18thesis hits survived correction
Tools Python, R, SQL, Spark, Databricks, Tableau, XGBoost, elastic net, random forest, Monte Carlo, regression, program evaluation
THE MODELSwhat I build, and what is next
Gradient boosted trees on 4.6 years of hourly data predict top tier ER surges four hours ahead, against a logistic baseline and a published benchmark of 0.76 to 0.77. Leakage audit, negative control and calibration first.
Penalized regression across 822 plasma metabolites in 826 people, then multiple testing correction. Eighteen candidates became one, and I reported the one.
Hospital forecasting models built on Databricks and Spark, scored site by site so the weak sites are visible too.
An ER surge prediction system built on Monte Carlo simulation, so the answer is a range of outcomes, not one guess.
A natural experiment from a 71 hour outage, with three independent baselines, and a controlled evaluation that changed a funding decision.
A literature review on language models and decision trees in healthcare, and a framework for classifying free text ER charting with both.
NEXT Methods from the literature I want to use
- Conformal prediction. Distribution free intervals so a surge alert comes with honest uncertainty. Angelopoulos and Bates, 2021.
- Proper scoring and calibration. Judge probabilities by Brier and log score, not AUC alone. Gneiting and Raftery, 2007. Van Calster et al., BMC Medicine, 2019.
- SHAP explanations. Show clinicians why the model is worried tonight. Lundberg and Lee, NeurIPS, 2017.
- Bayesian structural time series and interrupted time series. Counterfactual baselines for outages and policy changes. Brodersen et al., 2015. Bernal, Cummins and Gasparrini, 2017.
- LLMs with tree models. Let a language model read the chart note, then let a transparent tree decide. From my review for the ER.
Method references: Chen and Guestrin, XGBoost, KDD 2016. Zou and Hastie, elastic net, JRSSB 2005.
FIG. 1 THE OUTAGE GAMEAbout 3 min
In real life, a public ER wait time website went down for 71 hours across 19 emergency departments. I measured what people did when the information disappeared. Meet nine made-up patients, pick three, and see who gets hurt when the information goes away, and who does not.
TOY MODEL Made up patients, hospitals and numbers. Not study results.
HOW THIS WORKS Plain language, no fine print
- You pick three of nine patients. Each one has a short story, and you choose where they go twice: once on a normal night with the wait time site live, and once on the night it went dark.
- The reveal compares your choice with 100 made-up people like that patient. Every percentage is invented for the game, so it shows a way of thinking, not a result.
- About one in three nights end in harm. Some harm has nothing to do with the website. It comes from trust, from having no phone, or from care that was never within reach.
- The ICU cost on Sam's screen is five days at about $3,592 a day, the national CIHI average in 2013 to 2014 dollars, so about $18,000 before any ward days.
- Credits: characters made with MakeHuman. Clothes and hair from the MakeHuman community: Elvaerwyn, punkduck, culturalibre, O4saken and MRT, under CC0, CC BY and AGPL3 licences. Font Sora (SIL OFL). Walking, falling and idle motion from the Universal Animation Library by Quaternius (CC0). 3D by three.js (MIT).
The chart geneticists use to find signals in a genome. Each peak is a project. Tap one.
Illustration only. The numbers in the captions are real.
SELECTED WORK5 projects
Predicting ER surges four hours before they happen
Result: physician leadership was pitched a prospective pilot.
Gradient boosted and logistic models on 4.6 years of hourly data predict when ERs will tip into their top surge tier, four hours ahead. I ran a leakage audit, a negative control and calibration checks first.
SPECS: AUC 0.83 (95% CI 0.74 to 0.90), exploratory | benchmark 0.76 to 0.77 | validation runs through Dec 2026
What do people do when the information disappears?
Status: second author, manuscript in preparation.
When a public ER wait time website went dark for 71 hours, it created a natural experiment. I led the analytics on whether patients redistributed across sites and whether waits changed.
SPECS: 71 h | 19 EDs | ~34,000 visits | 3 baselines
Meeting people where they are
Result: a control group changed a steering committee's position and informed expanding the roles.
Many people who use drugs or are houseless avoid emergency departments. Our health authority piloted harm reduction nurse clinicians and peer support workers to change that. I ran the controlled evaluation.
SPECS: controlled design | ED + community | roles expanded
Building ground truth from messy records
Result: about 2,800 mislabeled visits removed before any metric reached leadership.
A production pipeline finds sepsis patients in the EHR and measures care against Surviving Sepsis bundles. I caught a defect inflating the cohort and validated the labels against chart review.
SPECS: 39 steps | 6 data catalogs | sole analyst
Finding one real signal in 822
Result: 18 candidates became 1 after correction, and I reported the 1.
Elastic net models across the plasma metabolome of a Swedish cohort narrowed 822 metabolites to 18, and only theophylline survived multiple testing. MPH thesis, with Distinction.
SPECS: 822 features | n = 826 | p < 0.001
ALSO Null results, papers and talks
NULL RESULTS and bugs
- 17 out of 18. My thesis flagged 18 promising metabolites; after correcting for multiple testing, only one survived.
- ~2,800 patients who weren't there. A defect was quietly inflating the sepsis cohort; I caught it before any metric reached leadership.
- A literal NULL result. NULLs were leaking into two years of urgent care rates on an executive slide; I fixed it and rebuilt the workbook so it can't recur.
PAPERS AND TALKS
- Forecasting ER waiting room surges four hours ahead. Manuscript in preparation for the Canadian Journal of Emergency Medicine.
- Natural experiment on a public ER wait time website outage. Second author, manuscript in preparation for the Canadian Journal of Emergency Medicine.
- Salivary amylase gene copy number and plasma metabolites in the Malmö Diet and Cancer Cohort Study. MPH thesis, Lund University, 2023. Awarded Distinction. (PDF, 7 MB)
- Presented AMY1 and metabolome work at the Nordic Metabolomics Conference, the Precision Nutrition Forum and NEON 2022. Awarded the MPH Preparatory Research Scholarship.
WRITING1 essay, 4 min
Essay No. 01 Oct 2026 | 4 min
What happens when people lose the information they were using?
Read
For 71 hours, a website went dark.
In BC, a public website shows live wait times for emergency departments. The idea is simple. If you can see that one ER has a four hour wait and another one fifteen minutes away has a one hour wait, some people will make the drive, and the system balances itself out a little.
That's the theory, anyway. It's actually really hard to test. You can't just switch off a public health website to see what happens. Then one day the site went down across 19 emergency departments, and nobody had to.
I think about this a lot because it's a clean version of a question I care about way beyond hospitals. When you give a population information, does it change what they do? And when you take that information away, how fast do they go back to habit?
Natural experiments are great because a broken server does the randomizing for you. They're also dangerous, because nothing about an outage is truly random. It happens on particular days, in a particular season, maybe in the middle of a bad flu week. If ER traffic looks different during those three days, that could be the outage, or it could just be the flu.
So most of the work isn't the comparison. It's building the baseline: what would those 71 hours have looked like if the site had stayed up? We built three independent baselines for that, each imperfect in a different way. An effect that only shows up against one of them is one I don't trust. An effect that holds up against all three is the start of an answer.
Then there's the question of what to measure. If the website matters, you'd expect to see it in where people go, how long they wait, how long they stay, and whether more of them give up and leave without being seen. Each one tells a slightly different story about who was actually using the site and who it was helping.
I'm not going to spoil the results, since the paper is still in progress. But the part that stuck with me most is how much of the job was deciding what would count as evidence before looking at the answer. It's the least glamorous part of any project and probably the most important.
It's also why I'm excited about where AI is going. Forecasting and simulating how people behave is getting cheaper and better fast. But a simulation is only as good as the evaluation behind it, and the world rarely hands you a clean test. When it does, like a website going dark for three days, you want to be ready to use it properly.
The public health version of that lesson is old. Be suspicious of your own results. Build your baseline before you fall in love with your effect. Let reality grade your predictions. I just think it matters more now than it ever has.
ABOUT
Right now: a regional sepsis dashboard, an ED physician workload analysis for a Ministry funding application, and two manuscripts.
With AI: Claude and Databricks Genie are in my daily loop. AI drafts, I verify every number against source data before anything leaves my hands. This site and its game were built with Claude.
Outside work: Board Director at Ribbon Community, Vancouver's oldest HIV organization, since February 2026. I review budgets and funding and work on program oversight.
PATH
- NextBuilding and evaluating models of human behaviour in New York City
- 2024 to nowData Scientist, Vancouver Coastal Health
- 2021 to 2023MPH, Epidemiology and Biostatistics, Lund University, with Distinction
- 2020 to 2021Clinic Assistant Manager, Babylon by TELUS Health
- 2015 to 2020BSc in Biology, University of Victoria