Lost Sales
This series builds, from the ground up, the sales that did not happen in store and online because stock ran out: how a stockout day is found, how that day’s demand is estimated from the days with stock, how close the estimate gets to the truth, and which process the loss is booked to — supply, allocation or planning.
Articles in this series
You can read the series from start to finish. If you are short of time, the story and results articles each tell the problem and the outcome on their own; the technical articles carry the whole model and the code.
- StoryThe night before
Two allocators fall for the same sweatshirt, and the rail has neither of their sizes. The stock is in the central warehouse, but it only came in the night before. Whose loss is it? And is it the same loss for both of them?
- ExplainerHow lost sales are calculated
Three steps. Find the stockout day, measure the rate on days with stock, write a loss against every stockout day. Each step hides a trap, and the first, the one least talked about, is the hardest.
- TechnicalThree methods, one referee
We estimated the demand of stockout days three ways and tested each against the hidden truth. Which one won, where machine learning went wrong on the hits, where price elasticity sets a trap, and why the formula that is right in theory overstated.
- ResultsAli or Veli?
Of the customers who found the rail empty, how many bought another product and how many walked out? Lumoda's real loss, how much bigger the estimate makes it look, and how the picture changes once the loss is split into operational loss and final stockout.
- ExplainerWho owns the loss
One address for every day of loss: logistics, store, allocation, supply, planning. Across the chain, the address of Sunday's loss turns out to be the smallest branch; and transfer is left off the tree on purpose.