Daily ridership forecasting
Part 1 of 2 in Transit demand, from forecast to capacity
After ridership collapsed in March 2020, repeating last week's count missed less than gradient boosting in every month, by about 45,000 boardings a day on average, but exponential smoothing missed less from August on.
The gap to gradient boosting is clear (95% range 20,000 to 82,000 a day). Before the collapse gradient boosting had the lowest average miss, though 60 days could not separate the four methods. One series and one shock cannot set a rule for every shock, so I would start on the simple forecast after a shock, make every model beat it on a weekly scorecard, and use two alarms to say when a model has earned its place back.
Last week's count, after the collapse 49,000 boardings a day average miss, March to December | Gradient boosting, after the collapse 95,000 lowest average before it but no clear lead; clearly worse after it | Exponential smoothing, after the collapse 72,000 a gap that could be chance; it missed less than last week's count every month from August | Coverage in June (the year said 89.6%) 70% share of days inside the 90% range, last week's count |
Main limitation One city's transit counts and one shock. After the collapse last week's count had the lowest monthly miss from April to July and exponential smoothing from August on; in 2019, a normal year, gradient boosting led. | |||
In plain words
A business that schedules supply a day ahead (drivers, couriers, support agents, buses) needs tomorrow's demand with an honest range: too high pays for idle supply, too low leaves customers waiting. The hard question is what to trust when demand changes overnight, and how quickly a team can tell that its model has stopped working.
I compared four ways to forecast tomorrow's count, from the simplest (repeat the count from the same weekday last week) to gradient boosting, on every day of 2020, each using only what was known the evening before. The data is the Chicago Transit Authority's daily boarding count, which collapsed in mid-March 2020 and stayed far below its January level for the rest of the year. It stands in for the daily demand a marketplace or delivery operation plans against; it is public, so no customer data is shared.
Terms used on this page
- One-day-ahead forecast
- Tomorrow's count, made after today closes.
- Last week's count
- Forecast Tuesday with last Tuesday's count (in textbooks, the weekly seasonal naive). Nothing to fit.
- Exponential smoothing (ETS)
- A running level plus a weekly pattern, updated every day.
- Gradient boosting
- A machine-learning model made of many small decision trees, here fed the calendar and recent counts.
- Calendar regression
- A model of weekday, holidays, season and trend only, with no recent counts.
- Average miss (MAE)
- How far off the forecast was on an average day, in boardings.
- 90% range
- An interval meant to hold the real count nine days in ten. Coverage is the share of days it actually did.
- Clear gap
- A difference between two methods unlikely to be luck, under the test described in the method section.
The evidence
How far off each method was on an average day, before and after the March 2020 collapse.
| Method | January to February | March to December | Full year |
|---|---|---|---|
| Last week's count | 114,000 | 49,000 | 60,000 |
| Exponential smoothing (ETS) | 102,000 | 72,000 | 77,000 |
| Gradient boosting | 80,000 | 95,000 | 92,000 |
| Calendar regression | 102,000 | 558,000 | 483,000 |
- Before the collapse, 60 days were too few to separate any two methods.
- After it, averaged over March to December, last week's count missed least, and its lead over gradient boosting and calendar regression is clear. Its lead over exponential smoothing could be chance, and exponential smoothing missed less in every month from August to December. The chart below shows each gap with its range.
Extra boardings a day each method missed compared with last week's count, March to December, with a 95% range.
Show the data
| Method | Extra miss a day | 95% range | Adjusted p |
|---|---|---|---|
| Exponential smoothing (ETS) | 22,000 | −3,000 to +47,000 | 0.14 |
| Gradient boosting | 45,000 | +20,000 to +82,000 | 0.010 |
| Calendar regression | 509,000 | +445,000 to +572,000 | <0.001 |
| Period | Pair (A minus B) | Difference | Test statistic | p | Adjusted p | 95% range |
|---|---|---|---|---|---|---|
| Full year | Last week's count minus Calendar regression | −424,000 | −11.76 | <0.001 | <0.001 | −498,000 to −347,000 |
| Full year | Last week's count minus Gradient boosting | −33,000 | −2.34 | 0.020 | 0.059 | −65,000 to −9,000 |
| Full year | Last week's count minus ETS | −17,000 | −1.49 | 0.14 | 0.28 | −39,000 to +6,000 |
| Full year | Calendar regression minus Gradient boosting | +391,000 | 12.23 | <0.001 | <0.001 | +326,000 to +457,000 |
| Full year | Calendar regression minus ETS | +407,000 | 13.42 | <0.001 | <0.001 | +344,000 to +469,000 |
| Full year | Gradient boosting minus ETS | +16,000 | 1.00 | 0.32 | 0.32 | −14,000 to +50,000 |
| January to February | Last week's count minus Calendar regression | +12,000 | 0.39 | 0.70 | 1.00 | −41,000 to +82,000 |
| January to February | Last week's count minus Gradient boosting | +34,000 | 1.52 | 0.13 | 0.80 | −2,000 to +80,000 |
| January to February | Last week's count minus ETS | +12,000 | 0.40 | 0.69 | 1.00 | −34,000 to +69,000 |
| January to February | Calendar regression minus Gradient boosting | +22,000 | 1.18 | 0.24 | 1.00 | −14,000 to +54,000 |
| January to February | Calendar regression minus ETS | 0 | −0.02 | 0.98 | 1.00 | −51,000 to +38,000 |
| January to February | Gradient boosting minus ETS | −22,000 | −1.13 | 0.26 | 1.00 | −59,000 to +14,000 |
| March to December | Last week's count minus Calendar regression | −509,000 | −16.55 | <0.001 | <0.001 | −572,000 to −445,000 |
| March to December | Last week's count minus Gradient boosting | −45,000 | −2.95 | 0.003 | 0.010 | −82,000 to −20,000 |
| March to December | Last week's count minus ETS | −22,000 | −1.83 | 0.068 | 0.14 | −47,000 to +3,000 |
| March to December | Calendar regression minus Gradient boosting | +464,000 | 16.14 | <0.001 | <0.001 | +405,000 to +525,000 |
| March to December | Calendar regression minus ETS | +487,000 | 20.91 | <0.001 | <0.001 | +439,000 to +533,000 |
| March to December | Gradient boosting minus ETS | +23,000 | 1.27 | 0.21 | 0.21 | −12,000 to +63,000 |
Average miss by month, boardings a day, on a log scale so all four methods fit. Monthly winners are descriptive only.
Last week's countCalendar regressionGradient boostingETS
Show the data
| Month | Last week's count | Calendar regression | Gradient boosting | ETS | Lowest |
|---|---|---|---|---|---|
| January | 158,000 | 113,000 | 117,000 | 136,000 | Calendar regression |
| February | 67,000 | 90,000 | 41,000 | 67,000 | Gradient boosting |
| March | 231,000 | 522,000 | 439,000 | 168,000 | ETS |
| April | 15,000 | 935,000 | 41,000 | 188,000 | Last week's count |
| May | 28,000 | 697,000 | 59,000 | 167,000 | Last week's count |
| June | 50,000 | 635,000 | 90,000 | 54,000 | Last week's count |
| July | 21,000 | 533,000 | 81,000 | 26,000 | Last week's count |
| August | 21,000 | 540,000 | 58,000 | 17,000 | ETS |
| September | 29,000 | 529,000 | 45,000 | 21,000 | ETS |
| October | 19,000 | 457,000 | 46,000 | 15,000 | ETS |
| November | 30,000 | 380,000 | 36,000 | 27,000 | ETS |
| December | 47,000 | 363,000 | 48,000 | 34,000 | ETS |
How far to trust the ranges
Planners set their buffer from the range. Over the year every method's 90% range held close to 90% of days. Month by month it swung, and every method fell below 75% in at least one month: for last week's count the range held every day in April and 70% of days in June, against 89.6% over the year. A team that checks coverage once a year would never see it.
Share of each month's days inside the 90% range. Solid: the ranges as reported. Dashed: the same ranges rescaled to ridership (log scale), described under what went wrong. Dotted line: the 90% target.
As reportedRescaled90% target
Show the data
| Method | Version | Coverage | Monthly range | Mean width | Winkler score |
|---|---|---|---|---|---|
| Last week's count | As reported | 89.6% | 70.0% to 100.0% | 462,000 | 686,000 |
| Last week's count | Rescaled (log scale) | 88.8% | 54.8% to 100.0% | 452,000 | 729,000 |
| Calendar regression | As reported | 93.2% | 38.7% to 100.0% | 1,407,000 | 2,086,000 |
| Calendar regression | Rescaled (log scale) | 88.0% | 36.7% to 100.0% | 2,554,000 | 3,213,000 |
| Gradient boosting | As reported | 88.0% | 41.9% to 100.0% | 457,000 | 1,058,000 |
| Gradient boosting | Rescaled (log scale) | 90.2% | 41.9% to 100.0% | 449,000 | 1,050,000 |
| ETS | As reported | 91.3% | 71.0% to 100.0% | 392,000 | 522,000 |
| ETS | Rescaled (log scale) | 86.3% | 51.6% to 100.0% | 20,988,984,000 | 20,989,287,000 |
Exponential smoothing's rescaled mean width of about 21 billion boardings comes from May, June and July. The days its ranges for those months learned from included forecasts of zero against real weekend counts, an enormous miss on a log scale, so the upper end of those ranges reached more than 200,000 times the forecast. It is one reason the rescaled ranges failed.
| Month | Last week's count, as reported | Last week's count, rescaled | Calendar regression, as reported | Calendar regression, rescaled | Gradient boosting, as reported | Gradient boosting, rescaled | ETS, as reported | ETS, rescaled |
|---|---|---|---|---|---|---|---|---|
| January | 96.8% | 96.8% | 100.0% | 100.0% | 90.3% | 83.9% | 90.3% | 96.8% |
| February | 100.0% | 100.0% | 96.6% | 96.6% | 100.0% | 100.0% | 100.0% | 100.0% |
| March | 80.6% | 54.8% | 38.7% | 38.7% | 41.9% | 41.9% | 71.0% | 51.6% |
| April | 100.0% | 100.0% | 83.3% | 36.7% | 100.0% | 100.0% | 86.7% | 56.7% |
| May | 100.0% | 100.0% | 100.0% | 100.0% | 100.0% | 100.0% | 100.0% | 80.6% |
| June | 70.0% | 70.0% | 100.0% | 93.3% | 56.7% | 93.3% | 100.0% | 100.0% |
| July | 100.0% | 100.0% | 100.0% | 100.0% | 100.0% | 100.0% | 100.0% | 100.0% |
| August | 93.5% | 93.5% | 100.0% | 96.8% | 100.0% | 100.0% | 96.8% | 100.0% |
| September | 73.3% | 93.3% | 100.0% | 100.0% | 100.0% | 100.0% | 96.7% | 96.7% |
| October | 93.5% | 93.5% | 100.0% | 100.0% | 96.8% | 96.8% | 93.5% | 93.5% |
| November | 93.3% | 86.7% | 100.0% | 96.7% | 90.0% | 86.7% | 86.7% | 90.0% |
| December | 74.2% | 77.4% | 100.0% | 96.8% | 80.6% | 80.6% | 74.2% | 71.0% |
What went wrong or was missed
Each method failed in a way that follows from what it remembers.
- Calendar regression sees no recent counts. It predicts from the weekday, holidays, the season and a trend, so after March it forecast pre-pandemic ridership every month and was still about 344,000 boardings a day too high in December: at each monthly refit, three normal years outweighed a few new months. In January it had the lowest error of the four (about 113,000). It suits planning weeks or months ahead, and a shock breaks it first and longest.
- Last week's count was blind for a week. In the week after the collapse it repeated the week before it, so March was its worst month (about 231,000 a day). The break alarm below exists for that week.
- Gradient boosting lagged the change. Fitted on data to the end of February, it forecast about 435,000 too many riders a day through March, then, refitted monthly, under-forecast the June and July recovery.
- Exponential smoothing forecast zero riders on 22 weekend days, in March to May. Its weekly pattern is a fixed number of boardings per weekday, so after the collapse the usual weekend dip took the forecast below zero, where it was floored. A pattern stored as a share of the level cannot go below zero.
- Rescaling the ranges made them worse. Ranges sized relative to ridership (on a log scale), a variant declared before testing, so they shrink and grow with it, scored worse for three of the four methods on a measure that charges for both width and misses. Each range learns from the 60 days before its month, and after a break those days describe a different world; rescaling them cannot change that. The ranges on this page are as reported.
Daily boardings, 2020: the observed count in grey behind each method's one-day-ahead forecast. Values above 2 million are drawn at the top edge.
Observed boardingsLast week's countCalendar regressionGradient boostingETS
Show the data
All 1,464 daily forecasts, with observed counts and both interval bounds, are in the downloads.
Download predictions.csv (ranges as reported) and findings.json (rescaled ranges).
The monitoring rule I would ship
This rule was written after seeing 2020. How each step would be applied, and what to expect, was declared before the replay; the next section shows what it did, unchanged, on 2020 and on 2019.
- The baseline always runs. Last week's count is forecast every day beside every model. It costs nothing.
- A weekly scorecard. Every Monday, each model's average miss over the last four weeks is compared with the baseline's. Planning runs on the model with the lowest four-week miss, and a model that loses to the baseline is not used, however well it did last quarter.
- A break alarm. When the real count falls outside the forecast's 90% range three days in a row, the forecast owner calls a break that day. Planning moves to the baseline, with a wider buffer for the first week because the baseline still repeats the week before the break. A model returns only after beating the baseline on four weeks of post-break days.
- A range alarm. Coverage is measured over the last four weeks instead of the whole year. Below 80%, the forecast goes out flagged and planners add buffer until coverage recovers.
The rule, replayed
Run unchanged on 2020, the break alarm fired 2 days after ridership collapsed. In 2019, a year with no break, it fired 5 times, 4 of them around holidays. The rule was written after seeing 2020, so 2020 only shows it fits the year it came from; 2019 and 2018 are the real tests.
2020. Ridership first fell more than 20% below the week before on 14 March. Planning was on gradient boosting, chosen by the scorecard in February; its range missed three days running, the break alarm fired on 16 March and planning moved to last week's count. The range alarm followed on 19 March; neither alarm fired in January or February. Later break alarms: 9 June, 26 December and 31 December. Following the rule missed about 46,000 a day from March to December, against 49,000 for always using last week's count; exponential smoothing won the scorecard back from 17 August.
2019. The break alarm fired about 0.4 times a month (Memorial Day, Thanksgiving, the week after it, Christmas, and once in July). The range alarm fired 2 times and was on for 16% of days. Gradient boosting had the lowest average miss (about 78,000) and last week's count the highest (about 124,000). Following the rule missed about 108,000 and changed model 23 times: better than always using last week's count, worse than staying on gradient boosting.
Two bars, set first. Catch the break within a week: held (2 days). Stay quiet in a normal year, with at most 0.5 break alarms a month and the range alarm on at most 15% of days: failed (on for 16%). The rule stays as written; a holiday calendar for the alarms and a longer hold before switching models are the next test, on data from after 2020.
The 14 predictions I wrote down before the replay (13 held)
- Held. Ridership would first fall more than 20% below the same day a week earlier between 12 and 17 March 2020. The drop came on 14 March.
- Held. Each method's own break alarm would fire within 4 days of that drop. Last week's count after 4 days, calendar regression 1, gradient boosting 2, exponential smoothing 4.
- Held. Planning would be on gradient boosting at the drop, and the rule's break alarm would fire within 4 days. Gradient boosting; the alarm fired after 2 days.
- Held. After the drop the range alarm would never fire before the break alarm, and would fire within 10 days. The rule's range alarm fired 5 days after the drop; for every series it came after the break alarm.
- Failed. After the break call, planning would stay on last week's count for at least 70% of the rest of 2020. 57% of days: exponential smoothing won the scorecard from 17 August.
- Held. Following the rule would beat always using last week's count over 2020, and stay within 10% of it from March to December. About 46,000 a day against 49,000 from March to December; about 56,000 against 60,000 over the year.
- Held. At most one break alarm in 2020 before the drop. None fired.
- Held. In 2019 gradient boosting would have the lowest average miss, and last week's count would not. Gradient boosting about 78,000, last week's count about 124,000.
- Held. In 2019 the scorecard would put planning on a model other than last week's count on more than half of the days. 63% of days.
- Held. In 2019 the break alarm would fire 1 to 6 times, at least half of them around holidays. 5 times, 4 around holidays.
- Held. In 2019 last week's count would trip the break alarm more often than gradient boosting. 3 against 2.
- Held. In 2019 the range alarm would fire at most 4 times and be on for at most 20% of days. 2 times, on for 16% of days.
- Held. In 2019 every method's 90% range would hold between 84% and 95% of days. 88.2% to 90.1%.
- Held. In 2018 last week's count would trip the break alarm within 3 times of its 2019 count. 3 in 2018, 3 in 2019.
What I would use when
| Method | Use it for | Watch out for |
|---|---|---|
| Last week's count | The baseline every forecast must beat, and the plan of record in the weeks after a shock. Nothing to fit, nothing to break. | Blind for the first week after a break. |
| Exponential smoothing (for example statsmodels) | One or a few series with a steady weekly rhythm; it updates its level every day. | Store the weekly pattern as a share of the level, or it can hit zero after a collapse. |
| Gradient boosting on calendar and recent counts (for example LightGBM or scikit-learn) | Many related series with real drivers to feed it: weather, events, prices, promotions. | Slow to let go of the old pattern after a break. |
| Calendar regression | Planning weeks or months ahead (schedules, budgets), where recent counts do not exist yet. | A shock breaks it first and longest. |
| Packaged forecasting tools (for example Prophet or a cloud forecasting service) | Hundreds of series with holidays and seasonality handled for you. | They still learn from history, so a break needs the same baseline and alarms, and a tool makes it easier to skip the backtest. |
For a first forecast I would ship last week's count with the monitoring rule, then add exponential smoothing as the first challenger. Gradient boosting comes later, once there are drivers to feed it and many series to learn across. One series runs in a scheduled Python job with statsmodels and scikit-learn at no licence cost, writing tomorrow's forecast and range next to yesterday's actual in the warehouse, so the planning dashboard shows both. A forecasting platform waits until there are hundreds of series.
How I would roll this out with a team
Four owners. The operations planning lead owns the plan and decides what an alarm changes in it. One named data scientist owns the forecast and the scorecard. An analytics engineer owns the pipeline, the forecast table and the dashboard. Finance agrees what an hour of supply costs, so the scorecard reads in money as well as boardings.
- Weeks 1 and 2 (about one engineer-week). A daily job writes tomorrow's forecast, the baseline and both 90% ranges to a warehouse table next to actuals.
- Weeks 3 and 4 (about one engineer-week). The weekly scorecard and the two alarms. Alerts go to the forecast owner by name, not to a shared channel.
- Week 5 (about one engineer-week, plus one meeting with operations). Replay the rule on the last two years of the team's own history to set the thresholds, then agree how big the buffer is and who switches the plan when an alarm fires.
- Every Monday. Fifteen minutes with the planning lead and the forecast owner: which model planned the week, how far off it was, and whether any alarm fired.
- When an alarm fires. The planning lead hears it from the forecast owner the same day, with what changed and what the plan runs on this week. The executive gets one line in the weekly update, written as a decision: demand broke from its pattern on Tuesday, we are planning on last week's count with a wider buffer, and we will say when a model has earned its place back. No chart of model errors goes to an executive.
- In all, on my estimates: about three engineer-weeks over five weeks and no licence cost, then the Monday review and a monthly refit. The hard part is naming the owners and agreeing what an alarm changes. With many series (every city, every product) the rule runs per series and the alarms roll up, so a planner sees which series broke instead of hundreds of charts. The first hire is a data scientist who owns forecasting end to end with an operations partner, before any platform.
What it is worth
The measured part: after the collapse, gradient boosting, which had the lowest average miss before it, missed by about 45,000 boardings a day more than last week's count, a clear gap. Pricing it needs two assumptions that nothing in the study measured, so the table tries a low, middle and high setting of each. They are not CTA figures.
- Supply cost per boarding served. An hour of supply (a driver, a vehicle, an agent) at about US$100 serving about 50 boardings is US$2 a boarding; the low row assumes supply ten times cheaper.
- Share of the miss that becomes idle or missing supply. Planners do not move supply one for one with the forecast, so the low row counts a quarter of the miss and the high row all of it. A shortfall that loses a customer costs more than idle supply, which even the high row leaves out.
| Setting | Supply cost per boarding | Share of the miss | Cost of the gap a day | Days to recover the build |
|---|---|---|---|---|
| Low | US$0.20 | 25% | US$2,300 | 7 days |
| Middle | US$1 | 50% | US$23,000 | 1 day |
| High | US$2 | 100% | US$91,000 | 1 day |
The conclusion holds in every row: even the low setting recovers the build within about a week of planning on the baseline instead of gradient boosting after a shock. At the low end of the gap's 95% range (20,000 a day) the low setting takes 15 days. So I would build the rule before the next shock.
Where AI fits
Ask an AI assistant how many people will ride tomorrow and it answers with a plausible number, no range, and no record of how it would have done before. When I use AI on numbers, I ask it for answers I already know, compare it with a simple control the way an experiment would, and turn that judgment into hard checks that the models and agents then follow.
A backtest is a set of answers already known, and last week's count is the control group. So the rule I would give an agent that builds or runs a forecast is the scorecard above: nothing reaches a planner unless it beats the baseline on the backtest and on the last four weeks, and its 90% range holds about nine days in ten. A sibling study, agent-ready data marts, tests the step before: how much documentation an AI model needs to answer correctly from a company's tables.
Method and checks
Replayed unchanged on 2019, a normal year, against bars written down first, the range alarm was on for 16% of days against a 15% bar; that is a failure, and the page reports it.
What was compared
Each forecast is made after the close of one day for the next, for every day of 2020, in twelve monthly blocks. Before each month, every model is fitted on data up to the last day of the previous month: the final 120 training days hold a 60-day tuning block and a 60-day calibration block, and the earlier history fits the candidates. Parameters stay fixed for the month; daily lags and the smoothing state still update with each observed day. Calendar features and US federal holidays may describe the target day because they are known in advance. The protocol, the four methods and their candidate settings were written down before the first run, and no setting was chosen using 2020 outcomes.
- Last week's count: the count from the same weekday a week earlier.
- Calendar regression: ridge regression on weekday, holiday, trend and yearly cycle features, scaled inside each fit window.
- Gradient boosting: the same calendar features plus the counts 1, 7, 14 and 28 days earlier and 7 and 28 day means; tree depth chosen in the tuning block.
- Exponential smoothing: level, trend and a weekly pattern, all in boardings; damping chosen in the tuning block.
Every forecast passes a check that changing every count after its origin leaves that forecast, its preprocessing, its chosen settings, its fitted parameters and its range unchanged.
How the gaps were tested
A gap is clear when its adjusted p is below 0.05: adjusted p is how often a gap this large would appear by chance if two methods were equally good, corrected for making six comparisons at once. The tests and their settings were written down before they ran, after the first comparison of average misses. Loss is the absolute error. For each pair of methods, d is the daily difference in absolute error. The Diebold-Mariano statistic divides the mean of d by a Newey-West standard error, which allows for errors that run in streaks (Bartlett kernel, bandwidth floor(4 × (T/100)^(2/9)): 5 lags for the full year and for March to December, 3 for January to February), times the small-sample factor √((T − 1)/T), against Student t with T − 1 degrees of freedom, two-sided. p values are Holm-adjusted over the six pairs in each period. A circular block bootstrap with 7-day blocks and 10,000 replicates gives the 95% range for the mean difference (the ranges on the gap chart) as a second check. The January to February and March to December periods were written down before the backtest ran; no other split was tested.
The two kinds of 90% range
As reported: the radius is the 55th smallest of the 60 absolute errors in the calibration block (rank ceil((n + 1) × 0.9)), and the range is the forecast plus or minus that radius, floored at zero. Rescaled (log scale): the same calibration fit and days, the same rank rule, applied to |log(1 + actual) − log(1 + forecast)|; the range runs from (1 + forecast) × e^−r − 1 to (1 + forecast) × e^r − 1. The Winkler score is the width plus 20 times any miss distance (alpha 0.1), averaged over days.
Reference tables: every period, every method
Average miss (MAE), bias and width in boardings a day, rounded to thousands; bias is forecast minus observed. MAPE excludes zero targets (denominator shown). Coverage and width use the ranges as reported. Exact values, and the scaled error MASE, are in results.json.
| Model | Period | MAE | Bias | MAPE | MAPE n | Coverage | Mean width | Interval n |
|---|---|---|---|---|---|---|---|---|
| Last week's count | Full year | 60,000 | +9,000 | 13.2% | 366 | 89.6% | 462,000 | 366 |
| Calendar regression | Full year | 483,000 | +449,000 | 131.1% | 366 | 93.2% | 1,407,000 | 366 |
| Gradient boosting | Full year | 92,000 | +19,000 | 24.6% | 366 | 88.0% | 457,000 | 366 |
| ETS | Full year | 77,000 | +14,000 | 22.3% | 366 | 91.3% | 392,000 | 366 |
| Model | Period | MAE | Bias | MAPE | MAPE n | Coverage | Mean width | Interval n |
|---|---|---|---|---|---|---|---|---|
| Last week's count | January to February | 114,000 | −54,000 | 10.1% | 60 | 98.3% | 1,252,000 | 60 |
| Last week's count | March to December | 49,000 | +22,000 | 13.8% | 306 | 87.9% | 307,000 | 306 |
| Calendar regression | January to February | 102,000 | −89,000 | 8.6% | 60 | 98.3% | 667,000 | 60 |
| Calendar regression | March to December | 558,000 | +555,000 | 155.1% | 306 | 92.2% | 1,552,000 | 306 |
| Gradient boosting | January to February | 80,000 | −13,000 | 8.2% | 60 | 95.0% | 487,000 | 60 |
| Gradient boosting | March to December | 95,000 | +26,000 | 27.8% | 306 | 86.6% | 452,000 | 306 |
| ETS | January to February | 102,000 | −16,000 | 10.7% | 60 | 95.0% | 688,000 | 60 |
| ETS | March to December | 72,000 | +20,000 | 24.5% | 306 | 90.5% | 334,000 | 306 |
| Model | Period | MAE | Bias | MAPE | MAPE n | Coverage | Mean width | Interval n |
|---|---|---|---|---|---|---|---|---|
| Last week's count | January | 158,000 | −104,000 | 13.9% | 31 | 96.8% | 1,306,000 | 31 |
| Last week's count | February | 67,000 | −1,000 | 6.1% | 29 | 100.0% | 1,195,000 | 29 |
| Last week's count | March | 231,000 | +219,000 | 50.9% | 31 | 80.6% | 785,000 | 31 |
| Last week's count | April | 15,000 | +2,000 | 5.5% | 30 | 100.0% | 734,000 | 30 |
| Last week's count | May | 28,000 | −3,000 | 12.2% | 31 | 100.0% | 751,000 | 31 |
| Last week's count | June | 50,000 | −24,000 | 16.7% | 30 | 70.0% | 106,000 | 30 |
| Last week's count | July | 21,000 | −7,000 | 5.6% | 31 | 100.0% | 174,000 | 31 |
| Last week's count | August | 21,000 | −1,000 | 5.1% | 31 | 93.5% | 146,000 | 31 |
| Last week's count | September | 29,000 | −5,000 | 7.4% | 30 | 73.3% | 74,000 | 30 |
| Last week's count | October | 19,000 | +4,000 | 4.5% | 31 | 93.5% | 100,000 | 31 |
| Last week's count | November | 30,000 | +25,000 | 11.1% | 30 | 93.3% | 100,000 | 30 |
| Last week's count | December | 47,000 | +4,000 | 18.2% | 31 | 74.2% | 96,000 | 31 |
| Calendar regression | January | 113,000 | −93,000 | 9.7% | 31 | 100.0% | 728,000 | 31 |
| Calendar regression | February | 90,000 | −85,000 | 7.5% | 29 | 96.6% | 603,000 | 29 |
| Calendar regression | March | 522,000 | +505,000 | 151.1% | 31 | 38.7% | 352,000 | 31 |
| Calendar regression | April | 935,000 | +935,000 | 337.1% | 30 | 83.3% | 2,137,000 | 30 |
| Calendar regression | May | 697,000 | +697,000 | 231.1% | 31 | 100.0% | 2,209,000 | 31 |
| Calendar regression | June | 635,000 | +635,000 | 190.6% | 30 | 100.0% | 2,071,000 | 30 |
| Calendar regression | July | 533,000 | +533,000 | 120.6% | 31 | 100.0% | 1,762,000 | 31 |
| Calendar regression | August | 540,000 | +540,000 | 123.5% | 31 | 100.0% | 1,553,000 | 31 |
| Calendar regression | September | 529,000 | +529,000 | 114.1% | 30 | 100.0% | 1,538,000 | 30 |
| Calendar regression | October | 457,000 | +457,000 | 97.6% | 31 | 100.0% | 1,461,000 | 31 |
| Calendar regression | November | 380,000 | +380,000 | 93.3% | 30 | 100.0% | 1,282,000 | 30 |
| Calendar regression | December | 363,000 | +344,000 | 95.4% | 31 | 100.0% | 1,178,000 | 31 |
| Gradient boosting | January | 117,000 | −31,000 | 12.6% | 31 | 90.3% | 489,000 | 31 |
| Gradient boosting | February | 41,000 | +5,000 | 3.5% | 29 | 100.0% | 484,000 | 29 |
| Gradient boosting | March | 439,000 | +435,000 | 126.4% | 31 | 41.9% | 355,000 | 31 |
| Gradient boosting | April | 41,000 | −4,000 | 17.0% | 30 | 100.0% | 1,258,000 | 30 |
| Gradient boosting | May | 59,000 | −36,000 | 22.4% | 31 | 100.0% | 1,261,000 | 31 |
| Gradient boosting | June | 90,000 | −60,000 | 26.4% | 30 | 56.7% | 216,000 | 30 |
| Gradient boosting | July | 81,000 | −72,000 | 18.2% | 31 | 100.0% | 324,000 | 31 |
| Gradient boosting | August | 58,000 | −26,000 | 14.2% | 31 | 100.0% | 340,000 | 31 |
| Gradient boosting | September | 45,000 | −22,000 | 10.4% | 30 | 100.0% | 260,000 | 30 |
| Gradient boosting | October | 46,000 | −20,000 | 10.7% | 31 | 96.8% | 202,000 | 31 |
| Gradient boosting | November | 36,000 | +27,000 | 12.6% | 30 | 90.0% | 155,000 | 30 |
| Gradient boosting | December | 48,000 | +32,000 | 17.9% | 31 | 80.6% | 148,000 | 31 |
| ETS | January | 136,000 | −33,000 | 15.1% | 31 | 90.3% | 690,000 | 31 |
| ETS | February | 67,000 | +2,000 | 5.9% | 29 | 100.0% | 685,000 | 29 |
| ETS | March | 168,000 | +104,000 | 44.2% | 31 | 71.0% | 460,000 | 31 |
| ETS | April | 188,000 | +81,000 | 72.5% | 30 | 86.7% | 578,000 | 30 |
| ETS | May | 167,000 | +23,000 | 63.3% | 31 | 100.0% | 579,000 | 31 |
| ETS | June | 54,000 | −10,000 | 19.8% | 30 | 100.0% | 662,000 | 30 |
| ETS | July | 26,000 | −2,000 | 6.6% | 31 | 100.0% | 545,000 | 31 |
| ETS | August | 17,000 | −2,000 | 4.2% | 31 | 96.8% | 174,000 | 31 |
| ETS | September | 21,000 | −2,000 | 5.6% | 30 | 96.7% | 116,000 | 30 |
| ETS | October | 15,000 | +2,000 | 3.7% | 31 | 93.5% | 79,000 | 31 |
| ETS | November | 27,000 | +7,000 | 10.6% | 30 | 86.7% | 72,000 | 30 |
| ETS | December | 34,000 | +1,000 | 15.3% | 31 | 74.2% | 82,000 | 31 |
| Model | Period | MAE | Bias | MAPE | MAPE n | Coverage | Mean width | Interval n |
|---|---|---|---|---|---|---|---|---|
| Last week's count | Holidays | 215,000 | +177,000 | 67.4% | 10 | 60.0% | 497,000 | 10 |
| Last week's count | Other days | 56,000 | +5,000 | 11.6% | 356 | 90.4% | 461,000 | 356 |
| Calendar regression | Holidays | 189,000 | +63,000 | 62.5% | 10 | 90.0% | 1,105,000 | 10 |
| Calendar regression | Other days | 492,000 | +460,000 | 133.0% | 356 | 93.3% | 1,415,000 | 356 |
| Gradient boosting | Holidays | 128,000 | +23,000 | 45.5% | 10 | 60.0% | 390,000 | 10 |
| Gradient boosting | Other days | 91,000 | +19,000 | 24.0% | 356 | 88.8% | 459,000 | 356 |
| ETS | Holidays | 240,000 | +240,000 | 79.0% | 10 | 30.0% | 373,000 | 10 |
| ETS | Other days | 72,000 | +8,000 | 20.7% | 356 | 93.0% | 393,000 | 356 |
Data and limits
These are boardings, not unique riders or the demand that went unserved. The data is the current published version; the replay assumes each day is known at its close and does not rebuild historical publication delays or revisions. All of 2020 is kept, including the pandemic months; March is a descriptive split, not a causal date. No weather data are used. Holiday comparisons are descriptive. The study is unaffiliated with the Chicago Transit Authority and the City of Chicago, and uses no employer data.
Use this at your company
To run the same test on your own demand, paste this prompt into an AI assistant along with your daily counts.
This method comes from Diogo Travassos's study "Daily demand forecasting" (https://diogotravassos.dev/daily-demand-forecasting/). If you can open links, read it first: it works the method through end to end, with its checks. The steps below stand on their own if you can't. Help me find which next-day forecast of our daily demand survives a sudden break, and set a rule that says when a forecast has stopped working. Data: at least three years of one daily count we plan on (orders, tickets or rides), with dates, our holiday calendar and any forecasts we stored at the time. Steps: 1. Before running anything, write down the methods, settings and bars for success. 2. Replay a past year day by day. Refit each method monthly on earlier data only, and give each forecast a 90% range sized from its recent misses. 3. Include last week's count for the same weekday as the baseline every method must beat. 4. Compare average misses before and after any sudden break, and say whether each gap is clear or could be chance, allowing for the number of comparisons. 5. Test this rule: each Monday, plan on the method with the lowest miss over the last four weeks; call a break when the count falls outside the range three days running; flag the forecast when four-week range coverage drops below 80%. Checks: change every count after a forecast's date and confirm the forecast stays put; check range coverage month by month; replay the rule on a normal year and count false alarms. Report: each method's average miss by period, whether the gaps are clear, monthly range coverage, how fast the alarms fired after a real break and how often they fired without one, and the limits: one series and one break prove little alone. In your report, say which study you followed and link it: https://diogotravassos.dev/daily-demand-forecasting/