Decision Atlas
DEMDemandStop 8 of 12
  1. Forecasting fundamentals
  2. Demand patterns & classification
  3. Exponential smoothing & ETS
  4. Intermittent demand: Croston, SBA, TSB
  5. ML & global forecasting models
  6. Forecast accuracy & bias
  7. Probabilistic forecasting
  8. Hierarchical forecasting
  9. Promotions, cannibalization & halo
  10. New products & phase-outs
  11. Demand sensing & shaping
  12. Consensus forecasting & FVA

Hierarchical forecasting

Making forecasts for SKUs, regions and the total add up: bottom-up, top-down, middle-out and optimal reconciliation.

3 min gist, 9 min in full Draft, review pending

Read atChange any time

Different teams need different levels, and the numbers must agree.

Different people need the forecast at different levels. A warehouse planner needs SKU by location by week. A regional sales head needs region by month. Finance needs the national total by quarter. If each level is forecast separately, the numbers won’t add up: SKUs might sum to 9,500 while the national forecast says 10,000. Forecasts that add up across the hierarchy are called coherent.

There are four main ways to get there:

  • Bottom-up: forecast every SKU and add them up. It keeps local detail, but SKU-level data is noisy, so the totals can drift.
  • Top-down: forecast the total, which is smoother and easier to predict, then split it down using historical proportions. It’s stable but loses local patterns, such as one region growing faster than others.
  • Middle-out: forecast at a middle level, say product family by region, then aggregate up and split down from there.
  • Reconciliation (for example MinT): forecast every level, then adjust all of them together into a coherent set, trusting each level according to how reliable its forecasts have been. Done well, this can be more accurate than any single level on its own.

The hierarchy usually runs in several directions at once: product (category, brand, SKU), geography (country, region, warehouse) and time (week, month, quarter).

Words to use

Coherent forecasts
Forecasts that add up correctly across every level of the hierarchy.
Middle-out
Forecast at a middle level, then aggregate upwards and disaggregate downwards.
MinT reconciliation
Adjusts forecasts at all levels jointly, weighting by their error structure.

Bottom-up, top-down and reconciliation worked through on a three-SKU example.

The example

Three SKUs of a shampoo brand. Forecasting each SKU and the brand total separately gives numbers that don’t add up:

SKU ASKU BSKU CSum of SKUsBrand total forecast
Base forecasts5,0003,0001,5009,50010,000

Bottom-up: keep the SKU forecasts and set the total to 9,500. Simple and detailed, but it ignores the total forecast, which is often the more reliable one.

Top-down: keep the total of 10,000 and split it by historical shares. If A, B and C historically sold 50%, 30% and 20%, they become 5,000, 3,000 and 2,000. C jumps from 1,500 to 2,000, losing the information that C has been declining.

Shares can be chosen several ways: the average of historical proportions, the proportion of historical averages, or shares taken from the lower-level forecasts themselves (forecast proportions), which keep recent shifts in the mix.

Reconciliation

Reconciliation forecasts every level, then adjusts all the forecasts together, as little as possible, until they add up. The simplest version (OLS reconciliation) spreads the gap equally across every node of the hierarchy. Here the gap is 10,000 − 9,500 = 500 across four nodes (three SKUs and the total), so each moves by 125: the SKUs up and the total down.

SKU ASKU BSKU CTotal
Reconciled5,1253,1251,6259,875

The numbers now add up, and every level’s information has been used. MinT (minimum trace) does the same but weights the adjustments by how reliable each forecast has been: if the brand total has historically been much more accurate, it moves less and the SKUs absorb more of the gap.

Choosing an approach

  • A strong, stable signal at the bottom: bottom-up.
  • A noisy bottom with a stable mix: top-down or middle-out.
  • Data and tools available: reconcile, which often improves accuracy at every level.

Grouped and temporal hierarchies, why reconciliation helps, problems at scale, and one-number planning.

Hierarchies in several directions

Real hierarchies are grouped: the same sales add up by product (SKU, brand, category), by geography (store, region, country) and by channel, and every path must agree. Temporal hierarchies add time: weekly forecasts should add up to the monthly and quarterly ones. Reconciling across time can improve accuracy too, because annual patterns are clearer in monthly data and short-term shifts are clearer in weekly data.

Why reconciliation can improve accuracy

Each level sees the data differently: the total is smooth and shows trend and seasonality clearly, while the bottom shows mix shifts and local events. Reconciliation combines these views, much as averaging several forecasts beats picking one. The MinT approach (Wickramasuriya, Athanasopoulos and Hyndman, 2019) chooses the combination that minimizes the total variance of the reconciled forecast errors, given how the base forecast errors vary and move together.

Practical problems at scale

  • Size: SKU × store × day can mean millions of bottom-level series, so full reconciliation needs efficient methods or a reduced hierarchy.
  • Negative forecasts: adjustments can push small items below zero; constrained methods prevent this.
  • Intermittent bottoms: at SKU-store-day level most values are zero, so forecasting higher up and splitting down is often more stable.
  • Manual changes: when sales changes a regional total, the system must push that change down consistently. Planning tools do this with disaggregation rules, proportional to forecast, history or another key.

One number, many views

Reconciled forecasts are the basis of “one number” planning. Finance’s revenue view, sales’ customer view and supply’s SKU-location view all come from the same coherent set, converted into units, value or capacity as needed. Sales and operations planning can then work at family level for volume and at SKU level for mix, without the two drifting apart.

Interview kit

Practise it out loud

Answer each question yourself before opening the model answer.

Say it in 30 seconds

Different functions need the forecast at different levels, and those numbers must add up. Bottom-up keeps local detail but inherits SKU noise; top-down is stable but loses local patterns; middle-out balances the two. Modern practice forecasts all levels and reconciles them, for example with MinT, which often improves accuracy as well as giving every team consistent numbers.

When would you choose top-down over bottom-up?

When low-level data is sparse or noisy, such as many slow-moving SKUs, and the main patterns live at an aggregate level. Bottom-up suits cases where SKUs behave differently and have enough history. Many companies use middle-out as a compromise.

Why can reconciliation improve accuracy?

Each level contains information the others miss: aggregates are smoother, while low levels capture local changes. Reconciliation combines them in a statistically sensible way, so errors at one level can be corrected by information from another.

Connected stops

Where this idea feeds in, or gets its inputs from.

Sources and further reading

  1. Hyndman, R. J. & Athanasopoulos, G. Forecasting: Principles and Practice (3rd ed.). OTexts. Chapter on forecasting hierarchical and grouped time series.
  2. Wickramasuriya, S. L., Athanasopoulos, G. & Hyndman, R. J. (2019). Optimal forecast reconciliation for hierarchical and grouped time series through trace minimization. Journal of the American Statistical Association, 114(526), 804–819.
  3. Athanasopoulos, G., Hyndman, R. J., Kourentzes, N., & Petropoulos, F. (2017). Forecasting with temporal hierarchies. European Journal of Operational Research, 262(1), 60–74.

Reading settings

Saved on this device. Changes apply as you choose them.

Theme
Text size
Typeface for reading
Line spacing
Line length
Start each topic at

Deeper levels stay one click away whichever you choose.

Preview

Safety stock covers the surprises while you wait for a delivery. It grows with the square root of lead time, not with lead time itself.

Lines

↑ ↓ move ↵ open Topics marked “Soon” open their line