N-HiTS, the plan's neural forecaster
Beaten at every level. Its own 90 percent ranges covered 58 to 68 percent of outcomes, after 18.3 hours of fitting against ETS's 1.5.
Seventeen years of forecasts, scored against what happened
Emergency calls, arrivals, orders. "About 3,900 a day" is hard to staff to. "3,600 to 4,200, and that range has held nine times in ten for seventeen years" is something a manager can plan around. This page measures the second kind of claim: 911 weekly forecasts of the next fortnight, scored against what actually happened, and then turned into a number of crews to put on shift. It includes the fortnight where the range broke.
Nothing is modelled in your browser. Every number was computed in advance by the backtest and can be checked in the public repository, and every one carries a 95 percent confidence interval there. See how it's built, in three diagrams.
How it works
The rest of this page is the method and its evidence, in the order it happens. Each part starts in plain language, with a picture. Where there is more to say for someone who builds models for a living, it is folded away under For the technical reader, so you can skip it if you only want the idea.
Six steps. The order matters: every forecast is made from the past alone and scored against a fortnight that had not happened when it was made.
Every forecast is scored against a fortnight that had not happened when it was made. That is what lets this page show the month the ranges broke, which a whole-period average would hide.
One series at a time, forecast 14 days ahead by the statistical model, which is the forecaster the rest of this page staffs from and reconciles. The band is where the model said demand would be; the dark line is where it went. Pick any of the 37 series: the whole city, one of five boroughs, or a single dispatch area, where the counts are small and the noise is large. Every model that was trained is compared further down.
A fortnight's forecast cannot see a shift that happens inside its own fortnight. In late March 2020 demand leaves the band completely. The band chases it about two weeks later, which is exactly the forecast horizon, and by the time it arrives the outcome has fallen through the bottom instead. No amount of interval calibration fixes that, and the next section is what it did to the guarantee.
A 90 percent interval claims to contain the outcome nine times in ten. This is the share it actually contained, in a trailing window, for three ways of building the interval around the same simple forecast. Width is underneath, because an interval can reach any coverage you like by being wide enough, and coverage bought with width is not a result.
Adaptive conformal is the method that is supposed to recover, and it does not. It widens its interval when it starts missing, but it cannot widen past the largest error in its own recent history, and March 2020 was larger than anything in the year before it. It ran out of room rather than being too slow. Watch the widths below the coverage line: they only rise after the fall, not during it.
Split, adaptive and aggregated conformal all calibrate an interval on past errors, and their guarantee holds on average over time, and only if the errors are exchangeable: loosely, that tomorrow's mistakes look like a shuffled version of last year's. Demand through a pandemic is not exchangeable, so no coverage is promised in any one window, and none was delivered.
The implementation is working as designed; the guarantee is weaker than it sounds. A whole-period average would report 0.90 and say nothing at all about the month that mattered. The repository's methods document names the remedy, which this project does not attempt.
The pretrained model is the one that did not lose, with one large caveat. TimesFM was trained on none of this data and forecasts it zero-shot, with nothing fitted here at all. Its weights postdate most of these origins, though, and its training corpus contains the 2020 period in other series, so a forecast it makes of March 2020 is not the same kind of claim as every other bar above. It is drawn here only on the clean window, the origins whose whole fortnight falls after the latest documented pretraining data, and it is never pooled with the rows above it.
On that window it beats the best statistical model at every level and matches the global boosted model, at no training cost and with no per-series fitting. On the shorter cross-check after its weights were published, the one stretch nothing could have leaked into, it is about one percent behind that boosted model instead. Forty origins cannot settle which of those is the truth, and the repository says so rather than picking the window that flatters it.
Compute is comparable within a kind of model, and only roughly across them. It is the median time per forecast times the full schedule, on one desktop CPU. ETS, Theta and MSTL were fitted three at a time and each is charged a third of the shared run, which is why they read alike; AutoARIMA was run alone, so its figure is a whole machine's time. Measured alone, AutoARIMA costs about five times ETS, not the nine the chart suggests, and the repository's methods document has both runs.
The slider moves the table exactly, because the table was computed at each of its stops. It also moves the dashed line on the forecast chart at the top of the page, and that line is interpolated between the bands that were exported: it is there to be read, not measured.
Cost here is counted in unit-days, not in money. One unit staffed and not needed costs 1, and one needed and missing costs 4 of the same thing, so a cost saved is a number of unit-days saved and the crew-hours beside it are those unit-days at the hours the inputs table gives them. Nothing on this page invents a rate of pay. Put your own on the crew-hours and the figure is yours; change the two costs and every number in the table moves.
Four things were built, measured and not adopted. Each was a real cost, and the measurements are why it was dropped.
Beaten at every level. Its own 90 percent ranges covered 58 to 68 percent of outcomes, after 18.3 hours of fitting against ETS's 1.5.
The best calibrated model here, and it ties ETS at the city and the boroughs. It loses at the dispatch areas, at about seventeen times the cost.
Five times ETS's cost to finish third of the four statistical models.
A GTX 1650 gave no speedup on these fits, so every published time is a CPU time.
The full verdict on the neural models, including the one model that did not lose, is in docs/neural-verdict.md.
The code is typed and tested, the backtest is checkpointed, and one command writes the README's tables and this page's data from the same stored forecasts.
inputs/decision.toml, and every number in the rota moves when they change.I designed this project and made the calls in it: what to forecast, how to score it, and what to do when a model I had planned for did not earn its place. I came to it from years of forecasting health-sector utilisation. Two of my calls show in the results. I gave the neural forecasters a full, fair run, N-HiTS and PatchTST trained on every series and refitted on a schedule, and then left them out, because the numbers said so. And I wrote the conformal intervals myself rather than take them from a library, because a forecast's error is not known until its date arrives, and an interval that assumes otherwise quietly uses the future.
I used an AI coding assistant (Claude Code) for implementation and drafting, which is now standard practice in software, data science and machine learning work. Every number on this page can be reproduced from the repository with one command, from public data.