Sales potential
How do you know how much a size will sell when it is not on the rail at all? The option's rate of sale is corrected for days in stock and split across the sizes by their share. The forecast comes out well above true demand; even so, knowing the demand hardly changes the result.
Broken-Size Transfer · 4 / 6
How many of a size would you sell in a store where it is not on the rail at all? That is the question of this article. The expert’s rule in the last article did not ask it; it ranked the stores by what they had sold and made the best one the receiving store. For ranking, that is enough. But the model we build in the next article has to know what each unit is worth. For that it needs a forecast: if a store had a size on the rail, how many units would it sell in the coming weeks? We call that the sales potential.
A size with no sales
“In Istanbul 17 the blush jacket’s L isn’t on the rail,” says Pelin. “If it isn’t there, it has no sales. What do we measure this size’s rate of sale with?”
“We don’t measure it on the size,” says Pars. “We measure the jacket’s rate, then split it across the sizes.”
The rate is measured at optionThe combination of a model and a colour; the basic product unit for planning and for transfer decisions. and store level: over the last 28 days before the decision, how many units of the jacket did the store sell, across all its sizes? Dividing that by calendar days would be wrong. While the L, XL and XXL are not on the rail the jacket looks as if it has slowed down; in fact the customer came in, did not find their size, and none of it was written down anywhere. That is censored demandDemand that arrives while the shelf is empty and is never recorded. Sales data show not demand but the smaller of demand and stock.. So the denominator is not calendar days but days in stock. The days each size was on the rail are weighted by that size’s share and added up. A day on which only the S and the M were on the rail does not count as a full day; it counts as the S and the M’s share of a day.
The size share says how demand is split across the sizes. It comes from the store’s own evidence where there is some, and from the chain where there is not. Multiply the jacket’s rate by the L’s share, and an L with no sales at all has a rate too. A broken size has no sales of its own, but it does have a share.
If a store has very little evidence for the product, its rate falls back to the chain’s rate, scaled by the store’s share of sales for the season.
Cleaning the rate and carrying it forward
The last 28 days are not ordinary days. In winter the window includes Black Friday; in summer, campaigns that cover every store. Sales on those days inflate the rate. The campaign calendar is open information: which day, what scope, what rate. So the sales are cleaned of the effects of those days: day of the week, special days, campaigns and the product’s age. What is left is the rate of an ordinary day.
Then the same effects are added back for the days ahead, for two periods: from the decision to the markdown, and from the markdown to exit. The product’s age comes from the life cycle curveThe curve showing how a product's sales rise and fade from the week it enters the store.: how the same subcategory fell week by week after launch in seasons that have closed. The markdown period needs an assumption, because the real price path is not known in advance. Lumoda’s public rule is at least 30% off on markdown day, so the forecast counts that period at 30% off, or at the campaign rate if the campaign is deeper. How much that discount will sell is given by the price elasticityThe ratio that says how much demand changes when price changes by a given amount. A product with high elasticity sells much more on markdown; one with low elasticity, little more. measured from campaigns.
In the end every cell, that is every store and size, gets two numbers: the expected demand in the full-price period and the expected demand in the markdown period. The forecast sees no line from after the decision. That is all the model knows about this product.
What the referee says
Lumoda is a synthetic chain; in the world that generates the data, the true demand of every cell is written down. The forecast cannot reach it; we can, for measurement. We call that record the referee. Put the two totals side by side for the same cells and this is what comes out. The percentages show how far the forecast total exceeds the true demand total; the cells are those of the products the decision can touch.
| How far the forecast is above true demand | Winter | Summer |
|---|---|---|
| All cells, full-price period | 33.0% | 14.4% |
| All cells, markdown period | 66.5% | 17.7% |
| All cells, total | 55.7% | 16.5% |
| The optimisation’s receiving cells, total | 96.5% | 27.3% |
“So in winter we see almost twice the demand in the cells we pick,” says Ali.
There are three things in the table. The forecast is high everywhere. Winter is much worse than summer; in winter the markdown period is off by twice as much as the full-price period, in summer the two are close. And the cells the model picks are worse than the average. Each of the three has a reason.
Sales are not demand
“When a jacket sells out, what does the customer do?” says Pars.
“Sometimes they walk out,” says Veli. “Sometimes they buy the jacket next to it.”
“In the records, that jacket next to it looks as if it sold well.”
That is substitutionA customer who cannot find the product they want buying another one instead. The sale stays with the company, so not all unmet demand counts as lost.. Published sales do not separate the product’s own customers from the ones who came through substitution. So the rate we measure answers the question “what does a cell in stock sell?”. The true demand the referee holds answers “how many customers of its own does this cell have?”. The two are not the same thing.
The difference grows in the life cycle curve. As the season goes on, sister products sell out and substitution piles up on the ones left on the rail. Because the curve is learnt from those sales, the demand for the remaining products looks as if it is falling more slowly than it is. This is very marked in jumpers and jackets, much less so in summer products. That is why the forecast is worse in winter. And because errors build up as the horizon lengthens, in winter the markdown period is worse than the full-price period.
The last row has another cause. The model picks the cell that looks most valuable. And a cell that looks most valuable is, to some extent, a cell whose demand was over-forecast. The 96.5% for winter and the 27.3% for summer come from that. The best-looking option turning out not quite so good in reality is the natural price of making a choice.
We left this bias uncorrected on purpose. It could be roughly estimated from how much of the sister products had sold out, but we did not do that in this case and left it as a limit. It has one more cost: a transfer that completes a broken size reduces sell-outs, and so reduces substitution too. The forecast does not see that and counts the transfer’s value a little high. That is why we do not trust the gain the model itself reports; the referee measures the gain.
The wrong level, the right order
The real question is this: if the forecast is this far too high, how much does it spoil the decision?
To measure that, we ran a copy of the model. Same rules, same cost; only its input is not the forecast but the true demand from the world behind the data, and the realised price path. We call it the oracle. The oracle does not mean the best plan; it is the same model’s answer with the right input. The net gain over two seasons, that is the revenue difference against Lumoda minus the transfer cost: TRY 2.4 million ahead for the oracle, TRY 2.4 million ahead for the plan built on the forecast. To two decimals, +2.42 and +2.36. The stock they move is close too: 2,145 and 2,117 units in winter.
“We see twice the demand and make almost the same money?” says Pelin.
“This decision doesn’t ask how many units will sell,” says Pars. “It asks whether this unit is worth more here or over there.”
There are two possible reasons; we did not measure them separately. First, the receiving store gets at most the size ratio, that is one or two units per size. In the cells the model picks, true demand from the decision to exit is above ten units on average. Even if the forecast is twice that, the answer that the first two units will sell does not change. Second, the transfer is between stores of the same product. The life cycle curve is shared by every store of that product, so the curve’s error lifts both pans together. Not all of the error works this way: the last row of the table shows that the chosen cells are inflated more.
So what would spoil the decision is not the level of the forecast but how the cells rank against one another. Getting this close to the oracle’s money suggests that ranking stayed largely right. The plans show it too: the receiving sizes the oracle and the model send stock to are almost the same. Where they mostly part ways is the sending store and the route; about two thirds of the moves are shared.
Do not generalise this to every decision; in a decision that asks about the level itself, such as an order quantity, the same error can cost dearly. The result also comes from a single customer stream, that is a single random sequence of the customers who come into the stores in the simulation. We ran the same world with four other streams. The oracle is always a little ahead in those too, but the gap is always small; the figures are in the last article.
What is hard in your own data
Separating out substitution. Your sales record does not separate the product’s own customers from the ones who came because the product next to it sold out. At Lumoda we could at least see how wrong we were. In your data the difference cannot be seen; you can only estimate it by looking at how the rate of the remaining products changes as sister products sell out.
The campaign calendar. Here the campaign table is complete: which day, what scope, what rate. In most chains this information is scattered, and regional campaigns and store initiatives go missing. A campaign that is not in the calendar inflates the rate, and the forecast reads it as good selling.
Days in stock. The whole sum in this article rests on the question “was this size on the rail that day?”. Most ERPs have no such record for every store, every size, every day; it has to be rebuilt backwards from the movements. If you cannot build it, a broken size looks as if it had little demand.
Having no referee. You do not have an oracle. You can forecast a past season and compare with the sales that followed, but those sales are substituted and censored too. You cannot see the level error or the ranking error directly.
We have the forecast. In the next article we turn it into what each unit is worth and hand the decision to an optimisation model.