Around this time of year, everyone’s minds turn to the mathematics of random distribution and Bayesian inference, although these terms are not normally used.

This is all due to those tins or tubs or boxes of assorted chocolates, along with the fact that people have preferences among the chocolates on offer, and the problem that these preferences often overlap.

Two questions inevitably emerge:

**1) Why don’t they sell tins of each type of chocolate, and **

**2) Since they don’t, are the chocolates at least fairly distributed between tins?**

In this experiment, I set out to answer these questions. I would simply buy a large number of tins of a particular kind, find the average chocolate distribution, then sort them into tubs of each type and sell these tubs on eBay with all proceeds going to charity in order to establish their value.

Here in the UK there are a handful of big names that sell you a few delicious chocolates among a big tin of much less pleasant ones: Cadbury’s Roses, Cadbury’s Heroes, Nestlé’s Quality Street, and Mars’ Celebrations.

Of these, the Roses seem to cause the fewest arguments. Heroes are a bit boring and odd. Quality Street cause the most trouble with just a few delicious options among a terrible array of toffee-based disappointments.

Unfortunately there are twelve different chocolates in a tin of Quality Street, only two of which seem to be widely appreciated. I would probably have had to buy at least 13 tins, and I would be left with 10 very unpopular sweets to sell on eBay.

Celebrations were the most promising. There are just 8 types, all of which are quite acceptable, but some of which are nonetheless noticeably more delicious.

So over the course of a week I bought 9 tubs of Celebrations from three different supermarkets, the idea being I would have good odds of being able to make up 8 tubs of each type.

I cleaned out three containers, donned a pair of brand new rubber gloves for hygiene (even though the chocolates are individually sealed), and began sorting and counting.

This process took approximately 90 minutes, although would have been a good deal faster if I hadn’t been carefully counting as I went along, and hadn’t been distracted by Robert Llewellyn telling me how buildings are demolished.

**It rapidly became apparent that I had made a critical mistake.**

It turns out that the distribution of Celebrations is extremely consistent but very far from fair, and I would need an additional tub in order to make up a nice round number of single-type tubs. Over 10 tubs, I obtained the following totals:

213 Mars

202 Snickers

160 Milky Way

140 Bounty

131 Maltesers ‘teasers’

76 Galaxy Caramel

72 Galaxy Truffle

70 Galaxy

You can see the complete results in this Google docs spreadsheet.

Visually, that means a typical tub would look like this:

This presented a problem. In order to run a fair test on eBay, I needed each tub to have an equal number of chocolates, at least the same as the standard amount (which is, on average, 106.3).

The solution I settled on was that since (presumably) the Galaxy chocolates have a similar appeal, and there were so few of each type, I would bundle them together. In this way I was able to make up 9 tubs of 100 of a particular type, with a random additional 10 of the leftovers added so that there were more than the usual amount of chocolates, and also to make the end result look a bit more like some kind of hilariously improbable random sorting.

As I write this, I am about to put said tubs on eBay. These are the tubs I was able to put together, with links to the individual auctions:

[1] 100 Mars + 10 leftovers

[2] 100 Mars + 10 leftovers 2

[3] 100 Snickers + 10 leftovers

[4] 100 Snickers + 10 leftovers 2

[5] 100 Milky Way + 10 leftovers

[6] 100 Maltesers ‘teasers’ + 10 leftovers

[7] 100 Bounty + 10 leftovers

[8] 33 Galaxy Caramel + 33 Galaxy + 34 Galaxy Truffle + 10 leftovers

[9] 33 Galaxy Caramel + 33 Galaxy + 34 Galaxy Truffle + 10 leftovers 2

*(Auctions long since ended – links kept for posterity only)*

Of course, I can only put up one tub of each type for it to be a fair test. I will auction the remaining tubs at a later date.

I will give the results of the auctions in the next post.

-metatim

Pingback: The Celebrations Experiment: The Results « Tower of the Octopus

Pingback: Celebrations tubs in 2009: now with 12.3% less chocolate! « Tower of the Octopus

Pingback: The Celebrations Experiment « Tower of the Octopus

Pingback: Nothing About Potatoes | Things I found on the internet. Cannot guarantee 100% potato-free.

Pingback: The Celebrations Experiment: The Results | Tower of the Octopus