I Calculating CPI Over Time: Multiplication or Other Methods?

  • I
  • Thread starter Thread starter nomadreid
  • Start date Start date
  • Tags Tags
    economics
nomadreid
Gold Member
Messages
1,748
Reaction score
243
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?
 
Mathematics 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 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 nomadreid
Thanks, BWV. (Sorry for the delayed reaction.)
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top