Illustrative example: inventory forecasting for a distributor

In this hypothetical example, a distributor collects movements by item and date. It needs to distinguish sales, returns, adjustments and periods without stock. If an item did not sell because it was unavailable, treating that interval…

Aleix Pavón · 2026-01-22

An illustrative scenario explaining a possible application. It is not an identified client case and does not report results from a verified implementation.

This example connects sales, stock and supply lead times to compare forecasts with a simple baseline. Split training and evaluation by date, check missing data and measure out-of-sample error. Purchasing recommendations need stock, service and budget constraints; the responsible person validates decisions.

Prepare a series representing demand

In this hypothetical example, a distributor collects movements by item and date. It needs to distinguish sales, returns, adjustments and periods without stock. If an item did not sell because it was unavailable, treating that interval as zero demand distorts the comparison. Catalogue changes and exceptional orders should also remain identifiable rather than being removed as simple errors.

Compare before recommending purchases

Separate fitting and evaluation data chronologically. Compare the model with a simple forecast, such as repeating the most recent comparable period. Review error by product family and purchasing horizon: an overall average may hide failures on critical items. New or infrequently sold products need separate analysis because less historical information is available.

Replenishment also requires lead times, minimum quantities and a service policy. Test that policy using forecasts from different scenarios and record both shortages and excess inventory. Statistical improvement alone does not establish more profitable purchasing. Before using a recommendation, confirm current stock and units: confusing boxes with individual pieces can matter more than a small accuracy difference. Purchasing approval remains a separate business decision in this example.

Primary reference

Hyndman & Athanasopoulos · Evaluating forecast accuracy

This reference provides context on the method or its risks; it does not validate outcomes of Innovatec projects.

Innovatec can help turn the idea into an assessable scope, with acceptance criteria, documentation and practical handover for your team. A free 30-minute introductory conversation helps understand the need and assess the next step.