The demand model · Part 1

How the Demand Model Works

A product that isn't on the shelf doesn't lose all its sales: some shoppers buy something similar instead. The demand model works out how much, so you can see what a range will really sell and what each product adds to it. This guide explains the idea in plain terms, with a worked example. You don't need the maths to use it, but you do need the idea.

The two questions

Ranging decisions come down to two questions, and rate of sale on its own answers neither:

  • If I take this product out, how much do I really lose? In a normal range, less than it sells, because the products that stay pick up some of its sales.
  • If I add this product, how much of its sales is new? In a normal range, less than it sells, because some of its sales are taken from products already there.
Technical note. A very small range is the exception. Rate of sale is measured in stores that carry a normal range. Where only a few products are ranged, each one also sells to shoppers who wanted something that isn't there, so a product can be worth more to the range than its rate of sale. See What a product is worth to a range.

The demand model balances two things to answer them:

  • Rate of sale says how much demand a product has.
  • Attributes, such as brand, pack and flavour, say how much of that demand is unique to the product, and how much shoppers would happily move to something similar.

So two products with the same rate of sale can be worth very different amounts to a range. A big seller with close substitutes on the shelf may add little. A small product that nothing else replaces may add nearly all it sells.

This guide is for Spanner 2.5.1 and later. The demand model is about which products are ranged. How well each is merchandised is the job of the space model, and the two work together.

The idea

Range sales = the rate of sale of every product in the range
                       + what those products pick up from the products left out

For each product that is left out, its rate of sale is treated as two parts:

  • The lost share only sells when the product itself is on the shelf. Shoppers who wanted exactly that product buy nothing, or buy it somewhere else.
  • The rest can move to similar products. How much of it does move depends on cover: how well the products in the range stand in for the one left out.
Picked up from a product left out = its rate of sale × (1 − lost share) × cover
A product left out of the range: rate of sale 100 a week Picked up 30 Not covered 30 Lost share 40 Can move: 60. Cover is 50%, so half of it is picked up Never picked up The range sells 30 a week more than its own products' rate of sale, because of this one absent product.
What happens to the sales of a product that is left out. The figures are from the worked example below.

Add more products like it and cover rises, so more of the 60 is picked up. The lost share is never picked up, which is why putting the product itself on the shelf is always worth something.

What a model is made of

Two of these are decisions for the person who knows the category. The rest come from data.

IngredientWhat it isWhere it comes from
Rate of saleHow much a product sells where it is stocked, usually value rate of sale.Your sales data.
Lost shareThe part of a product's sales that disappears when it isn't on the shelf.Substitution data. A product with none takes its segment's typical figure.
SegmentsGroups of products that shoppers choose within, such as cider and alcohol-free. Hardly any demand moves between segments.You decide, using the substitution data as evidence.
AttributesThree or four classifications for each segment that shoppers choose by: flavour, price tier, pack format, brand family.You decide, and Spanner can suggest them.
StrengthsFor each attribute, how readily shoppers of one value move to another. Staying with the same value is 1. A strength of 0.25 means they move a quarter as readily.Worked out by Spanner from the substitution data.

Two finer settings are worked out for you and can be changed by hand:

  • A weight for each attribute. 1 uses the attribute as the data shows it, a lower figure softens it, and 0 ignores it.
  • A cover curve for each segment. Without one, cover is exactly the share described below. With one, cover rises faster at first, for categories where shoppers settle readily for what is there. See The cover curve.

A worked example

These figures are made up, to show the sums. Brand A IPA single can is not in the range. It sells 100 a week where it is stocked and its lost share is 40%, so 60 can move.

Cover is worked out in three steps:

  1. Similarity. Compare the absent product with each other product, one attribute at a time. A matching value scores 1. A different value scores its strength. Multiply the scores together.
  2. Similar rate of sale. Multiply each product's similarity by its rate of sale. A big, similar product counts for a lot. A small or unlike product counts for little.
  3. Cover. Add up the similar rate of sale of the products in the range, and divide by the same total for every other product in the document.
Other productRate of saleBrandPackStyleSimilaritySimilar rate of saleIn range?
Brand A IPA 4 pack20010.210.240Yes
Brand A Pale Ale single100110.60.660No
Brand B IPA single1600.25110.2540Yes
Brand B Lager single4000.2510.20.0520No
  • Similar rate of sale in the range: 40 + 40 = 80.
  • Similar rate of sale in the whole document: 40 + 60 + 40 + 20 = 160.
  • Cover: 80 ÷ 160 = 50%.
  • Picked up: 60 × 50% = 30 a week, shared between the two products in range in proportion to their similar rate of sale: 15 each.
  • Not picked up: the other 30 that could have moved, and the 40 lost.

If Brand A Pale Ale single is then added to the range, cover rises to 140 ÷ 160 = 88%, and 52.5 is picked up.

Notice how little the big lager counts. It sells four times as much as the absent product, but shoppers of an IPA rarely choose it, so it barely covers it. This is the difference between the model and a simple share of sales.

The cover curve

In the example, half of the similar rate of sale was in the range, so half of what could move was picked up. That straight line treats each shopper as having one substitute in mind: if it isn't on the shelf, the sale is lost.

Most shoppers are more flexible. They would accept any of several products and need only one of them to be there. So the first similar products pick up more than their share, and each one after that adds less. The cover curve bends the straight line upwards to allow for this.

Cover = share ÷ (share + give-up × (1 − share))

The share is the one worked out in the example: the similar rate of sale in the range, divided by the same total for every other product. Give-up is the share of shoppers who stop looking when their substitute isn't there. Read the sum as those who find something, divided by those who find something plus those who give up.

  • A give-up of 100% is no curve. Everyone gives up, and cover is the share itself.
  • The lower the give-up, the stronger the bend. With a share of 20% and a give-up of 50%, cover is 20 ÷ (20 + 50% × 80) = 33%.
  • The ends never move. With nothing similar in the range, cover is nothing. With everything similar in the range, cover is 100%.

In the Demand Model editor each segment's cover curve is one number, the setting, which is give-up ÷ (1 − give-up). A setting of 0 means no curve. Above 0, the smaller the setting, the stronger the bend: 1.5 is a gentle curve and 0.25 is a strong one.

0% 50% 100% 0% 50% 100% Share of the similar rate of sale that is in the range Cover Setting 0.25: a strong curve Setting 0.75 Setting 1.5: a gentle curve No curve
The stronger the curve, the more the first similar products pick up, and the less each further one adds.
Share in the rangeNo curveSetting 1.5Setting 0.75Setting 0.25
Give-up100%60%43%20%
20%20%29%37%56%
50%50%63%70%83%
80%80%87%90%95%

What the curve does to a range

  • The first product of a kind is worth more. With nothing like it on the shelf, it picks up a large part of what the others like it would have sold.
  • The second and third are worth less. Once one product of a kind is ranged, much of the demand for the others is already picked up, so their Listing Contribution falls.
  • A stronger curve favours breadth. It rewards a range that has something for each kind of shopper over one with several products of the same kind.

Where the setting comes from

Each segment has its own setting, because shoppers settle for what is there more readily in some segments than in others. When a model is built, Spanner tries a set of settings on test ranges and keeps, for each segment, the one whose pick-up is closest to what the substitution data shows when it is followed through all cycles (see The equations, and how well they fit). You can type a different setting in the Demand Model editor, described in Part 3.

The curve changes how quickly cover rises, never the lost share. However strong the curve, the lost share of a product left out is not picked up.

As the range fills

Build a range up one product at a time, best sellers first, and its sales rise quickly, then bend, then keep rising by smaller and smaller steps. They never quite flatten.

  • The quick rise. The first products are the big sellers, and with little else on the shelf they pick up a lot from everything left out.
  • The bend. As similar products are added, each one finds more of its sales already being picked up.
  • The long tail. Every product has a lost share that nothing else can pick up, so each addition is still worth something.
0% 50% 100% 0% 50% 100% Products in the range, best sellers added first Sales, as a share of the full range Range sales The products' own rate of sale pick-up
An illustration of the shape, not data from a category. The gap between the lines is pick-up. It is widest when the range is thin and closes as the range fills, because less and less is left out to be picked up.

What a product is worth to a range

Spanner gives each product a figure for what adding or removing it does to the sales of the whole range. On the Predicted Sales tab this is the Listing Contribution. It is rarely the product's own rate of sale.

  • Removing a product costs its rate of sale, less what the remaining products pick up for it, plus any pick-up it was providing for products that aren't ranged.
  • Adding a product brings its rate of sale, less what the range was already picking up for it, plus what it now picks up for products that are still absent.
SituationThe product is worthWhy
An empty range, the first productMore than it sells, sometimes several times as much.It picks up demand from every absent product it resembles.
A thin range, a product unlike anything rangedMore than its rate of sale.It brings its own sales and gives cover to absent products like it.
A well covered range, a product like many othersA fraction of its rate of sale.Most of its sales were already being picked up, or would be.
A well covered range, a product unlike the restMost of its rate of sale.Little else covers it, or its lost share is high.
Any rangeNever less than rate of sale × lost share.The lost share only sells when the product itself is on the shelf.

Part 4 shows how to read these figures in Spanner and use them to choose a range.

With a space model

The demand model knows nothing about space. If the document also has a space model, each product on a planogram has a merchandising index: 1 is neutral, above 1 means its position and facings lift its sales, below 1 means they hold it back. The two models combine like this:

A product's predicted sales = its demand model sales × its merchandising index
                                         + what other products' merchandising gives it or takes from it

Better merchandising doesn't create all its extra sales from nowhere. A product lifted by its merchandising keeps the whole lift, but only part of it is new to the range. That part is the space model's Incremental setting. The rest is taken from the products like it that are also ranged. A product held back by its merchandising is the mirror image: part of what it loses goes to the products like it.

Demand model sales 100, merchandising index 1.3, Incremental set to one third Demand model sales 100 10 20 Lift of 30: the product sells 130 10 is new to the range. 20 comes from similar products, which each sell a little less.
In a full range, where everything like the product is on the shelf. In a thin range less is taken from other products, because fewer of them are there.

When you compare two planograms, Spanner can split the change in predicted sales into a range effect and a space effect, without treating either as coming first. Part 4 explains how.

The equations, and how well they fit

This section is for readers who want the sums. Everything above holds without it.

The demand model in four lines

Range sales = the rate of sale of the products in the range + pick-up from the products left out
Pick-up from a product left out = its rate of sale × (1 − lost share) × cover
Share = of the rate of sale of products like it, the part that is in the range
Cover = share ÷ (share + give-up × (1 − share))

Give-up is the share of shoppers who stop looking when their substitute isn't there. It is the cover curve written as a share of shoppers.

What one product adds

Adding a product adds its rate of sale × (1 − what was already being picked up for it)
                            + what it newly picks up for the products still left out
  • In a thin range almost nothing was being picked up for it, and it picks up for others. It adds more than its own rate of sale.
  • In a full range everything that could move was already being picked up. It adds its rate of sale × its lost share.

So the lost share decides how flat the far end of the curve is, and the cover curve decides how fast the start rises.

Following the data: direct, and all cycles

Substitution data says what happens when one product is missing from a full range: how much of its sales is lost, and how much moves to each substitute. To ask the data about a smaller range, where many products are missing at once, the transfers have to be followed.

  • Direct only. A missing product's demand counts as served only where it moves straight to a product that is in the range.
  • All cycles. Where it moves to a product that is also missing, it is passed on again, in the proportions of that product's own substitutes and less that product's lost share. This repeats until the demand lands on a product in the range or is lost.

Direct only is what the data records. All cycles adds an assumption: a shopper whose substitute is also missing behaves like that substitute's own shoppers. A model with no cover curve matches the data followed directly. The cover curve is what lets it match all cycles.

A rough first stab: the A and B curve

The Grouped Products Demand Shapes tab, in Part 2, fits a much simpler curve to each group of products, taken best sellers first:

The nth product adds A ÷ nB
  • A is what the first product serves.
  • B is how quickly each further product adds less. With B at 1, the second adds half of A and the third a third.

It needs no model and is a quick way to see whether groups behave differently. But it is a rough first stab. It knows only a product's position in the list, not how big it is, what is like it, or how much of it is lost. The demand model knows all three, so it gives a fuller fit.

0% 10% 20% 1 5 10 15 19 Products in the range, best sellers first What this product adds Data, followed through all cycles Demand model A and B curve The product's own sales
One segment of 19 products from a real set of substitution data. Each figure is a share of the segment's whole demand. The A and B curve is smooth and stays too high at the end. The demand model follows the steps and ends where the data does.
ProductIts own salesData, all cyclesA and B curveDemand model
1st adds17.9%23.4%25.2%23.0%
2nd adds13.3%17.3%17.6%18.2%
5th adds6.4%6.0%6.0%6.1%
10th adds4.1%3.2%2.9%3.4%
15th adds1.9%1.2%1.9%1.0%
19th adds0.2%0.1%1.5%0.1%
All 19 together100%100%103.8%100%
  • The start. The first two products add about 130% of their own sales, because they pick up for everything left out. Both curves show this.
  • The steps. The data rises in steps, where a big product or one unlike the rest comes in. The demand model follows them. The A and B curve cannot.
  • The tail. The last products add about half of their own sales, which is their lost share in this data. The demand model gets this from the lost share. The A and B curve fades by one rule whatever the products are, so here it is too high.
  • The end. The demand model stops at exactly the full range. The A and B curve has no end and passes 100%.

What is worked out when a model is built

Lost shareFor each product that has substitution data, its lost demand ÷ its total demand, both from that data. The segment's default is the average of those, weighted by demand. It is used for the segment's products that have no substitution data.
StrengthsFor each attribute, from one value to another: the demand that did move between them, against what would have moved if demand simply followed size. Staying with the same value is 1.
WeightsOne for each attribute, chosen so that the substitutes the data shows are as likely as possible.
AttributesIf you leave the choice to Spanner: the classifications that make the data's substitutes most likely.
Between segmentsHow readily one segment's shoppers move to another.
Cover curveFor each segment, a set of settings is tried on its best 1, 2, 3 and more sellers. The one closest to the data followed through all cycles is kept. A segment needs at least 8 products with data, with most of their moving demand staying among them. One with less takes the curve fitted across the whole model, or none.

The segments and their rules are yours, and the rate of sale comes from your sales data. Nothing is taken from the A and B curve: everything it could tell the build is already in the transfers, product by product.

How far to trust each end

  • The data is strongest at the tail. Substitution data is collected from ranges that are nearly full, one product missing at a time. Lost shares and strengths are read almost straight from it.
  • The start is furthest from the data. Nobody measures a range of three products. What the model says there comes from following the data through cycles, which is an assumption. The real start may well be faster.
  • Lost share may be overstated. Grocers that have cut their ranges have often seen little change in total sales, which suggests that less is lost from a full range than loyalty-card methods report.

A model has a setting for each of these beliefs. The give-up scale lifts the start, and the lost share scale flattens the far end. Both are your judgement, and a build never sets them. See Two settings that are your judgement in Part 3.

What it can't tell you

The model gives well-founded guidance. It is not a precise forecast, and it is worth knowing where it is weakest.

  • Totals are good, single products are rougher. For a whole range, or a group of products taken out together, the model is usually within a few points of the substitution data. For one product it can be further out. Better attributes improve this.
  • Substitution data is most of the picture, not all of it. A retailer's report rarely covers exactly the products in your document. The model carries what the data shows to products the data doesn't cover, by their attributes. That is its purpose, and it is also an assumption.
  • Rate of sale already contains some pick-up, because it is measured in real ranges where other products were missing.
  • Cover is measured against the products in the document. A document holding only part of the market will show more cover than there really is.
  • It measures demand only. Supplier terms, range rules, availability and what you know about the category also decide a range.

Next: Part 2, Substitution Data and Grouping, on the data the model is built from.

Want help with a demand model?

A demand model for your category is worth setting up carefully. We can build one with you, from your substitution data and your knowledge of the category.

Email us Book a Demo