Thursday, 7 December 2017

Quibans 74: Parking fines

The article below is excerpted from the Cambridge News website (link at the foot of the page).
Read the article, carry out some calculations and comment on the substance of the article.  Some of my ideas follow the article (after a jump).

Where you are most likely to get a parking ticket in Cambridge

One Cambridge road has seen more drivers slapped with parking tickets than any other, new data has revealed.  If you park regularly on Chesterton Road, to the north of the city centre, you may well have seen parking wardens issuing yellow tickets as it is the number one place to get a ticket in Cambridge.
The fining hotspot was revealed after a Freedom of Information Request by insurance comparison website, which has detailed an interactive map with its findings.
The data also shows Cambridge was the top city in the East of England for parking fines, with twice as many handed out in the city over three months compared to the next ranking area.
Cambridgeshire County Council issued a total of 12,234 penalty charge notices between July and September 2017, making £281,025 of revenue.
But the region's second parking fine hotspot - East Hertfordshire - lagged behind with 6,950 fines on motorist's vehicles generating a revenue of £191,878.
Simon McCulloch, director at said: "Our parking fines hotspots have revealed that motorists need to be extra vigilant when it comes to something as simple as parking their vehicle correctly if they want to avoid a hefty fine.  If you do find yourself with a PCN, it’s worth checking your ticket, as you can often reduce the fee by half, simply by paying it within 7 or 14 days, depending on your local council."

The top 10 parking fine areas in East of England

1. Cambridge (12,234) - £281,025
2. East Hertfordshire (6,950) - £191,878
3. Watford (6,428) - £136,818.69
4. Norwich (5,719) - £171,570
5. St Albans (4,963) - £132,570
6. Colchester (4,791) - £91,220
7. Ipswich (4,551) - £107,044
8. Welwyn Hatfield (3,599) - £79,650
9. Dacorum (2,800) - £90,459
10. Basildon (2,365) - £74,746

Write down comments about the article above before scrolling down to see what I have written.














Here are a few ideas.  These are not necessarily complete - there are likely to be other things that can be worked out too.

First of all, it doesn't seem sensible to draw a pie chart (the whole pie would refer to the number of fines or the amount of money from only the top 10 places).  A bar chart might show this well.  A scatter graph would show the relationship between the number of fines (given in brackets) and the amount of money collected.

It is clear that the ranking has been carried out on the number of fines rather than the amount of money, because the former goes down in order whereas the latter jumps around a bit.

We could work out the correlation coefficient and finding that this is 0.95 we could comment that there is a very strong positive correlation between the number of fines and the amount of money paid in fines.  This is perhaps unsurprising.

The 69 pence involved in the Watford total looks a little strange!

The spreadsheet below shows the amount of money per fine.  Presumably the 'money per fine' is not a round number in most cases because fines are different in car parks and on the side of the road and because you get a discount if you pay quickly.  

This makes the Norwich figure of exactly £30 per fine look a little odd.

I followed the link in the article and found the original data.  Here is the section for the East of England:

First of all, this is in alphabetical order of location!  Surely actually ranking them would be more sensible?
Then we have the 'location' which, as per the article, is presumably the location with the most fines.
Finally - have a look at the Norwich revenue!  This wasn't disclosed for some reason.  

The author of the Cambridge News article appears to have decided to assume all of the Norwich fines were £30.  I find it a bit galling that they didn't disclose that in the article.
Maybe a better way to do this would be to use the average of the fines in other places, or to look at the highest and lowest and to give an upper/lower bound?

Final problem with this article and this research is that not all the places listed are the same size!  It would make sense to factor in the population or the number of cars or the number of visitors rather than using the raw figures.

Oh - and last thought: the first sentence is surely trivially true?  Unless there is a tie then it will always be the case that "One Cambridge road has seen more drivers slapped with parking tickets than any other" !

Saturday, 18 November 2017

Quibans 73: Food waste

Here are excerpts from four Guardian articles, all from 2017. The original headlines are shown in bold.

Nearly half of all fresh potatoes thrown away daily by UK households

Nearly half of the edible fresh potatoes bought by UK householders each day are thrown away - 5.8 million of them per day, and at a “staggering” annual cost of £230m, figures show.

The humble spud is the second most wasted food in the UK, behind bread, according to campaign material released on Wednesday. The research was offered in support of a government campaign to encourage consumers to reduce their domestic food waste.

The UK churns out 10m tonnes of food waste a year – of which 7.3m tonnes come from households. The estimated retail value of this is £13bn, and Wrap calculates that a typical family wastes £700 of food a year.

Britons to throw away £428m worth of barbecue food in August, study reveals

It’s symbolised by dismal burgers and carbonised sausages served on paper plates with a splatter of ketchup. Yet with the great British summer well under way, Britons are this month set to throw away a staggering £428m worth of barbecue food, research reveals.

In August the nation will brave the changeable weather to enjoy nearly 12m barbecues, with people on average either hosting or attending at least two of the seasonal gatherings. The new research from supermarket chain Sainsbury’s shows that hosts typically over-cater to impress friends and family, with more than half (49.2%) putting on a larger than necessary spread.

Salad leaves, burger rolls, hot dog buns, coleslaw and potato salad are the top five food items most likely to be wasted during barbecue season, the research found, amounting to £36.47 worth of food waste at each event. The total does not include drink.

Salad days soon over: consumers throw away 40% of bagged leaves

Britons throw away 40% of the bagged salad they buy every year, according to the latest data, with 37,000 tonnes – the equivalent of 178m bags – going uneaten every year.

UK throwing away £13bn of food each year, latest figures show

An estimated 7.3m tonnes of household food waste was thrown away in 2015 – up from 7m tonnes in 2012.

UK households binned £13bn worth of food in 2015 that could have been eaten, according to new figures which suggest that progress in reducing the national food waste mountain has stalled.

Of the food thrown away, 4.4m tonnes was deemed to be “avoidable” waste that was edible at some point before it was put in the bin or food waste caddy – such as bread that goes mouldy – compared with 4.2m tonnes in 2012. The rest were scraps that could not be eaten such as meat bones, eggshells, tea bags, coffee grounds, apple cores and fruit and vegetable peelings.

That meant the average UK household wasted £470 worth of food, which went in the bin when it could have been eaten. The avoidable food waste generated 19m tonnes of greenhouse gases over its lifetime – and preventing that pollution would be equivalent to taking one in four cars off UK roads, Wrap said.

Here are some possible questions:
  1. How much does one potato cost?
  2. How much does a kg of food cost?
  3. According to the figures in the first article, how many families are there in the UK?
  4. What errors/inconsistencies are there in the articles?
  5. How do the figures in the BBQ article fit together? 
  6. How much does one bag of salad weigh?
  7. How many bags of salad are bought each year?


Sunday, 5 November 2017

Quibans 72: Academy football

From BBC Sport.  There is some Fermi estimation here alongside the usual skills.

Academy football: Zac Brunt case
There are an estimated 3,000 children aged between nine and 16 in Premier League academies, with thousands more throughout the Football League.

"Unless you're the next [Cristiano] Ronaldo, clubs don't want to pay £120,000 for a 15-year-old."  Aged 15, Zac Brunt has been part of academies at Aston Villa, Manchester City, Atletico Madrid, and most recently Derby.  He spent the past two years with the Championship club's elite academy on what is commonly known as an Elite Player Performance Plan (EPPP) - designed to bring the best young players, the best coaches and the best environments together at an early age.

"I felt like I wasn't getting anywhere at Derby," Brunt told the BBC. "Other clubs are interested but the fee is so big. For two years work, have I cost Derby County £120,000? Probably not.  "I think this could be the end of my career. I can't go anywhere else apart from semi-professional - the highest level I can go - unless a professional team buys me out of this clause."

The Premier League and the English Football League (EFL) said the "vast majority" of young players moving between academies have compensation waived.

Why so much money?
Compensation formula for academy players when joining another club
Age group of player
Category of club academy leaving
Applicable annual fixed fee - new club to pay
U9 to U11
All Categories
U12 to U16
Category 1
U12 to U16
Category 2
U12 to U16
Category 3

The £120,000 compensation fee that any other academy must pay Derby to sign Brunt is worked out from his three-year registration at their category one academy (£40,000 + £40,000 + £40,000).

Brunt says he understands the need for a rule to protect clubs' investments, but added: "I know a few boys who have been absolutely ruined by this rule and they had to stop playing football and go and play non-league or something like that because they just can't get in anywhere.

Brunt's dad Glen says his son has been for trials with other top clubs, but the compensation fee is putting them off - comparing it to the £7,000 Derby paid Manchester City to sign the youngster themselves.

So is this an unusual case?
The Premier League and the EFL say so.  For example, from about 3,000 Premier League academy players last season, 210 left a club early and, of those, 182 (##%) had compensation rights waived. That percentage has remained above 80% for the past three years.

  1. What inconsistencies are there in the article?
  2. How many children are there in each age group in each club in the premier league?
  3. If Derby get £120,000 what will their percentage profit be?
  4. What percentage of players leave a club early?
  5. How many players from each age group leave each team early each year on average?
  6. How many of these players will play premier league football?

  1. He has been at Derby for two years, but will apparently cost other clubs the equivalent of three years of payments (3 x £40,000).    Why did Derby pay £7000 for the player?  Where does that fit into the structure?
  2. Slightly strangely, “Under 9s” means players who are under 9 years old at the start of the season.  By the end of the season it might be the case that all the players are actually 9 years old.  The phrase at the start of the article: “there are 3000 players aged between 9 and 16” might refer to 7 year groups or to 8.  There are 20 clubs in the premier league.  This gives about 20 players in each year group at each club (3000 / (20 x 7.5) ).
  3. 120,000 / 7000 = 17.14   Subtract 1 to leave the profit and then express as a percentage: 1614%
  4. 210 / 3000 = 7%.  [Also: the hashed out figure is 87%.]
  5. 210 leave 20 clubs, which is 10.5 from each club.  Presumably we shouldn’t include the oldest year group (“leave the clubs early”), so divide this by 6 or 7.  It’s just under 2 per year group at each club.
  6. This is interesting (and hard!).  If a club has a senior playing staff of about 30, aged between 18 and 33 then about two of them will retire each year.  Some of the other players will move abroad or to lower-league teams, but some will be replaced with players from abroad or from lower leagues.  Maybe 2 per year from the youth team making it through to each premier league squad is reasonable.  So that’s about 10% of those who are in the top year group.

Friday, 20 October 2017

Quibans 71: I’d walk a million miles for one of your goals

Apparently (thanks to Scott for the heads-up), Scottish football fans sing “I’d walk a million miles for one of your goals”.  [Link]  

What questions could we ask and answer?  (My suggestions are below.)
How many times around Scotland would that be?
How many trips from Land’s End to John O’Groats?
How long would it take you?  (What is a reasonable number of miles to walk in a day?)

According to Wikipedia, the mainland coastline of Scotland is 6160 miles and the border with England is 96 miles.  This gives 6256 miles in total and 160 laps will be necessary to get over 1 million miles.
Land’s End to John O’Goats is 874 miles – so that’s 1145 journeys to get over a million miles.  (One journey being counted as one direction only.)

If you walk 30 miles a day then it will take over 91 years to do it.  What age would you need to be to start walking this sort of distance, though?

Monday, 18 September 2017

Quibans 70: Commuting by train

As part of an article about commuting an article from the Daily Telegraph includes an information box.

It gives numbers and what they stand for.  Match them up.

700 million

100 million

2.99 million



Journeys made by season ticket holders out of Waterloo station alone

Average amount of weekday morning trains at peak times that were overcrowded

Number of people commuting more than two hours per day in 2014, an increase of 72pc in 10 years

The number of journeys made by season ticket holders across the UK in 2014-15.

Number of people forced to stand every morning on peak trains into the capital - an increase of 19,000 in a year

Here is the box in full:


1) What percentage of journeys that were made in 2014-15 involve Waterloo station?

2) How many season ticket holders are there?

3) How many people commuted for more than two hours per day ten years previously?

4) What percentage of season ticket holders travelled longer than 2 hours?

5) By what percentage did the number of people forced to stand on trains into London rise by?

6) If that percentage increase continues, how long will it be before half a million people are standing?  Is this realistic?


1) 100/700 = 14.2857...%  Given that the two numbers are clearly not exact it would be appropriate to give the percentage as 14%.

2) This is difficult!  700 million journeys per day.  If a passenger takes more than one train does that count as more than one journey?  How many days per year will they travel?  48 working weeks x 5 days = 240 work-days per year, which will be at least 480 journeys (there and back) per person.  Some will take more than one train so let's call that 500 journeys per person on average.  700 million / 500 = 1.4 million commuters.

3) 2.99 million is 172% of the 10-years-ago value.  Back then it was 2.99 million / 1.72 = 1.74 million

4) 139000 out of 1.4 million = 9.9%.  Call it 10%

5)  In the previous year 120,000 people stood on their train and it rose by 19,000.  This is a 15.8% rise (16%)

6) We need 120 * 1.16^n > 500.  Then we need to subtract 1 from n.  Use a spreadsheet to see that n=10 is the first time 500 is breached.  So a further 9 years will be required.  This involves major extrapolation, so is unlikely to be accurate.

Sunday, 17 September 2017

Quibans 69: QR code of trees

From BBC News:

Chinese maze: Village makes giant tech code from trees

At first glance, it could be the courtly maze of an English country manor - albeit with some rather large gaps.

But a tech-savvy eye will instantly see the green design for what it is - a massive QR code.  These high-tech barcodes are hugely popular in China as a way to make cashless payments on a smartphone.

Xilinshui village, in the northern Hebei province, has created one from trees in a bid to raise its profile.  The design was made from 130,000 Chinese junipers, and can be scanned from above using a phone or tablet.

It is not clear how high above the trees you would have to be to scan it - or how you might get there - but visitors who successfully capture the code will be connected to the village's tourism account on WeChat, a Chinese social media site.

The vast design measures 227m (744ft) along each side, and the trees are between 80cm and 2.5m in height, the South China Morning Post reports.  Xilinshui was named "the most beautiful village in Hebei" in 2015, and received a 1.1 million yuan ($168,000; £124,00) development grant from the province.

Some possible questions:

1) What typo is there in the article?
2) You can see this as being made up of square pixels.  What is the side-length of each pixel?
3) How many juniper trees are there in each pixel?
4) What is the conversion factor between metres and feet?
5) Convert the heights of the trees to feet and inches.
6) What are the conversion factors between the currencies?
7) If they spent all of the development grant money on tress how much was each one?
8) How long might it have taken to plant all of the trees?

Some answers:

1) Typo: “($168,000; £124,00) development grant” – it looks as if a zero is missing from the sterling figure.
2) Side-length of each pixel: I count 37 pixels along each edge, but if the empty border is included then it is 39 by 39.  227 metres divided by 37 is 6.1m, whereas 227m divided by 39 is 5.8m.  Let’s say 6m.
3) Number of trees in a pixel: I counted part of it and then scaled up – I got about 650 tree-filled pixels.  This means there are, on average, 200 trees per pixel.
4) What is the conversion factor between metres and feet?  Remember there are 12 inches in a foot.  3.278 feet is 3 feet 3 inches.
5) 80cm is 2 feet 7 inches.  2.5m is 8 feet 2 inches.
6) Convert currencies: $1 = 6.55 yuan.  £1 = $1.35 £1 = 8.87 yuan.
7) Cost of a tree:  8.46 yuan.  About 95 pence.
8) How long to plant them:  If we assume one minute per tree (because they were very small when planted) and an 8 hour day, five days per week, then it would take one person 54 weeks to plant the trees.  Essentially it is a year.  If we have two people working on this then we can divide the time required.  If it takes longer than a minute to plant a tree (which is likely!) then we will need to multiply.

Thursday, 17 August 2017

Quibans 68: Human Chain

 from the Daily Telegraph:

Beachgoers form incredible human chain to save drowning family  

This is the incredible moment strangers on a beach formed a human chain to save a drowning family caught in a riptide in the Gulf of Mexico.
Dozens of beachgoers, including some who couldn’t swim, joined together and linked arms to help nine people, including two young children, swept away by the powerful offshore current.
Around 70-80 people were involved in the dramatic rescue effort on a busy Panama City Beach in Florida on July 8.
Jessica Simmons, a strong swimmer who jumped in to help, along with her husband, initially assumed there was a shark in the water before she realised people were drowning. 
“Some people started gathering people on the beach to form a human chain,” she said. 

How far out to sea were the family?  Give an upper bound and a lower bound.

Quibans 74: Parking fines

The article below is excerpted from the Cambridge News website (link at the foot of the page). Read the article, carry out some calculati...