Grouper basics · Step 4

Reading the Grouping

Grouper finds the bubbles in a category from the switching in a retailer's substitution data, and from nothing else. This guide says what bubbles, sub-bubbles and families are, how Grouper finds them, and how to read the grouping screen: the tree, a bubble's page, its name, and the versions of your data.

Bubbles, sub-bubbles and families

Substitution data says, for each product, which other products its shoppers switch to when it isn't there. Grouper calls what goes between two products their switching. From the switching alone, it finds the sets of products that shoppers treat as alternatives. Your coding plays no part in finding them.

BubbleA set of products that shoppers switch between more than the products' sizes alone would give. Every product with any switching has one.
Sub-bubbleA bubble within a bubble, found by looking at that bubble alone. Not every bubble has them.
FamilyBubbles that join one another, through enough switching between them.
CentreThe product a bubble turns on: the one with most of the switching inside the bubble.
Second bubbleThe other bubble a product is pulled to most. A product pulled nearly as hard to both is marked as one that could sit in either.

Grouper finds them the same way every time. Open the same data next week and you see the same bubbles, with the same products in them.

Why it matters

Because the bubbles come from what shoppers did, and not from your coding, they are a test of the coding. The shoppers test the coding, not the other way round.

Where a classification's values follow the bubbles, it describes how shoppers choose. Where they don't, either the coding is wrong, or shoppers choose by something your coding doesn't hold. Either is worth knowing. And because the coding plays no part, changing it never moves a bubble: it only changes the figures measured against them.

This guide is for Grouper 1.0. It assumes your project has substitution data. If it hasn't yet, start with Bringing In Your Data.

How Grouper finds them

One rule is used at every level: two products are close when the switching between them, both ways, is more than their sizes alone would give.

If shoppers had no preferences, the sales a product gives up would spread over the other products in proportion to their size. A product's size, here, is how much switching it has. Two big sellers will always swap some sales. Two that swap far more than their sizes explain belong together.

  1. Every product starts as a bubble of its own.
  2. The two bubbles that belong together most are joined, then the next two, and so on. Along the way Grouper keeps the set of bubbles that holds the most switching inside, beyond what sizes alone would give.
  3. Each product is then put with the bubble that pulls it hardest.

There is no chance in it, and no setting for you to choose. Run it again on the same data and you get the same bubbles.

Sub-bubbles

Grouper then takes each bubble of six or more products by itself, and runs the same rule on it as if it were the whole category. Where it finds a clear split, into parts of two or more products each, those parts are the bubble's sub-bubbles. Where the split isn't clear, the bubble has none. Grouper looks one level down only: a sub-bubble has no sub-bubbles of its own.

Families

Two bubbles join when at least 5% of the smaller one's switching is with the other. Bubbles that join, directly or through another bubble, are a family. A bubble that joins no other isn't called a family of one: it stands by itself. So a family is the wider choice, a bubble the choice within it, and a sub-bubble the choice within that.

A family A bubble with two sub-bubbles they join A bubble with no sub-bubbles A bubble that joins no other A product A centre
Two bubbles that join make a family. The first has two sub-bubbles inside it. The ringed product in each bubble is its centre. A bubble that joins no other stands by itself.
Spanner 2 groups the same kind of data with Group from Bottom and Group from Top: see Substitution Data and Grouping. Those build a tree in a Spanner document, with settings you choose, and you can move products by hand. Grouper uses one rule with nothing to set, and adds sub-bubbles and families. In Grouper 1.0 you can't move a product to another bubble: you name the bubbles, and the switching decides what is in them. To use Grouper's bubbles in Spanner, save Grouper's spreadsheet and import its bubble columns as classifications: see Importing Classifications from Excel.

The grouping screen

On the project screen, under Grouping, choose Open the grouping…. It is greyed until the project has substitution data, because the grouping is found from it. The screen opens on the base version, with the bubble that sells most in view. Back to the project takes you back.

The grouping screen: a summary of what was found, a Version list and buttons across the top; the tree on the left, starting with The category as a whole and The coding against the bubbles, followed by the bubbles; and on the right a bubble's page with its name box, buttons for an AI, the lines about it and What divides it
The grouping screen. Across the top, what was found, the choice of version and the buttons for the whole grouping. On the left, the tree. On the right, the page of the bubble chosen in it: its name, what it is and what divides it. Its products are listed further down the page.

Across the top

The title names the version that is grouped. Where the project has more than one version, the Version list beside it chooses another: see Versions, below.

Under the title, a few lines say what was found:

  • How many bubbles and sub-bubbles there are, for how many products, and how much of the switching the bubbles keep inside them.
  • How many bubbles join one another, in how many families, and how many join no other.
  • How many products could sit in either of two bubbles.
  • Any products with no switching at all. They have no bubble.
Some reports give only each product's top five or ten substitutes. Grouper notices, and the lines at the top say so. The smaller links between bubbles are then missing from the data, so the bubbles look more separate than they are, and fewer of them join into families. Read the families with that in mind.

On the right are the buttons for the whole grouping. Save as a spreadsheet… and Save the map… save this version's grouping to share. Under them, Copy ‘name all bubbles’ for an AI, Copy ‘what divides the bubbles’ for an AI, Paste the AI's reply and the Name sub-bubbles too tick are for working with an AI: see Using an AI with Grouper. After each copy or paste, a line in colour under the summary says what was copied or taken.

The tree

The tree on the left lists everything there is to look at. Choose a line and its page fills the right.

The category as a wholeFirst in the tree. How the category is shopped, as an AI reads it, with what is measured beside it; and where there are several versions, how they compare.
The coding against the bubblesThere where the project has classifications. How each classification stands against the bubbles, and the products to look at.
A familyCalled Family 1, Family 2 and so on until you name it, with its bubbles under it. The line beneath its name says how many bubbles join, how many products they hold, and their share of sales.
A bubbleIts number and its name. Bubbles are numbered B1, B2 and so on by sales, the biggest first. The line beneath says how many products it has, its share of sales, and how much of its switching it keeps inside. A bubble that joins no other stands in the tree by itself, not under a family.
A sub-bubbleUnder its bubble: open the bubble with its arrow. Numbered from its bubble, so B3.1, B3.2 and so on, with the same line beneath.

A name too long for the tree is cut at its edge: point at it to see it whole. To widen the tree, drag the bar between it and the page.

The tree's first two pages

The first two lines open pages about the grouping as a whole. Each will have a guide of its own. Until then, each page says what it is for, and pointing at a button tells you what it does.

The grouping screen with The coding against the bubbles chosen in the tree: the Copy coding review for an AI and Paste the AI's reply buttons, a table with a line for each classification, and under it the products to look at
The coding against the bubbles: a line for each classification, saying how far its values follow the bubbles, and under it the products to look at.
The grouping screen with The category as a whole chosen in the tree: buttons to copy texts for an AI about how the category is shopped and about the versions, and a box of text beneath
The category as a whole: what an AI makes of how the category is shopped, with what is measured beside it, as one text you can select and copy.

A bubble's page

Choose a bubble in the tree and its page fills the right. It has four parts: its name, what it is, what divides it, and its products. A sub-bubble's page is the same. A family's is shorter: see the end of this section.

Its name

At the top, the page says what you are looking at, such as Bubble B3 or Sub-bubble B3.2, and gives its name in a box you can type in: see Names, below. Beside the box are Copy ‘name this bubble’ for an AI, Copy ‘what divides this bubble’ for an AI and Paste the AI's reply. On a sub-bubble's page the first is Copy ‘name this sub-bubble’ for an AI.

What it is

Under the name, a few lines describe the bubble. They call switching transferred spend: the sales that move from one product to another.

  • How many products it has, its share of sales, and how much of its products' switching it keeps inside it. The more it keeps, the more shoppers treat it as a choice of its own.
  • Its centre, by name: the product most of the switching inside it goes through.
  • Whether it has sub-bubbles. A bubble of six or more products with none says it has no clear bubbles inside it.
  • The bubbles it joins, each with the share of its switching that is with that bubble, and what tells the two apart where an AI has said. If it joins none, it says so. A sub-bubble's joins are with the other sub-bubbles of its bubble.
  • What marks it out in the coding, where the project has classifications.

That last line begins In the coding. It lists the values that mark the bubble out from the rest of the category, each with how many of its products have it and how common it is elsewhere: for example, Flavour ‘Berry’ for 9 of 12 (10% elsewhere). A value marks a bubble out when at least a fifth of its coded products have it, and either half of them do or it is one and a half times as common as elsewhere. A value that most of the rest of the category has too doesn't count. For a sub-bubble, elsewhere means the rest of its bubble. Where nothing qualifies, the page says that nothing in the coding marks it out.

This is the quickest way to see what a bubble is. It is a good clue to its name, but not the whole answer.

What divides it

Under What divides it is what shoppers choose by inside the bubble: once they have settled on this set of products, what decides between them.

  • What an AI said, once you have asked with Copy ‘what divides this bubble’ for an AI. Until then the page says no AI has been asked. An AI may answer that nothing is clear; that is kept too.
  • Grouper's own check of each classification. Of the switching between the bubble's products, it takes the share that is between two products with the same value, and sets it beside what the same values dealt out at random among those products would give. A line such as Flavour explains switching here, strongly gives both figures.
  • The classifications that do no better than chance, together on one line.
  • Those that couldn't be checked, and why: too few of the bubble's products are coded, every product has the same value, or every product has a value of its own.
  • The metrics and shopper figures in which products that switch are closer than chance.

A classification is said to explain switching only when it beats every one of a hundred random deals of its values, and by a clear margin. Well clear, and it explains switching strongly; otherwise, partly. The hundred deals are always the same, so the figures don't change from one look to the next.

A classification that explains switching inside a bubble describes how shoppers choose there. One that does no better than chance, however sensible it looks, doesn't. Where a bubble's products don't switch with one another in the data, nothing can be said of what divides it, and its button is greyed.

Its products

The table lists the bubble's products, the centre first, then the rest by how much of the bubble's inside switching each carries.

Product ID, Product, SalesThe product's code, its name and its sales.
NoteCentre for the bubble's centre. Could also sit in, with the other bubble, for a product pulled to its second bubble nearly as hard as to its own: its switching with the second is at least two thirds of its switching with its own.
Sub-bubbleWhich sub-bubble the product is in. There only where the bubble has sub-bubbles.
With its own bubbleThe share of the product's switching that is with its own bubble.
Second bubbleThe other bubble it is pulled to most, and the share of its switching with that bubble. Empty where all its switching is inside its own bubble.
Look hardest at the products marked Could also sit in. Grouper must put each product in one bubble, but these are pulled nearly as hard to two. A small change in the data can move them, and where they belong is a judgement for you.

To take products into Excel, select their rows and press Ctrl+C: they are copied with the column headings.

A family's page

A family's page gives its number of bubbles and products and its share of sales, and says that its bubbles join one another, directly or through each other. Its table lists every product of its bubbles, with a Bubble column in place of Sub-bubble. It has no What divides it: ask that of each bubble in it. Its naming button is Copy ‘name this family’ for an AI.

Names

Each bubble and sub-bubble starts with its centre product's name, and each family is Family 1, Family 2 and so on. These only hold the place. A good name says what the bubble's products have in common that the others' don't, in the words a category manager would use.

  1. Choose the bubble, sub-bubble or family in the tree.
  2. Type the name in the box at the top of its page. The tree changes as you type, and the name is saved with the project a moment after you stop.
  3. To go back to the usual name, empty the box. Point at the box to see what the usual name is.

Names that last

Grouper keeps a name against the bubble's centre product, not against its number. When you bring in next month's data, the bubbles are found afresh and numbered afresh, so B3 may now be B4. But a bubble that still turns on the same product keeps its name.

If a bubble's centre changes, the name doesn't follow it: the bubble takes whatever name is kept against its new centre, or that product's own name. Type the name again. A sub-bubble's name is kept the same way, and a family's against the centre of its biggest-selling bubble.

Names from an AI

An AI can name every bubble at once, or the one in view. Its name takes the place of whatever the bubble was called, your own name included, because you asked for it. A name you type afterwards stands over the AI's, and emptying the box then goes back to the AI's. See Using an AI with Grouper.

Versions

A project can hold several versions of the substitution data: this year and last, or the same period from two sources. One is the base, the one shown first. Grouper groups each version on its own, and never mixes them.

  • Where the project has more than one version, a Version list sits beside the title. The base is first, marked (base), and is in view when the screen opens.
  • Choose another version and the screen is made again for it: its own bubbles, sub-bubbles and families, numbered by its own sales, and its own coding page. The coding is the same; it is measured against that version's bubbles.
  • While a version other than the base is in view, the lines at the top say so: these are its own bubbles, and a bubble here has the name of any bubble, of any version, with the same centre product.

So a name follows the centre product from version to version. A month on, that is usually the same set of products. Where it isn't, type over the name. Because the name is kept against the product, it changes in every version where a bubble turns on that product.

Which version is the base is set on the project screen: see Bringing In Your Data. To set one version against another, choose The category as a whole and use Copy ‘compare the versions’ for an AI. It is greyed where no other version has been read.

When two versions differ, look at how many products moved. A product on the edge of a bubble can change sides on little. A difference counts for more where several products move together.

What next

  • Have an AI name the bubbles and say what divides each: see Using an AI with Grouper, the next step.
  • The coding's page, the category's page, the spreadsheet and the map each have a guide coming soon. Until then, each says what it does, and pointing at a button tells you more.
  • To plan with the bubbles in Spanner 2, save the spreadsheet and import its bubble columns as classifications: see Importing Classifications from Excel.
The bubbles are found on your own PC. Grouper sends nothing anywhere: it copies a text for an AI, and you choose where to paste it. See our privacy policy.