c/o Vancouver, BC
49.28° N, 123.12° W
Site v2.0 | Oct 2026
Next: New York, NY
40.71° N, 74.01° W

Play the gameSee the work20 second version

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.

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

XGBoostAUC 0.83ER surge forecast

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.

Elastic net822 to 1High dimensional signal

Penalized regression across 822 plasma metabolites in 826 people, then multiple testing correction. Eighteen candidates became one, and I reported the one.

ForecastingR² 0.82 to 0.9316 hospital sites

Hospital forecasting models built on Databricks and Spark, scored site by site so the weak sites are visible too.

Monte CarloSurge riskSimulation

An ER surge prediction system built on Monte Carlo simulation, so the answer is a range of outcomes, not one guess.

Causal designs3 baselinesEvaluation

A natural experiment from a 71 hour outage, with three independent baselines, and a controlled evaluation that changed a funding decision.

Trees + language modelsIn progressFree text charting

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

Method references: Chen and Guestrin, XGBoost, KDD 2016. Zou and Hastie, elastic net, JRSSB 2005.

FIG. 1 THE OUTAGE GAMEAbout 3 min

The 20 second version

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).
Fig. 2MANHATTAN PLOT

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

Project No. 014 hours aheadPredictionc/o VCH

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

Project No. 0234,000 visitsBehaviorc/o VCH

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

Project No. 03Decision changedEvaluation + equityc/o VCH

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

Project No. 042,800 records fixedGround truthc/o VCH

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

Project No. 051 of 18 survivedSignal vs noise2021 to 2023c/o Lund University

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

Read the thesis (PDF, 7 MB)

ALSO Null results, papers and talks

NULL RESULTS and bugs

PAPERS AND TALKS

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