ClearStock by InventoryX is live on the Shopify App Store.Install free →

Install ClearStock
English
  • English
Browse Resources

Chapter 2 · conceptual understanding

Measuring demand and forecasting it

Turns sales history into a demand estimate, chooses a forecast method by matching structure, and judges the result with a metric that survives zero-demand days.

The merchant question: my sales history is right there — why is my forecast still wrong every month?

Because the history is not demand. It is a record of units that left the building, and units only leave if they were there to leave. Every stockout, every paused listing, every day the 3PL was locked out turns a demand observation into a zero. By the time a merchant sums that series and calls it demand, the series has already been edited — not by the merchant, but by their own availability. A forecast built on it is not a bad forecast of demand; it is a plausible forecast of a different quantity, which is harder to notice and harder to fix.

This chapter builds the input that C3 and C4 consume. Safety stock is only as good as the variability that goes into it, and the variability is only as good as the series underneath. Get the demand series wrong and the arithmetic downstream is not approximately wrong — it is precisely wrong about the wrong thing.

The running example, and the eleven dark days

Marlow & Finch sells MUG-GRN-12 at a mean of 7.08 units a day with a standard deviation of 3.5 — measured over the days the mug was actually in stock. Its supplier lead time is 45 days, and the safety stock that follows from those two numbers is 65 units.

The 7.08 is not a sum over 90 days divided by 90. It is 559 units over 79 in-stock days. The mug was unavailable on 11 of the 90 days, and those 11 days sold nothing because there was nothing to sell. Divide by 90 instead and the mean falls to 6.21 — a 12% understatement produced entirely by the store's own stockouts. The safety stock that follows is understated in the same direction, which makes the next stockout more likely, which adds more dark days. That loop is the reason this chapter exists: it is not a reporting nicety, it is a feedback mechanism.

What the five lessons do

Velocity measures the series and declares its denominator, because a rate without a stated denominator is not a rate. It produces the mean and the standard deviation in the form the buffer formulas need. Link: Measuring velocity.

Censoring explains when to divide by 90 and when to divide by 79 — and why the answer depends on whether the question is about replenishment or about cash. Link: Censoring and the all-days denominator.

Forecast methods sets out the families — naive, moving average, exponential smoothing, trend and seasonal, intermittent-demand methods, judgemental override — and the rule that the method is chosen to match the series structure rather than the other way round. Link: Choosing a forecast method.

Demand classification turns that into a decision: two measured axes, four classes, and a mapping from class to method to buffer rule. Link: Classifying demand before choosing a method.

Forecast error metrics gives you the scoreboard: MAD, bias, RMSE, MAPE, MASE, and the tracking signal, plus which of them is void on which kind of series. Link: Forecast error metrics that survive contact.

The failure this chapter is built to prevent

Choosing a method before classifying the series. It looks like a tooling decision and is actually an arithmetic one: exponential smoothing will produce a number for a SKU that sells 8 times in 90 days, and the number will be smooth and confident and meaningless. The chapter's discipline is the reverse order — measure, classify, then pick, and write down what the choice assumes so the error metric can test it.

Where the chapter stops

It stops at the estimate. It does not compute safety stock — that is Sizing safety stock from variance — and it does not decide order quantities. It also does not promise a good forecast. Some series in a 620-SKU catalogue are not forecastable at a useful cost, and the honest product of this chapter is a decision not to forecast some of them, with a simple rule in its place. That is a result, not a failure.

Lessons in this chapter