London

5 Chancery Lane
London
WC2A 1LG
01235 821 160
View map

Edinburgh

1 Lochrin Square
92 Fountainbridge
Edinburgh
EH3 9QA
01235 821 160
View map

Dublin Office

77 Lower Camden Street
Dublin 2
Ireland
D 02 XE 80

View map

Administrative Office

BH Office
Church Street
Ardington
Wantage
Oxfordshire
OX12 8QA
01235 821 160
View map

Send us a message
CLOSE X
Contact Us

Quantity Street, or why there aren’t any Green Triangles left

This statistic measures how different the actual tin of sweets was from the expected one, with a bigger statistic meaning more differences. If we took a random number from the appropriate chi-squared distribution, it would be this big or bigger about 60% of the time. In other words, assuming that each type of sweet is as common as the next, this distribution for a particular tin isn’t too unusual.

Now, as I mentioned, journalists have started to take an interest in this question, and naturally they’ve asked Nestle how the makeup of each tin is determined. A Nestle spokesperson told the i newspaper in 2018 that each tub is split roughly into thirds according to three categories of sweet, with five different types of chocolates, four different toffees and fudges, and only two types of fruit creme. This gives us an alternative hypothesis to test: that there really are more Strawberry Delights and Orange Cremes than the others, since they are the only ones in their category.

We can re-run the same test as before, but calculating our expected numbers of sweets based on this new theory:

Here, we’ve calculated the expected number of each sweet by allocating 91 / 3 = 30.33 sweets to each of the three categories, and then dividing these equally among the types in that category. The test statistic this time is even lower, at 6.15, suggesting this hypothesis could be a better fit. A random tin would have a test statistic as big as this about 80% of the time, assuming the hypothesis about equal numbers of each category is correct.

Purely in the interests of scholarly research, I popped round to the local supermarket to pick up a tub of Quality Street for myself. My slightly smaller tub had a total of 66 sweets, and I re-ran the previous tests using a combined sample from Stephen Hull’s tin and my tub.

If the sweets were equally distributed, we would get a test statistic of 9.54 or bigger about half of the time, and if they were distributed by category we would get a statistic of 12.55 or bigger about one time in four. These are both definitely plausible.

So, based on this sample size, we can’t conclude much: the distribution might be biased to include equal numbers of each category, or it might not be biased at all. This analysis could be taken further by considering factors like cost, weight or nutritional information of each sweet, which Nestle have also suggested are taken into account in their plans. Alternatively, the same chi-squared tests could tell us more if we bought more tins of sweets to give us a bigger sample size, but since I’ve got a dentist’s appointment in a few weeks, I think I’d better leave it there. I hope you have a happy and peaceful holiday period, and find all your favourite sweets in the tin.

Michael Scanlon

December 2021

-->
The changing shape of demand for APR’s services

Chris Bryce explains how the shape of demand for APR’s services has been changing, and how we continue to utilise our staff’s experience to support and deliver for our clients.

READ MORE
An Introduction to Natural Capital

Natural Capital is the world’s stocks of natural assets, including water, soil, air and geology. In this article, Alan Reed explores whether this can be accurately calculated, and how this information might be used both by industries and governments.

READ MORE
Gilt yield movements – why the BoE had to intervene

In this article Alan Reed and Sunil Ghosh analyse the recent volatility in gilt yields and shed light on why it was the UK pensions sector that prompted the Bank of England (BoE) to intervene in order to maintain financial stability.

READ MORE
The Green Bond Market

Jenn Claybourn gives an introduction to the green bond market. What are they, what are their benefits and drawbacks, and what does the future hold for this increasingly popular investment.

READ MORE
APR’s Approach To Graduate Recruitment

As the 2021-22 Recruitment cycle has been APR’s most fruitful graduate hiring season, Adam Smith gives an insight into the 4-stage process that ensures the recruitment of high quality graduate employees, alongside an overview of the outcomes of this year’s graduate intake.

READ MORE
Understanding the 2022 World Bank Carbon Pricing Report

Climate change is becoming an increasingly talked about issue. This article breaks down the executive summary of The World Bank’s State and Trends of Carbon Pricing report and suggests steps that need to be taken to achieve the 1.5oC target set in the Paris Agreement.

READ MORE
Parametric Insurance and Climate Change

Parametric insurance is a form of insurance that, whilst still relatively uncommon, is gaining greater prominence within the general insurance sector. In this article Rob Givens explains how parametric insurance differs from traditional indemnity insurance and, by way of some example case studies, highlights how it could become an increasingly important tool in dealing with the consequences of climate change.

READ MORE
April 2022 Exam Results

The April 2022 exam results have been published and APR student staff achieved an 89% pass rate across all IFoA exams taken. In this article, Jack Foley compares our performance with the industry average.

READ MORE
APR Charity Challenge 2022

APR recently held a Charity Challenge to raise donations for The Disaster Emergency Committee (DEC) through a virtual mission. In this article, Jenn Claybourn takes a look at the results, the money raised and the important cause this mission was for.

READ MORE
How to ruin tennis (a modelling sequel)

Ross Witney-Hunter and Josh Payne apply some statistical modelling techniques to try and predict the outcomes of this year’s Wimbledon singles competitions.

READ MORE