Data & evidence

Backtest demand forecasts using only information available then

By Anurag · Published 4 November 2026 · Updated 17 November 2026Global methods · Country rules separately scoped
Constructed learning material. Prepared with AI assistance. Sample businesses, records and outcomes are fictional. External sources support the named methods or scoped facts; they do not validate the sample values as benchmarks.

A forecasting demonstration can look excellent because it has already seen the answers. A restaurant manager is shown a smooth line over historical orders and told that a new model is accurate. Yet the line may use information from later days, revised records that were unavailable when the decision was made, or an error measure that ignores the cost of understaffing. Before choosing a sophisticated model, establish a test that resembles the decision the restaurant actually faces.

This laboratory follows the fictional restaurant Alder Quay through a small one-day-ahead forecasting exercise. It compares a last-observation baseline with a trailing three-observation mean, preserves a separate final test, and calculates the errors from every forecast. The dataset is deliberately short so a reader can reproduce the result by hand. Ten teaching observations cannot establish a general forecasting method for restaurant operations. They can expose leakage, inconsistent horizons and misleading accuracy claims.

Download the Original baseline: daily count series and the Original baseline: expected calculations. The interactive lab lets you change the trailing window and the penalties attached to over- and under-forecasting. It keeps development and final-test results separate. All restaurant names, counts and costs are invented. The guide offers an auditable evaluation method, not a promise about future demand, a particular software platform or an industry accuracy benchmark.

TRY THE CASE

Score the forecast that could actually have been issued

Fictional inputs and stated model boundaries. The worked calculations and downloadable records below remain available without JavaScript.

Define issue time, target, horizon and operating decision → Freeze chronological source and availability assumptions → Separate development targets from an untouched final test → Generate each forecast using only earlier available observations → Score the same targets, denominators and complete decision rule → Check future-mutation invariants and missing-data failures → Freeze a candidate before opening the final test → Release a bounded decision and collect new future evidence
  1. Define issue time, target, horizon and operating decision
  2. Freeze chronological source and availability assumptions
  3. Separate development targets from an untouched final test
  4. Generate each forecast using only earlier available observations
  5. Score the same targets, denominators and complete decision rule
  6. Check future-mutation invariants and missing-data failures
  7. Freeze a candidate before opening the final test
  8. Release a bounded decision and collect new future evidence
Follow the evidence through the decision. Each gate belongs to this constructed case. Download the diagram.

1. Start with the forecast's decision deadline

Alder Quay needs a forecast for tomorrow's eligible completed orders before making a preparation decision today. The forecast is issued after today's accepted order count becomes available. Its horizon is one observation ahead. The business day, order eligibility and data-acceptance cutoff are fixed in the measurement contract. If tomorrow's count is unavailable at issue time, the model cannot use it, even if a later report now contains that count in the same spreadsheet.

The decision also has a cadence. In this exercise the restaurant issues a new forecast every day and may use the newly observed actual before making the next forecast. That is a rolling one-step evaluation. It is different from issuing a seven-day plan once a week and then receiving no new information before the entire plan is acted on. A model tested only one day ahead has not been tested for a fixed seven-day ordering decision.

Write the issue time and target period beside every saved forecast. A date label alone is ambiguous: does “day 8 forecast” mean a forecast made on day 8, a forecast for day 8, or a weekly report generated after day 8 ended? The audit table should contain both forecast origin and target. This prevents a common accidental shift in which a model is scored against the wrong day while still producing a plausible-looking chart.

The target is a defined count, not an abstract notion of demand. Completed orders omit customers who could not order because the restaurant was closed or a product was unavailable. They also differ from item quantities, covers, baskets and revenue. Alder Quay initially forecasts observed eligible completed orders because those data are available and well defined. It records that limitation rather than claiming to have measured all latent customer demand from a sales export.

2. Create a chronological evaluation plan

The ten observations are split into initial history, development evaluation and final test. Days 1 through 4 provide the initial history. Days 5 through 8 form four rolling one-step development cases. Days 9 and 10 are reserved for a final test after the baseline choice is frozen. Two final-test days provide very weak evidence about broad reliability, but the separation illustrates the discipline needed for a larger company dataset.

During development, a forecast for day 5 can use days 1 through 4. A forecast for day 6 can use days 1 through 5, because day 5's actual is assumed accepted before the day 6 forecast is issued. The same logic continues. This use of an earlier test actual as history for the next origin is valid for the declared daily update process. It would be invalid if the operational decision required every forecast to be issued at the end of day 4.

The forecasting textbook's toolbox chapter describes evaluation with training observations that precede each target. It also distinguishes genuine forecast evaluation from fitted historical residuals. The exercise applies those principles to an original restaurant series. The source does not validate these invented counts or recommend that ten observations are sufficient to choose a production restaurant forecasting system.

The plan records candidate methods, the primary development score and the rule for handling ties. It also records when the final test will be opened. Once someone uses the final-test result to redesign the model, those days have become part of development knowledge. The team should then obtain a new untouched test or clearly state that no independent final test remains. Calling the same reused data “holdout” does not restore its original role.

3. Inspect the complete teaching series

Counts refer to accepted completed orders in consecutive fictional reporting periods. The series is not assigned weekdays or public holidays, so it cannot support a weekly seasonal model. Every observation is present in the baseline fixture. Later sections explain why a missing period and a measured zero require different handling. No customer-level records are needed to reproduce the calculations.

DayAccepted completed ordersRole
1100Initial history
2120Initial history
3110Initial history
4130Initial history
5140Development target
6125Development target
7150Development target
8160Development target
9155Final-test target
10145Final-test target

The counts rise overall and then soften in the final two periods. That shape makes the trailing mean lag behind some increases. It does not establish a permanent trend. A reader who sees all ten days at once has more information than an analyst standing at the end of day 4. The backtest must reconstruct each permitted information set instead of allowing that hindsight to influence the historical forecast.

Before modeling, verify chronological order, unique period identity, nonnegative counts and accepted-source coverage. A duplicate day can give recent history extra weight. Sorting text labels such as “day 10” and “day 2” alphabetically can put the series in the wrong order. Missing periods should be made explicit. A clean line chart can hide all these problems if the plotting system simply connects whichever observations it receives.

Keep the original records and the validated series separate. If a correction changes day 6 from 125 to another count, the team needs to know whether that correction was available before issuing day 7's forecast. For a realistic backtest, the historical availability time can matter as much as the final business-period value. The ten-day fixture assumes prompt, final acceptance to keep the initial arithmetic transparent.

4. Build a baseline anyone can reproduce

The last-observation method predicts the next period using the most recently available actual. At the end of day 4, it forecasts day 5 as 130. At the end of day 5, it forecasts day 6 as 140. At the end of day 6, it forecasts day 7 as 125. At the end of day 7, it forecasts day 8 as 150. No fitting routine or hidden coefficient is needed.

The development forecasts are therefore 130, 140, 125 and 150. Against actuals 140, 125, 150 and 160, the forecast-minus-actual errors are -10, 15, -25 and -10. This guide uses forecast minus actual throughout, so a negative error means under-forecasting. Other references may define error with the opposite sign. Either convention is workable if the formulas, labels and business interpretation remain consistent.

The absolute errors are 10, 15, 25 and 10, totaling 60 orders. Mean absolute error is 60 / 4 = 15 orders. Signed errors total -30, so mean error is -7.5 orders. The method under-forecasts on three of four development cases. Mean error alone could conceal cancellation between positive and negative mistakes; mean absolute error measures the magnitude without that cancellation.

The simple-methods section of the toolbox chapter presents last-observation forecasts as a basic comparator. Alder Quay uses that transparent comparator before adding complexity. A new model should justify its operational burden against an appropriate baseline, not merely produce a line that looks more sophisticated. Winning this tiny exercise would still be insufficient evidence of broad superiority.

5. Compare a trailing mean without looking ahead

The second method averages the latest three actuals available before the target period. For day 5, those are days 2, 3 and 4: (120 + 110 + 130) / 3 = 120. For day 6, they are days 3, 4 and 5: (110 + 130 + 140) / 3, approximately 126.67. The method updates its history at each allowed origin, just as the last-observation method does.

For day 7, the mean of 130, 140 and 125 is approximately 131.67. For day 8, the mean of 140, 125 and 150 is approximately 138.33. Keep the underlying fractions or full numeric precision for scoring. Rounding each forecast to a whole order before measuring accuracy changes the model being evaluated. Operational preparation may require integer decisions, but that rounding policy should be evaluated as a separate decision layer.

The forecast-minus-actual errors are -20, approximately 1.67, approximately -18.33 and approximately -21.67. Their absolute values sum to approximately 61.67, giving mean absolute error approximately 15.42 orders. Signed errors sum to approximately -58.33, giving mean error approximately -14.58. In this development sample, the trailing mean has slightly larger absolute error and more negative bias than the last-observation method.

The difference in mean absolute error is about 0.42 orders over only four cases. It would be misleading to call this a decisive performance advantage that will hold across seasons, outlets and menu changes. The development result supports choosing the simpler last-observation baseline for the next stage of this teaching workflow. It also identifies a possible lag issue worth examining in a larger sample. The score is evidence for a bounded decision, not a universal ranking of forecasting methods.

6. Name every denominator in a percentage score

The development actuals total 140 + 125 + 150 + 160 = 575 orders. If the team divides total absolute error by total actual orders, the last-observation result is 60 / 575, approximately 10.43%. The trailing-mean result is approximately 61.67 / 575, or 10.72%. This guide labels that calculation absolute-error-to-actual-volume ratio, often called WAPE in operational dashboards, and states the exact formula.

That ratio is not the same as averaging four daily absolute percentage errors. The former gives more influence to larger-volume periods through the denominator structure; the latter computes a separate relative error for each period before averaging. A team should not switch between them while retaining the same “accuracy” label. Different metrics can rank methods differently, especially when volumes vary. Show the raw forecast table so reviewers can understand what the summary emphasizes.

An all-zero actual evaluation window makes the total-volume ratio undefined. A period-level percentage also fails when its actual is zero. Do not replace the denominator with one merely to obtain a number unless the company has explicitly chosen and explained a different metric. Absolute-error measures can still be meaningful for a legitimate zero-demand period. A tool should preserve that usable information while showing the percentage as not defined.

Avoid presenting one minus the error ratio as a universal “forecast accuracy percentage.” Such a label can imply a bounded probability or success rate that the calculation does not represent. Absolute error can exceed actual volume, and a derived percentage can become negative. The unambiguous output is a named metric with its numerator, denominator, units and evaluation population. For a small company review, “15 orders mean absolute error across four one-step targets” is often more informative than an unexplained percentage badge.

7. Open the final test after freezing the choice

After choosing the last-observation baseline from the development process, Alder Quay opens days 9 and 10. The daily update rule remains unchanged. The day 9 forecast is day 8's actual, 160; actual day 9 is 155, so error is 5. The day 10 forecast is day 9's actual, 155; actual day 10 is 145, so error is 10. Mean absolute error is (5 + 10) / 2 = 7.5 orders.

The final-test actuals total 300 orders, so the absolute-error-to-volume ratio is 15 / 300 = 5%. Both final-test errors are positive, giving mean error 7.5. The method that under-forecast in development over-forecasts in this short final segment. This is a useful warning against treating a single bias adjustment derived from four development days as a permanently correct feature of the business.

For learning, the guide also displays the trailing-mean final-test forecasts. Day 9 uses 125, 150 and 160, producing 145 against actual 155. Day 10 uses 150, 160 and 155, producing 155 against actual 145. Absolute errors are 10 and 10, giving mean absolute error 10 and a total-volume ratio of approximately 6.67%. Its signed mean error is zero because the two errors cancel, despite both being operationally real mistakes.

Showing the comparator is not permission to redesign the model repeatedly on these same two days and keep calling them untouched. In a real selection process, the final-test comparison should follow the declared evaluation plan. If the team now changes the window, adds a trend term or selects a new loss function because of these outcomes, document that exploration and reserve a new future period for another independent assessment. The evidence role follows how data were used, not the name of their folder.

8. Match the test horizon to procurement and staffing

At the end of day 4, a fixed two-day last-observation forecast for days 5 and 6 would be 130 for both days. It cannot use day 5's actual because the entire two-day plan was issued before day 5 occurred. The rolling one-step exercise instead forecasts day 6 as 140 after observing day 5. These are different predictions available at different decision times. Scoring the rolling method does not tell a buyer how a frozen two-day purchase plan would have performed.

For a multi-day trailing-mean forecast, the recursion rule also matters. Does the model keep the same trailing history for every future target, feed its own predicted values back into the window, or estimate a different model? Each approach produces a defined but different method. A company should not leave that choice to an undocumented software default. The forecast pack should state the origin, horizon and update schedule used for every comparison.

Evaluate each important horizon separately. A kitchen replenishment decision may depend on tomorrow, while a supplier order depends on the next several delivery days. A method can perform well at one horizon and poorly at another. Pooling all errors into one score can hide the horizon that drives the expensive decision. A simple matrix of origin, target, horizon, forecast and actual makes the evaluation structure visible before it becomes a dashboard summary.

The ten-day laboratory implements only rolling one-step forecasts. It deliberately does not claim to validate a weekly plan, seasonal forecast or ingredient order quantity. Moving from order counts to ingredient requirements needs recipes, mix assumptions, yields, existing stock and lead-time logic. Each adds uncertainty and a different decision rule. A useful institutional framework connects these layers while keeping the evidence for each layer distinct.

9. Test business loss as well as average error

Mean absolute error treats an over-forecast of ten orders and an under-forecast of ten orders as equal magnitude. The business consequences may differ. Alder Quay therefore defines a fictional decision-loss exercise: an under-forecast order carries a penalty of 3 cost units, while an over-forecast order carries a penalty of 1. These are not claimed ingredient costs, lost margin estimates or industry ratios. They are adjustable teaching inputs that demonstrate how the decision criterion affects model choice.

For the last-observation development forecasts, under-forecasting totals 45 orders: 10 plus 25 plus 10. Over-forecasting totals 15. The fictional loss is 45 × 3 + 15 × 1 = 150 cost units. For the trailing mean, under-forecasting totals 60 orders and over-forecasting totals approximately 1.67. Its loss is approximately 60 × 3 + 1.67 × 1 = 181.67. The simpler method has lower loss under these stated penalties in the development sample.

Now reverse the penalties: under-forecasting costs 1 and over-forecasting costs 3. Last-observation loss becomes 45 + 45 = 90. Trailing-mean loss becomes 60 + 5 = 65. The preferred development method changes under this different objective. That is not a contradiction in the arithmetic. It shows that choosing a forecasting system requires a clear decision cost, rather than declaring one model best under an unnamed conception of accuracy.

In production, penalty estimates need evidence and may vary by item, time and capacity state. A missed order does not automatically equal a lost contribution amount, and an excess preparation unit does not automatically become waste. Customers may substitute, staff may adapt and ingredients may be reusable. Estimate decision loss carefully, validate the operating model, and show sensitivity rather than attaching invented precision to a convenient ratio. The lab's penalties are a demonstration, not a financial recommendation.

10. Build an interactive tool that exposes leakage

The lab accepts the ordered count series, a trailing-window length and nonnegative under- and over-forecast penalties. It scores both methods on the same development and final-test targets. The initial history remains four observations, so allowed trailing windows fit within that history. A window change affects only the historical values available before each target. The tool never includes the target actual in its own forecast calculation.

The result includes one record per target with forecast origin, actual, forecast, signed error, absolute error, under-forecast amount, over-forecast amount and fictional loss. Summary outputs state the number of evaluation cases, total actual volume, mean absolute error, mean error, volume ratio and total loss. The final next-period forecast is shown separately from scored historical forecasts because its actual is not yet known. It cannot have a measured accuracy value.

A useful test changes a future actual and verifies that earlier forecasts do not move. If day 10 changes, forecasts for days 5 through 9 must remain identical under these methods. Day 10's own forecast must also remain unchanged, because its prediction uses only earlier observations. Its error changes, and the forecast for day 11 may change once day 10 is available. This test detects a meaningful information leak rather than merely comparing the function with its own formula.

Another test changes day 5 and checks the permitted consequences. Day 5's forecast stays fixed, but its error changes. Day 6's last-observation forecast changes, and the trailing mean uses the changed day 5 only while it remains inside the trailing window. This trace helps readers understand why a rolling evaluation can legitimately use prior evaluation actuals. The protection is chronological availability, not a blanket rule that every evaluation value must be permanently excluded from later history.

11. Distinguish missing orders from zero demand

A zero can be a real accepted count: the restaurant traded and recorded no eligible orders, or a clearly defined closed-period contract represents zero observed completed orders. A missing value means the count is not known. Replacing a missing count with zero can make a forecast appear to miss a collapse in demand that never occurred. It can also contaminate the next forecast, because both methods depend on recent history.

The teaching tool rejects missing or nonnumeric counts rather than silently filling them. A production system may support a documented repair method, but it needs to distinguish a data gap from an operating closure and evaluate the repair within each historical information set. Filling a missing day using the average of the day before and the day after leaks the later day into an earlier forecast unless that later information was genuinely available at issue time.

Closed periods need an explicit calendar. If the operational decision concerns only trading days, a sequence of trading observations may be appropriate, but the mapping back to calendar dates must remain available. If purchasing lead time crosses closed days, a purely sequential index may be insufficient. A restaurant with no orders because it was closed should not automatically be treated as evidence of low customer interest under normal opening conditions.

Partial data are another form of uncertainty. A count of 80 accepted orders with one channel absent is not necessarily comparable with a complete count of 100. The company may choose to withhold the forecast, use a qualified fallback or build a separately validated partial-data method. What it should not do is let the model interpret the incomplete count as a complete demand signal without an explicit decision. Forecast quality depends on measurement quality at every origin.

12. Control external features and historical availability

Adding weather, promotions or reservations can improve a model only if the relevant values are available when the forecast is issued. Tomorrow's observed weather is not the same as today's weather forecast for tomorrow. A historical model that uses the eventual observed temperature may overstate what could have been achieved operationally. Save the version or issuance time of external forecasts if they are part of the production information set.

Promotions also have availability and causality issues. A planned discount may be known ahead of time; a reactive discount introduced after slow trading begins is not necessarily available to an earlier forecast. If managers change promotions because of a forecast, the operating system becomes a feedback loop. Forecast errors then reflect both the model and decisions taken in response to it. Retain these interventions so later analysts do not interpret every change as an unexplained demand pattern.

Reservations can be revised or cancelled. A model using the final reservation list for an earlier decision has seen information that staff did not have at the time. A point-in-time feature table should preserve what was booked and known at the issue cutoff. The same requirement applies to menu availability, staffing plans and event calendars. A feature's business date does not by itself establish when the forecast process could access it.

The simple methods in this guide avoid these external features so the information boundary is easy to audit. More advanced models should keep that clarity rather than trade it away for complexity. A company can maintain a feature contract listing definition, source, effective date, availability time, allowed lag and fallback. Testing that contract may improve real-world reliability more than adding another model family to an already leaky comparison.

13. Recognize censored sales and changing operating conditions

Observed orders can be limited by capacity. If the restaurant stops accepting orders at 150 because the kitchen is overloaded, the count does not reveal how many customers would have ordered without the limit. Training a model on that count may reproduce the operational ceiling rather than estimate unrestricted demand. The forecast target should state whether it is accepted orders under existing controls or a broader demand quantity that requires additional measurement.

Stockouts create similar ambiguity. Sales of an unavailable item do not measure its underlying demand. Some customers substitute; others leave; others purchase later. Order-level forecasting may hide product-level substitution, while product-level forecasting may be distorted by availability. Retain operating context and avoid labeling an availability-driven decline as a pure preference shift without evidence. The response may require a different data collection process rather than a more flexible algorithm.

Structural changes deserve explicit treatment. A new delivery channel, changed opening hours or a major menu redesign can make older observations less comparable. A rolling window is one way to limit reliance on old data, but it is not automatically correct. Short windows adapt faster and can be noisier; longer windows smooth variation and can lag. Evaluate the trade-off in the relevant decision setting instead of assuming that more history or less history is always better.

The ten-day series contains no known structural event, seasonal label or censored count. Those are boundaries of the exercise. A production report should list known operating changes and the evidence behind their classification. Deleting inconvenient outliers after seeing their forecast error can make performance look better while removing the cases the business most needs to handle. Define exclusions and separate scenario evaluation from ordinary operating evaluation.

14. Add uncertainty without inventing confidence

A point forecast is one estimate, not a complete description of possible outcomes. Preparation decisions may need a range or a probability of exceeding capacity. However, a decorative band around a line does not become a validated prediction interval merely because it looks plausible. Its method, assumptions, nominal coverage and historical evaluation should be stated. Ten observations and two final-test points provide little basis for confident calibration claims.

The lab does not present a statistical prediction interval. It can show explicit operating scenarios, such as a user-selected low and high count, but those are scenarios rather than probability statements. Labeling them correctly preserves their value for discussion. A manager can still ask whether the operating plan survives a lower or higher day without pretending the chosen bounds have a measured 95% probability of containing the outcome.

For a larger company system, evaluate interval coverage and width at the actual forecast horizon and by relevant operating segments. A very wide interval can contain most observations while being useless for decisions. A narrow interval can look efficient while missing many outcomes. Point accuracy, distributional calibration and operating value are related but distinct. A procurement team should ask for evidence about the property it needs rather than accept one generic “AI confidence” score.

Retain forecast versions when managers override them. An override may incorporate information absent from the model, such as a confirmed local booking. Record its reason, author, time and changed value, then evaluate the original and overridden forecasts separately. Otherwise a good human correction may be credited to the model, or a harmful override may be blamed on it. The goal is a better decision process, not a competition that encourages either people or software to conceal their contribution.

15. Evaluate across outlets without hiding small sites

A group may aggregate errors across all outlets, but high-volume sites can dominate volume-weighted measures. That may fit a total procurement objective while giving little insight into a small site's staffing risk. Show both the group objective and relevant outlet-level distributions. A method that improves the largest outlet while failing consistently at several smaller sites may still require a differentiated deployment policy.

Do not average percentages from unequal populations without deciding what the weights mean. An equal-outlet average answers a question about the typical outlet under that weighting; a pooled total-volume ratio answers another question. The company should choose the primary measure from the decision and retain enough detail to examine distributional harms. A single group score cannot establish that every site receives a suitable forecast.

Calendar differences also matter. Local trading days, holidays and opening patterns need a consistent mapping to each target. Comparing an outlet's Tuesday forecast with another outlet's local Monday because timestamps were grouped in a shared zone corrupts the evaluation before any model is scored. The data contract should preserve both the relevant local business period and the issue instant. Cross-border forecasting needs careful measurement, not merely a currency conversion and a combined chart.

For hierarchical forecasts, group totals and outlet forecasts may need consistency. The sum of independently generated outlet predictions may differ from a separately generated group prediction. That is an identifiable modeling question, not a reason to manually overwrite numbers without a record. If a reconciliation method is used, evaluate the reconciled forecasts as the actual deployed system and retain the unreconciled inputs for diagnosis. The ten-day single-outlet lab does not claim to solve that larger problem.

16. Run a reproducible company review

The review pack contains the decision specification, target contract, chronological data snapshot, availability assumptions, candidate definitions, scoring rules, development results, frozen selection and final-test results. It includes the forecast table with origin and target for every case. A reviewer should be able to reproduce the last-observation result with a simple shift and the trailing mean with a transparent three-value calculation. Model complexity should not remove this basic accountability.

The reviewer independently checks one case in each split and recomputes totals. Development last-observation absolute error is 60 over four cases; final-test absolute error is 15 over two. The trailing mean has development absolute error 185 divided by 3 and final-test absolute error 20. They verify that the model did not round before scoring, that error sign labels are consistent and that future actual mutations do not alter earlier predictions.

Next they examine the business decision. Does the declared penalty model match what management is using to choose a method? If the system is scored on mean absolute error but deployed with an undisclosed safety uplift, the deployed decision rule has not been evaluated. Test the complete rule, including rounding, minimum preparation, caps and overrides, using information available at each origin. A forecast component can be accurate while its surrounding operating policy performs poorly.

The release decision is bounded. Alder Quay may continue with the transparent baseline while collecting a longer, better contextualized series. It can explore more advanced candidates in development and reserve new future evaluation periods. It should not advertise production-grade forecast superiority from six scored teaching targets. The institutional discipline is the repeatable evidence chain: define the decision, reconstruct what was knowable, compare fairly, test the deployed rule and retain limitations alongside the result.

Methods, sources and reuse

Boundary drill: forecasting is different from rounding a preparation plan

Suppose the operating team cannot act on a fractional order estimate and rounds each trailing-mean development forecast upward to the next whole order. The issued preparation quantities become 120, 127, 132 and 139. Their absolute errors are 20, 2, 18 and 21, totaling 61 and giving a mean of 15.25. That is a different evaluated rule from the unrounded mean's approximately 15.42. The change is small here, but an institutional review should still identify which rule generated the operational quantities.

Under the fictional under-penalty of 3 and over-penalty of 1, this upward-rounded plan under-forecasts 59 orders and over-forecasts 2. Its loss is 179 cost units. The unrounded mean's loss is approximately 181.67. Neither figure establishes that rounding upward is the correct policy for another kitchen. It simply demonstrates that the decision layer can change the business score even when the underlying forecast formula stays the same.

If management introduces a minimum preparation quantity, a capacity cap or a safety allowance, evaluate that complete transformation at each origin. Keep the raw model forecast and the issued decision in separate fields. A capacity cap may lower apparent over-preparation while increasing unmet demand; a safety allowance may improve service while raising waste. The choice needs a valid operating-loss model and evidence about actual consequences, not a contest to minimize whichever statistical score is easiest to display.

Do not tune the rounding rule after every disappointing final-test day and retain the original performance claim. Once an outcome influences the rule, it becomes development evidence for that rule. This boundary is practical rather than bureaucratic: it prevents a company from repeatedly adapting to yesterday and reporting that adaptation as proof of tomorrow's performance. The saved forecast and decision versions let the team learn without losing track of which system was actually tested.

All observations, restaurant names and penalty values are original fictional teaching material. Fractions are retained in the answer file where useful; displayed decimal values are rounded for reading. Error is defined as forecast minus actual throughout this guide. The lab implements rolling one-step last-observation and trailing-mean methods only. It does not infer latent demand, validate a seasonal model, optimize inventory or provide a calibrated prediction interval.

The primary methodological reference is the authors' Forecasting: Principles and Practice toolbox chapter, particularly its treatment of simple comparators, genuine forecast errors and chronological evaluation. The restaurant fixture, score calculations, loss sensitivity and governance workflow are the guide's own construction. The cited source does not substantiate the invented business amounts or an accuracy guarantee.

Use the Original baseline: series CSV to reconstruct the forecasts and the Original baseline: answer file to inspect expected results and leakage tests. When adapting the method, preserve the actual issue time, target horizon and information available then. A useful forecast evaluation is one that could have been performed before the answer was known.

Research sources and scope

Build on the foundations

These introductory resources are already available in the existing website library.