Business + Computing
Forecasts are inputs to decisions, not decisions themselves
Study map: Editorial bridge across business, computing, engineering and research pathways
A forecast estimates an uncertain outcome. A business decision also depends on consequences, constraints and what can be changed at the time of action.
This original chapter is an editorial bridge, not a supplied course. Continue through the Business × Computers learning path.
1. Define the decision horizon
A weekly purchasing decision needs information available before the order deadline. Define the item, store, interval and forecast horizon. A forecast for next month’s total sales may not support tomorrow’s replenishment for a particular product. Lead times change which future period matters. If a supplier takes ten days to deliver, a forecast about only the next day ignores the period the order must cover.
Distinguish demand from recorded sales. Sales can be limited by stock availability. A product that sells out early may appear to have low demand if the system records only completed transactions. Preserve availability information where possible and state the limitation when it is absent. The target definition is part of the business analysis, not a detail postponed until model training.
2. Inspect time structure and missingness
Plot the series and examine trend, recurring seasonal patterns, calendar effects and unusual changes. A missing observation is not automatically zero demand. A store closure, failed upload or missing price can have different implications. Document the meaning of corrections rather than silently filling all gaps with one method. Structural changes can make past data less representative, such as a new product, promotion or changed opening hours.
Aggregation can help reduce noise while concealing important local patterns. A chain-wide total might look stable while individual stores experience shortages. Match the analysis grain to the action. Keep a data dictionary and note whether timestamps represent the sale, recording or processing time. These distinctions matter when several systems deliver information on different schedules.
3. Establish a credible baseline and evaluation
Use a transparent baseline such as the last observed value, a recent average or the value from a comparable seasonal period. The baseline is an operational competitor, not an obstacle to sophisticated methods. It reveals whether additional complexity contributes useful improvement. Evaluate models on later periods that were not used to fit or select them.
Rolling evaluation repeatedly trains using past observations and evaluates a subsequent period. It can better reflect repeated forecasting practice than one convenient random split. Keep the forecast horizon and information availability consistent. Select error measures appropriate to the data and decision; percentage measures can behave poorly near zero. Inspect systematic bias and error differences across products, not just a single overall number. Explain uncertainty as well as central predictions.
4. An accurate average may imply the wrong order
Consider a deliberately small synthetic example. Demand is 20 units with probability 0.2, 30 with probability 0.5 and 40 with probability 0.3. Expected demand is 31. Suppose each unmet unit costs 8 and each surplus unit costs 2. These are simplified shortage and surplus penalties; the example is not a complete profit model.
Ordering 20 has expected cost 88: zero cost at demand 20, cost 80 at demand 30 and cost 160 at demand 40, weighted by their probabilities. Ordering 30 has expected cost 28: 20 at demand 20, zero at demand 30 and 80 at demand 40. Ordering 40 has expected cost 18: 40 at demand 20, 20 at demand 30 and zero at demand 40. Among these choices, 40 minimises expected penalty even though the mean demand is 31. The asymmetric consequences change the appropriate action.
5. Include constraints and sensitivity
The retailer may lack enough cash or shelf capacity to order the unconstrained preferred quantity. Supplier minimums, pack sizes, current stock, lead times and product shelf life may matter. Write these as explicit constraints. A decision that cannot be implemented is not a useful recommendation. Recalculate the comparison when shortage costs, surplus costs or scenario probabilities change.
Scenario analysis does not prove that the scenarios represent the future. Ask where the probabilities came from and how uncertain they are. Compare robust alternatives where the assumptions are weak. If the cost of a mistake is high, additional information or a smaller pilot may be worth acquiring. Your explanation should separate model uncertainty from the business judgement needed to use the result.
6. Learn from actual actions
Preserve the forecast, recommendation, actual order, human override and resulting outcome. Without that chain, it becomes difficult to determine why performance changed. An override can be helpful expertise or an inconsistent workaround; record the reason before evaluating it. Track stockouts, excess stock, service and cost alongside predictive error.
The included inventory lab enumerates the simplified scenarios so that you can inspect every calculation. Extend it by introducing starting stock, lead time or a budget limit. Then explain what your additions change. At research depth, investigate whether the new decision procedure improves outcomes using a credible evaluation design. This turns forecasting from a contest for the best score into a component of accountable business practice.
Study questions and answers
Why does the minimum-error forecast not necessarily produce the best inventory decision?
The action depends on asymmetric shortage/surplus costs, inventory, lead time and constraints. Predictive error and business loss are different objectives.
Extended practice questions
Distinguish a forecast from a plan using weekly demand.
A forecast estimates a future quantity under stated information and assumptions. A plan chooses what the organisation will do, including capacity, stock and response to uncertainty. A demand forecast of 100 units does not require producing exactly 100 when shortages, holding costs or service commitments matter. State the horizon and what the forecast includes, then examine feasible actions and scenarios. Computers can generate estimates, but managers must interpret uncertainty and consequences. Keep revisions traceable so a changed plan is not misrepresented as proof that the original forecast was accurate.
Marking guide: Estimate versus action; uncertainty/costs; horizon; traceable revisions. Indicative allocation: reasoning 4; application or workings 3; assumptions and limits 3.
Marks: 10
Actual demand is [100,120,80] and forecasts are [90,110,100]. Calculate mean absolute error and mean signed error using forecast minus actual.
Signed errors are minus ten, minus ten and plus twenty. Their mean is zero because opposite errors cancel. Absolute errors are ten, ten and twenty, so mean absolute error is forty divided by three, approximately 13.33 units. Zero mean signed error does not mean perfect forecasts. These measures describe the three stated periods and do not establish future performance or error costs. Check horizon, timing and whether forecasts were issued before actual values were known. A decision review should also consider the consequences of under- and overestimating demand.
Marking guide: Signed−10−10+20/zero; MAE13.33; cancellation; period/timing/cost. Indicative allocation: reasoning 4; application or workings 3; assumptions and limits 3.
Marks: 10
Critique evaluating forecasts after silently replacing earlier versions with revised estimates.
Replacing the issued forecast can make evaluation reflect later knowledge rather than the actual information available for the decision. Preserve the timestamp, horizon and version used by the planner, and evaluate that version against the defined outcome. A revision may improve the plan, but it should be recorded as a revision. Check whether data cleaning or period changes alter comparability. Forecasting software can keep versions, yet governance must specify which version counts. Honest evaluation needs a traceable record rather than the most favourable number available after the event.
Marking guide: Issuedversion/timestamp/horizon; revisions; comparability; governance; hindsight. Indicative allocation: reasoning 4; application or workings 3; assumptions and limits 3.
Marks: 10
Design research on forecast explanations and inventory decisions.
Compare planners receiving equivalent forecast values with and without explicit uncertainty and assumption explanations. Define decision quality through relevant shortage, holding and service outcomes under a specified scenario or suitable real study. Record experience and competing constraints. Observe whether explanations change actions appropriately or merely increase stated confidence. The contribution could identify when information about uncertainty improves planning. It should not treat a more cautious action as universally better or infer causal real-world benefits from a small simulation without representative conditions and follow-up evidence.
Marking guide: Equivalentinformation; uncertainty; outcomeconstraints; confidence/behaviour; simulationlimits. Indicative allocation: reasoning 4; application or workings 3; assumptions and limits 3.
Marks: 10
A monitored MAE exceeds10 and a manager demands immediate automatic retraining. What should happen first?
Treat the alert as a review signal. Verify that actuals and stored predictions use the same horizon, units, eligibility rule and outcome cutoff. Inspect errors by case and segment, and investigate data changes, unusual demand, stockouts or an instrumentation defect. Preserve the original forecasts rather than overwriting them with later outcomes. Management and operations decide the response with analytics. The threshold is an invented policy, not proof of statistical drift or a guarantee that retraining will improve decisions.
Marking guide: Review not proof;definition reconciliation;case investigation;preservation;response ownership.
Compare MAE with mean signed error under actual-minus-prediction.
MAE averages error magnitudes and cannot be negative. Mean signed error retains direction: a positive value indicates average underprediction under the stated convention. Positive and negative errors can cancel in the signed mean even when individual misses are large, so a value near zero does not establish accuracy. Report both alongside counts, horizon and case-level evidence. Neither statistic identifies the cause of a miss. A decision may require segment-specific service or inventory consequences that are not visible in an overall average.
Marking guide: Magnitude versus direction;cancellation;sign convention;decision and causal limits.
Actuals100,120,80 and forecasts90,100,90: calculate both errors and apply a strict MAE>10 alert.
Signed errors actual-minus-forecast are10,20,−10. Their total20 divided by3 gives mean signed error20/3≈6.667. Absolute errors10,20,10 sum to40, so MAE40/3≈13.333. The strict threshold flags review because13.333>10. If MAE were exactly10 the policy would not flag. The numbers share the supplied outcome unit. This is a deterministic classroom alert; it supplies neither a confidence interval nor evidence that a change in data distribution caused the errors.
Marking guide: Signed10/20/−10;means20/3 and40/3;strict boundary;units and limits.
Specify records and responsibilities needed for an auditable forecast review.
Retain case identifier, original prediction, creation time, intended horizon, model version and input version. Record the observed outcome, its cutoff and any later correction separately. Operations confirms outcome meaning; analytics verifies matching and metrics; the business owner approves thresholds and action. Log the alert, investigation, decision and review date. Define handling for missing outcomes and segment differences. Do not silently substitute corrected actuals into historical predictions. These records support accountability but still require a justified monitoring method and evidence that the chosen policy serves the business objective.
Marking guide: Prediction/outcome separation;versions/cutoffs;owners;alert closure;missingness.
Revision cards
Distinguish a forecast from a plan using weekly demand.
A forecast estimates next week’s demand at 100 units; the plan chooses stock and capacity after considering shortage costs, holding costs and feasible supply. The estimate informs the action without mechanically determining it.
Actual demand is [100,120,80] and forecasts are [90,110,100]. Calculate mean absolute error and mean signed error using forecast minus actual.
Mean signed error is zero but MAE is 13.33 units; cancelling errors do not make forecasts perfect.
Why evaluate forecasts using information available at the forecast origin?
Later information can make historical accuracy unrealistically good. Use a suitable time-ordered evaluation and preserve what was known when predicting. Compare against a baseline and examine changing conditions.
Why can a low average forecast error still be costly?
Errors may concentrate in high-value periods or have asymmetric stockout and surplus costs. Examine distribution and business consequences alongside an aggregate accuracy measure.
What distinguishes a forecast horizon from an observation window?
The horizon specifies how far ahead a prediction applies. The observation window describes the evidence used or the period measured. Compare forecasts at relevant horizons; short-horizon accuracy does not establish long-horizon usefulness.
Why should forecast errors be reviewed by business context?
Errors can concentrate in peak periods, unusual products or costly shortage cases. An overall average can hide that pattern. Inspect relevant groups and costs while retaining enough evidence to avoid unstable conclusions from tiny samples.
What should a forecast-monitoring response specify?
Define the signal, responsible reviewer, investigation and action options. Distinguish model error from changed demand or missing records. A monitoring chart supports decisions only when someone can interpret and respond to it.
Practice task
Run the inventory scenario lab, verify each expected cost by hand, change the cost ratio and add one practical constraint. Write a memo distinguishing the forecast, chosen action and limitations.
Local practice: original Library examples
These synthetic exercises are separate from the primary sources and further reading below.
- Local practice: inventory penalty Python starter
Type: Original Library local practice file; finite synthetic scenarios
Use: Verify expected demand 31 and expected penalties 88, 28 and 18 for listed quantities 20, 30 and 40. The program compares these supplied actions; it does not fit a forecast, model lead time or solve a general inventory problem. - Local practice: forecast monitoring guide and fixture
Type: Original Library bounded synthetic exercise; Python standard library
Use: Check the separate actual-minus-prediction convention: MAE 40/3 and mean signed error 20/3 trigger the invented strict MAE>10 review rule. This monitors supplied predictions; it neither fits forecasts nor automatically retrains a model.
Sources and further reading
- Forecasting: Principles and Practice
Type: Free online third edition; print copy separate
Use: Time-series exploration, forecasting methods and evaluation - Business Analytics for Management Decision
Type: Public course page and learning links; exam certification terms vary
Use: Quantitative management decision methods - OR-Tools guides and examples
Type: Free open-source documentation; optional external solvers have separate terms
Use: Routing, scheduling, allocation and optimisation