Friday, July 18, 2014

Inflation prediction errors

Essentially following the procedure of the previous post -- fitting the price level function P to data from 1960 to a year Y, and then log-linearly extrapolating NGDP and M0 (currency) from Y to 2014 to find P(y>Y) and the inflation rate i(y>Y) = d log P/dt -- I thought I'd see how the errors evolve as you add more data. The log-linear extrapolations only used the past 10 years of data starting from Y.

In one sense, I wanted to figure out if the previous post was a fluke (it isn't), and also what the error would be on predicting inflation 2014 - Y years out.

Here are the inflation extrapolations colored in rainbow colors with red being the most recent and purple being the most distant past (the CPI inflation data is the green jagged line):


And here are the errors (absolute value of the mean difference between the prediction and the measured CPI) as function of years out the prediction is made (2014 - Y):


The graph shows the irreducible measurement errors in gray. Inflation is not a smooth curve and the measurement of CPI contains some fluctuations month to month. If one averages over shorter and shorter periods, even if you have the trend exactly right, you're going to get larger and larger errors. I estimated this effect by finding the distribution of errors around a linear fit to 1994 to 2007 inflation data (a fairly straight line) to estimate the error distribution. Using the estimated distribution, I ran Monte Carlo simulations of the absolute value of the mean error averaged over different time periods to produce the gray band of points. You can see that this accounts for much of the model prediction error over shorter time periods (red points on the left side of the graph above). Additionally, the 12 basis point error from Y = 2007 (7 years back from 2014) in the previous post is typical for extrapolation from that time period and likely represents only irreducible error.

That is a pretty startling piece of information. It means you likely can't do any better than the information transfer model in predicting inflation in the medium term (5-15 years out).

2 comments:

Comments are welcome. Please see the Moderation and comment policy.

Also, try to avoid the use of dollar signs as they interfere with my setup of mathjax. I left it set up that way because I think this is funny for an economics blog. You can use € or £ instead.