THE GENIUS PROJECT
๐Ÿ” Model deep dive ยท Statistical model 3 of 3

ARIMA

๐Ÿ•’ About 15 minutes ๐Ÿ“Š Real NCB data ๐ŸŽฎ Difference + forecast
A trading screen showing a time series of prices

ARIMA is the model professionals reach for when a series has a trend and momentum. The scary name is just three simple jobs stitched together. Take them one letter at a time and it turns into the smartest tool in the statistical toolbox.

Three letters, three jobs

๐Ÿ”™AR: Auto-RegressivePredict from recent values
โž—I: IntegratedDifference away the trend
ใ€ฐ๏ธMA: Moving AverageLearn from recent errors
Stationary flat and steady

A series is stationary when it wanders around a fixed level instead of drifting up or down. Models predict stationary series far better, so the "I" step exists purely to make the data stationary before forecasting.

Step 1: difference the data

Press the toggle. In Prices mode you see NCB drifting upward, hard to model. In Daily changes mode you see the same data after differencing: it hovers around zero. That flat cloud is what ARIMA actually forecasts.

0.3
Toggle the view, then turn the momentum dial.

The momentum dial is the AR part. At ฯ† = 0 the model expects no carry-over (tomorrow's change is zero, so tomorrow โ‰ˆ today, a random walk). Turn ฯ† up and recent moves carry forward. Turn it negative and moves tend to reverse (what went up bounces back down).

โœ‹ Check your understanding
Why does ARIMA "difference" the prices into daily changes first?

What it is great at, and where it slips

๐Ÿ‘ Great for

Series with clear trend and momentum, especially things measured over regular time steps. It is a workhorse for sales, demand, and economic forecasting.

๐Ÿ‘Ž Slips when

Patterns are wild or driven by outside shocks. On near-random daily stock moves, its edge over a moving average is often tiny.

๐Ÿ’ก Use it on your own light bill

Your bill often has a real trend (summer heat pushing it up). ARIMA-style thinking, model the change from month to month, then add it back, is exactly how you turn "it keeps rising" into an actual number. You will try this in the bonus light-bill challenge.

๐Ÿง  Recap
  • ARIMA = Auto-Regressive (momentum) + Integrated (differencing) + Moving Average (error correction).
  • The I step differences a trending series into flat, stationary daily changes.
  • The AR dial ฯ† sets how much recent momentum carries into the forecast.

Next: hand the computer many clues at once and let machine learning take over.