Skip to content

Statistical Forecasting for Demand Planning: A Primer

By Newtown Analytics · · 8 min read

For ops, supply chain & planning leaders

Statistical forecasting is the use of mathematical models on historical data to project future demand, and it is the objective starting point of every sound demand plan. This guide is part of demand planning and inventory optimization, follows demand planning KPIs and what a demand planner does, and leads to consensus demand planning and demand sensing. It does not predict the future by magic. It finds the patterns in what has already happened, such as level, trend and seasonality, and extends them forward, with an honest measure of how wrong the projection tends to be. For a consumer product company with hundreds or thousands of items, a statistical baseline does what no planner can do by hand: it produces a consistent, unbiased first view of every item every cycle, so that human attention can go where judgment adds value. This primer explains the main families of methods in plain language, shows worked examples of moving averages, exponential smoothing and seasonal indices with checked arithmetic, describes how to segment items so each gets a suitable method, how to test accuracy honestly and when to override the model. Forecasting methods used in finance are compared in financial forecasting, and the baseline supports cash flow management.

What a statistical forecast can and cannot do

A statistical model assumes that the future will resemble the past in a structured way. It is strong at stable, repeating patterns: steady sellers, regular seasonality, gradual growth or decline. It is weak at anything the history has not seen: a first-ever promotion, a new competitor, a supply disruption, a new customer. That is why the best processes use the model for the baseline and people for the events. A good baseline is not meant to be right every time. It is meant to be unbiased and to give a fair starting point, with a measured error that tells you how much safety stock you need.

The building blocks of demand patterns

Most demand history can be understood as a combination of four components. Level is the typical volume. Trend is a sustained rise or fall. Seasonality is a pattern that repeats at a fixed interval, such as a holiday peak. Noise is the random variation left over. Forecasting methods differ in which components they capture and how quickly they adapt. A method that ignores seasonality will under-forecast every peak and over-forecast every trough. A method that reacts too quickly to noise will chase last month's fluke.

The main families of methods

Naive and seasonal naive. The forecast equals the last period's value, or the value from the same period last year. They are the benchmarks every other method must beat. They are surprisingly hard to beat for some items.

Moving average. The forecast is the average of the last several periods. It smooths noise but lags trends.

Exponential smoothing. The forecast weights recent data more than older data, with weights that fall off geometrically. Extensions add trend and seasonal components. This family is the workhorse of demand planning.

Regression and causal models. Demand is explained by drivers such as price, promotion, weather or economic indicators. They are valuable when drivers are known and measured, and they require more data and care.

Intermittent demand methods. For items that sell rarely, with many zero periods, specialized methods forecast both the size and the timing of demand separately.

Machine learning models. Flexible models that can use many drivers across many items. They can improve accuracy where data is rich, at a cost in complexity. See machine learning for forecasting.

Worked example: moving average and exponential smoothing

Take five weeks of demand for one item: 100, 104, 98, 110 and 107 units (illustrative).

A three-period moving average forecasts the next week as the average of the last three: (98 + 110 + 107) / 3 = 315 / 3 = 105 units.

Simple exponential smoothing with a smoothing weight (alpha) of 0.3 keeps a running level. Start at 100, then update each week as 0.3 × the new value + 0.7 × the previous level:

  • After 104: 0.3 × 104 + 0.7 × 100 = 31.2 + 70 = 101.2
  • After 98: 0.3 × 98 + 0.7 × 101.2 = 29.4 + 70.84 = 100.24
  • After 110: 0.3 × 110 + 0.7 × 100.24 = 33 + 70.168 = 103.168
  • After 107: 0.3 × 107 + 0.7 × 103.168 = 32.1 + 72.2176 = 104.3176

The forecast is about 104.3 units. The two methods give similar answers on this stable series. They would diverge on a series with a trend, where the moving average lags and a trend-aware smoothing method keeps up. A higher alpha reacts faster and a lower alpha smooths more. Excel and most planning software choose the parameters automatically by fitting the history. See statistical forecasting in Excel.

Worked example: seasonal indices

Seasonality is handled by estimating how much each period typically differs from the average. Suppose quarterly sales over two years are: year 1: 150, 200, 250, 300; year 2: 165, 220, 275, 330 (illustrative). The yearly averages are 225 and 247.5, so year 2 grew 10 percent. The quarterly averages across the two years are Q1: 157.5, Q2: 210, Q3: 262.5, Q4: 315. The grand mean of all eight quarters is 236.25. The seasonal index for each quarter is its average divided by the grand mean:

  • Q1: 157.5 / 236.25 = 0.667
  • Q2: 210 / 236.25 = 0.889
  • Q3: 262.5 / 236.25 = 1.111
  • Q4: 315 / 236.25 = 1.333

The indices add to 4.0, as they should for four quarters. If year 3 is expected to average 247.5 × 1.1 = 272.25 per quarter, the forecasts are 272.25 times each index: 181.5, 242.0, 302.5 and 363.0. Check: 272.25 × 2/3 = 181.5, 272.25 × 8/9 = 242, 272.25 × 10/9 = 302.5, 272.25 × 4/3 = 363, and the four add to 1,089, which equals 4 × 272.25. Real methods estimate level, trend and seasonality together and update them each period, but the logic is the same.

Intermittent demand

Items that sell in occasional bursts defeat ordinary methods. Consider ten weeks of demand: 0, 0, 5, 0, 0, 0, 4, 0, 0, 6. There are three demand events in ten weeks, so the average interval between demands is 10 / 3 = 3.33 weeks, and the average size of a demand is (5 + 4 + 6) / 3 = 5 units. The average rate is 5 / 3.33 = 1.5 units a week, which equals the total of 15 units over 10 weeks. A method designed for intermittent demand tracks size and interval separately, which prevents the forecast from jumping up after every sale and sagging between them. For these items, the planning question is less about the weekly number and more about how much stock to hold against a lumpy pattern, which is a safety stock question. See safety stock formula.

Segment before you forecast

One method cannot suit every item. A common approach is to classify by value (ABC) and by variability (stable, variable, intermittent). Stable, high-volume items get seasonal smoothing with automatic selection. Variable, high-value items get closer attention and often a driver-based adjustment. Intermittent items get intermittent methods, with inventory policy as the main lever. New items get analogs. Segmentation focuses scarce human time and prevents using a sophisticated model where a simple one works. See ABC analysis.

Test before you trust

The only honest test of a forecasting method is how it performs on data it has not seen. Hold out the most recent periods, fit on earlier data and compare the forecast with the held-out actuals. Compare against a naive benchmark. A method that cannot beat last year's same month is not adding value. Measure accuracy and bias with a weighted measure that suits your portfolio. See forecast accuracy metrics. Be careful not to tune a model to the test period until it looks good, which is overfitting. Use rolling tests across several windows where possible.

Uncertainty: the forecast is a range

A point forecast hides how uncertain it is. Good practice is to estimate the typical forecast error for each item or segment, from the history of errors, and use it to set safety stock and to flag unusual results. If a stable item's forecast error has a standard deviation of 60 units over the lead time and the service target requires a safety factor of 1.65 (about 95 percent in-cycle service), then the safety stock is about 1.65 × 60 = 99 units. Notice that safety stock is driven by forecast error, not by the forecast itself. Reducing error is therefore worth money, which is the link between forecasting and inventory.

When to override the model

Override when you know something the model cannot: a confirmed promotion, a price change, a new listing, a delisting, a supply disruption that has artificially limited sales. Do not override because the number feels low or because a target says otherwise. Record every override with a reason, size and owner, and review them later. If overrides in a category consistently make the forecast worse, stop making them. See forecast value added.

Cleaning history

Statistical forecasts are only as good as the history. Replace periods when stock was unavailable with estimates of true demand. Adjust or remove one-time bulk orders. Account for promotions in the history, so the model does not treat a promotional spike as a seasonal peak. Flag product transitions, where one item replaced another. A planner who spends an hour cleaning history before modeling often improves accuracy more than one who spends the hour tuning parameters.

Hierarchies and reconciliation

Forecasts can be built at several levels: total, category, family, item and location. The levels should add up. A common pattern forecasts at the level where the signal is strongest, then allocates down using recent mix, then checks bottom-up sums against the top. Reconciliation avoids a situation in which the item forecasts add to a total that differs from the category forecast the finance team has approved.

Common mistakes

  1. Using one method for every item.
  2. Skipping the naive benchmark.
  3. Training and testing on the same data.
  4. Ignoring stockouts in the history.
  5. Over-tuning parameters to last year.
  6. Overriding without records.
  7. Reporting a single number with no sense of error.

FAQs

What is statistical forecasting?

It is the use of mathematical models on historical data to project future demand, capturing patterns such as level, trend and seasonality.

Which statistical method is best for demand planning?

None is best for all items. Exponential smoothing with seasonality works well for stable items, intermittent methods for sporadic items and analogs for new products. Test against a naive benchmark.

How much history do I need?

For seasonal items, at least two full cycles, and three or more is better. For stable non-seasonal items, a year or less can be enough.

Is machine learning better than statistical methods?

Not always. It can help with many drivers and large item counts, but simple methods are often as accurate and easier to explain. Test both.

How do I know if my forecast is good?

Compare accuracy and bias on a holdout against a naive forecast, at the level where decisions are made.

This article is for general information. It is not accounting, tax, legal or investment advice, and examples use illustrative numbers rather than client data. Confirm decisions that carry financial or legal consequences with a qualified professional.

Better forecasts. Healthier inventory. More working capital.

Newtown Analytics advises growing consumer-product companies on demand planning and inventory optimization.