Worked exercise · 90 minutes · synthetic data
Forecasting a demand series: from naive baseline to a stock decision
For MSc business analytics or final-year computing students. Build two baselines, make a chronological split, measure error properly, and turn the forecast and its error into a reorder quantity under a service level. Every number on the page is computed from a synthetic series generated in the page's own code.
Open the exercise →