Project 1 · Seasonal baseline

Weekday-seasonal forecaster

A treasury team funds each day's payments before the day starts. Too low and they're short; too high and cash sits idle. This model forecasts daily volume 1–30 days ahead with one sentence: recent level × day-of-week effect × payday effect.

Explore the forecasts

A year of walk-forward forecasts (2025): at every day each model was refit on data up to that day only. Drag the slider under the chart to move through the year.

Horizon
Models
Jump to

Average error by horizon

Mean absolute error per day. Lower is better.

Required cash buffer

Extra cash held on top of the forecast to cover shortfalls on 95% of days.

Where each model goes wrong

Average error by weekday.

Results table

Why the simple model wins

How it works

  1. Weekday factors, last 12 weeks: each day divided by the average of the week around it, so growth and slow seasonal bumps cancel out.
  2. Payday factors, last year: the same idea for five day-of-month buckets (1–3, 4–13, 14–16, 17 to month end, last 3 days).
  3. The two are estimated in turn for three passes, because a payday on a Friday would otherwise inflate Friday.
  4. Level: the average of the last 28 days after removing both effects. Forecast = level × weekday factor × payday factor.

Data: one simulated series, $50M a day growing 15% a year, with known weekday, payday and December effects and 6% noise. The full method with formulas is in the methodology.