โ† Academy

Finance Data Analysis: From Data to Decisions

0% complete
๐Ÿ“Œ Reading as a guest. Create a free account to take quizzes and save your progress to your dashboard.
Forecasting & risk

Forecasting basics

Forecasting is predicting future values from past data, and finance runs on it: budgets, cash planning, demand. The guiding principle is to start simple and add complexity only when it measurably improves accuracy, because a forecast that is trusted and understood beats a slightly more accurate one nobody believes.

The moving average, computed

The simplest useful technique is the moving average, which smooths out random noise to reveal the underlying level. You average the last few periods. Suppose monthly sales are 100, 120, 90, 130, 110. A 3-month moving average for month 4 is the average of months 2, 3, 4: (120 + 90 + 130) / 3 = 113.3. For month 5 it is (90 + 130 + 110) / 3 = 110. Those smoothed numbers reveal the trend far more clearly than the jagged raw figures, which is exactly why analysts use them.

Trend and seasonality

Two more ideas. A linear trend simply extends a steady upward or downward direction into the future. Seasonality is a pattern that repeats on a fixed cycle, retail sales spike every December, gym sign-ups every January. To handle seasonality, compare like with like: this December to last December (a year-over-year comparison), not December to November, which would mislead. Most real forecasts combine an underlying trend with a seasonal pattern.

Validation: the rule that catches mistakes

Always test a forecast on data it has not seen, a holdout period. Build the model on past years, then check whether it predicts a year you deliberately held back. A model that fits history perfectly but fails on the holdout has merely memorised the past (called overfitting) and is useless for the future. A perfect fit to history is a warning sign, not a success.

Example. Build a sales model on 2023 to 2024 data, then test it against what actually happened in 2025, which you kept out. If it predicts 2025 well, trust it for 2026. If it predicts 2025 poorly despite fitting 2023 to 2024 perfectly, that is overfitting, simplify the model. The holdout year is your honest referee.
  • Start simple; add complexity only if it measurably helps.
  • A moving average smooths noise to reveal the trend.
  • Handle seasonality with year-over-year comparisons.
  • Validate on a holdout period; a perfect fit to history warns of overfitting.