Calculating CPI Over Time: Multiplication or Other Methods?

  • Context: Undergrad 
  • Thread starter Thread starter nomadreid
  • Start date Start date
  • Tags Tags
    economics
Click For Summary

Discussion Overview

The discussion revolves around the methods for calculating the Consumer Price Index (CPI) over a two-year period. Participants explore different approaches, including multiplication of indices and logarithmic calculations, while addressing the implications of these methods.

Discussion Character

  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant questions the validity of simply multiplying monthly CPI indices to find a factor over two years.
  • Another participant suggests a method involving logarithmic calculations and linear approximation in Excel to derive a more accurate factor.
  • A third participant challenges the necessity of calculations, providing links to online inflation calculators and arguing that a straightforward division of CPI values suffices for determining the two-year factor.
  • This participant also critiques the previous method, stating it does not account for historical inflation adjustments and suggests an alternative formula for annualized rates using the CPI values.

Areas of Agreement / Disagreement

Participants express differing views on the appropriate method for calculating CPI over time, with no consensus reached on the best approach. Some support the logarithmic method, while others advocate for direct division of CPI values.

Contextual Notes

Participants highlight potential limitations in the methods discussed, such as the impact of rounding errors and the need for historical adjustments, but do not resolve these issues.

Who May Find This Useful

This discussion may be of interest to individuals involved in economic analysis, inflation measurement, or those seeking to understand different methodologies for calculating CPI over time.

nomadreid
Gold Member
Messages
1,771
Reaction score
255
Suppose you have a set of monthly Consumer Price Indices, and you want to find the factor for a period of two years: it seems dodgy to just multiply all the indices together. But is that the correct way to do it?
 
Physics news on Phys.org
Yes, but you will also multiply the errors (including roundoff).

What I would do:
  1. Create a column with the numbers 1 -24 in Excel
  2. Insert all the monthly CPIs in a column to the right of the 1-24 numbers
  3. Create a new column to the right of the CPIs containing the logarithms of the CPIs
  4. Create a new column containing the partial sums of the logarithms (L1, L1+L2, L1+L2+L3...)
  5. Do a linear approximation in Excel with the 1-24 column as x and the partial sums of the logarithms as y (the formulas are "SLOPE" and "INTERCEPT")
  6. Calculate SLOPE*24 + INTERCEPT. This is the best approximation of the logarithm of the factor for two years.
  7. Do the antilog (depends on what kind of logs you used).
 
  • Like
Likes   Reactions: nomadreid
Thanks, Svein. That sounds more reasonable.
 
Why calculate anything?
https://www.bls.gov/data/inflation_calculator.htm

But Svein is not correct - that calculation does not do a historical inflation adjustment. There is no need to calculate the slope unless you are looking for some kind of trend analysis for future prediction.

Here is the CPI-All Urban Consumers from 1910
http://www.usinflationcalculator.co...and-annual-percent-changes-from-1913-to-2008/

So the Dec 2017 value is 246.524 and Dec 2015 was 236.525

the two year factor is just 246.524/236.525 (or its inverse depending on which direction you are going)

to get an annualized rate just take (246.524/236.525)^(1/p)-1 where p is the number of years (in this case 2).

You can do the same thing going to logs which is often easier if doing this with code
 
  • Like
Likes   Reactions: nomadreid
Thanks, BWV. (Sorry for the delayed reaction.)
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
Replies
1
Views
2K
Replies
8
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
1
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K