icon

Outer space: Pretty mean prices

John D. Barrow Share this page
September 2008

A Zimbzbwean banknote

Two hundred fifty million Zimbabwean dollars: in July 2008 these bought you less than 1% of an egg.

In these economically testing times we are increasingly familiar with price indices as measures of the rising cost of living. A typical measure will take the average of a "basket" of typical costs — a loaf of bread, a kilogram of meat, a pint of milk, a gallon of petrol, etc — and take an average of these, then do the same next month, or next year, so as to monitor how (or if) the cost of living is rising. This gives a measure of inflation. Of course, just because the index is rising, life need not get more expensive for you. If the price of fish rises sharply, but meat doesn't change, then you could replace fish with meat in your diet and avoid a rise in the cost of living.

Taking the average of all the prices in the "basket" can be done in different ways. The simplest average we are familiar with is the arithmetic mean (AM). If we have $n$ products $p_1,$ $p_2,$ ... and $p_ n,$ then the arithmetic mean is formed by adding the prices together and dividing by their total number:

  \[ AM = (p_1 + p_2 + \ldots + p_ n)/n. \]    
But we might also measure the geometric mean (GM) of $p_1$, $p_2$ , ... and $p_ n$ which is the $nth$ root of the products of the prices:
  \[ GM = (p_1 \times p_2 \times \ldots \times p_ n)^{1/n}. \]    
When there are just two quantities to average, so $AM = (p_1 + p_2)/2$ and $GM = \sqrt{p_1 \times p_2}$, since $(\sqrt{p_1}-\sqrt{p_2})^2$ can never be negative, we see that
  \[ AM \geq GM. \]    
And in fact this is true for any value of $n$: the arithmetic mean is never smaller than the geometric mean; they are only equal when all the prices, $p_ i$, are equal.

There are two interesting features of the geometric mean as a price index that make it appealing to governments, and some, including the United States in 1999, have changed the way they calculate their consumer price index from the arithmetic to the geometric mean.

An example

Suppose our basket consists of three items — whole milk, beef mince and super unleaded petrol — and that the national average prices in August 2008 and August 2007 were:

August 2008 August 2007
Milk £0.42 per pint £0.35 per pint
Beef mince £4.40 per kg £3.70 per kg
Unleaded petrol £1.2 per litre £1.03 per litre

The ratio of the arithmetic means for both years is

  \[ \frac{AM_{08}}{AM_{07}}= \left( \frac{0.42 \;  \pounds / pt + 4.4 \;  \pounds /kg + 1.2 \;  \pounds /l}{0.35 \;  \pounds /pt + 3.7 \;  \pounds /kg + 1.03 \;  \pounds /l}\right) \]    
Adding the units together does not make sense, so we are stuck and can't simplify this ratio further. The ratio of the geometric means is
  \[ \frac{GM_{08}}{GM_{07}}= \left( \frac{0.42 \;  \pounds / pt \times 4.4 \;  \pounds /kg \times 1.2 \;  \pounds /l}{0.35 \;  \pounds /pt \times 3.7 \;  \pounds /kg \times 1.03 \;  \pounds /l}\right)^{1/3}. \]    
In this case the units cancel to give
  \[ \frac{GM_{08}}{GM_{07}}= \left( \frac{0.42 \times 4.4 \times 1.2 }{0.35 \  \times 0.37 \times 1.03}\right)^{1/3} = 1.18. \]    

The first is political: the geometric mean is going to be smaller than the arithmetic mean for the same collection of different prices. Inflation sounds smaller if you use the geometric mean!

The second is practical. To determine the inflation level, you compare the index at different times. If you were using the arithmetic mean, then you would need to work out AM(2008)/AM(2007) to find out how much it increased over the last year. But AM is the sum of all sorts of different things that can be measured in different units: Pounds Sterling per kilogram, Pounds Sterling per litre, etc; some involve price per unit weight, some price per unit volume. In order to calculate AM you have to add them together and this doesn't make any sense if the units of the ingredients (the p's) are different. By contrast, the beautiful feature of using the geometric mean is that you can use any units you like for each of the p's because when you form the division GM(2008)/GM(2007) to find the inflation factor, all the units cancel out because they are multiplied in the same way in the denominator as in the numerator. So means can be pretty when life is pricey.