John Handley brought up Japan's Phillips curve as evidence against Noah Smith's claim that Japan is where macro theories "go to die" (except mine!) and my own claim that the Phillips curve is useless (in comments here) because it isn't stable. I saw John's graph and thought it was pretty striking:

This is over data from 1986 to the present (roughly). Maybe Japan's Phillips curve isn't flattening? But I plotted the full set of data I had from 1970 to the present (roughly):

The blue is from 1970 to 1986, the red is 1986 to 2000 and the green is 2000 to the present (roughly). John's data would be the red and green. The full data set is decidedly flattening, consistent with the general behavior in the information equilibrium model (see e.g. here). As monetary policy becomes ineffective, the impact of monetary expansion on output and employment becomes less and less dramatic.

*Japan's Phillips curve looks like Japan*...

...

**Update 20 March 2016**

Per the discussion with John Handley below, here are the 10-year interval (for the prior 10 years) Phillips curve slopes for Japan with standard errors:

The slope falls over time as mentioned previously (and as it does for the US). Here are the p-values for these slope values:

The most recent points don't reach a p-value of 0.05, but the hypothesis being tested is that the slope is different from zero -- i.e. we can't reject the null hypothesis that the slope is zero.

And without removing the VAT:

Without removing VAT and prior 5 years (mostly, the significance just goes away):

**Update 21 March 2016**And without removing the VAT:

Without removing VAT and prior 5 years (mostly, the significance just goes away):

Interestingly, it seems that the slope of the Phillips Curve (implied by a linear regression) is higher for 2000-present than for my original calculation (1986-present). For the whole sample, a linear regression yields CPI = 0.9818*E - 62.827 whereas 2000-present yields CPI = 1.0167*E - 65.027. This probably has to do with inflation expectations between 2000 and now being stuck at around 0%, so the Phillips Curve should collapse to a basic linear relationship between inflation and employment. The fit is worse if I exclude 1986-1999, though (R2 = 0.491 vs. R2 = 0.5129). Using Core CPI for the whole sample gives a slightly flatter Phillips Curve (m = 0.9528), but a slightly higher R2 value (0.5315). For 2000-present, Core CPI has the worst fit (R2 = 0.4476) and the lowest slope (m = 0.6807).

ReplyDeleteIn addition, the slope for 1986-1999 is about the same as the one for 1999-2000 (1.0122 vs. 1.0167), but the fit is significantly worse (R2 = 0.3408 vs. R2 = 0.491). For Core CPI, the 1986-1999 slope is 0.555 and the R2 is 0.1657. In short, you may have spoken a little bit too soon. Not only is the fit for 2000-present better in every case than 1986-1999, the slope is higher.

ReplyDeleteR² is not a good measure of a nonlinear function, and has lots of issues. What likely is changing is the number of outliers.

Deletehttps://onlinecourses.science.psu.edu/stat501/node/258

Especially with time series, e.g.:

http://stats.stackexchange.com/questions/101546/what-is-the-problem-with-using-r-squared-in-time-series-models

The slope is still an issue; 2000-present (which I accidentally wrote as 1999-2000 above) had a marginally higher slope than 1986-1999. Given that, I think it's hard to say that the curve is flattening.

DeleteNot to mention that I was doing a linear regression, so I don't see what the issue with non-linear functions is.

DeleteHere's the graph for 2000-2015: https://dl.dropboxusercontent.com/u/92766758/2000-2015%20CPI%20Prediction.png

DeleteAnd the same for 1986-1999: https://dl.dropboxusercontent.com/u/92766758/1986-1999%20CPI%20Prediction.png

The hypothesis is that the slope of the Phillips curve is changing, so the data could very well be determined by a nonlinear function. Don't exclude that possibility with your choice of goodness of fit test.

DeleteAlso, from that stats course link:

A "statistically significant" r2 value does not imply that the slope β1 is meaningfully different from 0.You could try some other goodness of fit tests and see if your claims hold up.

The data just

Deletelookslinear, and all of the other regressions that I bothered trying (log, quadratic, cubic, exponential) change neither the slope nor the R2 very much.As for other goodness of fit tests, what would you suggest?

You could try p-values for the fit coefficients. Usually when I do this (I do this kind of thing at work), the intercept is really good, but the slope is indeterminate. Most stats packages have Ordinary Least Squares (OLS) function that produces some standard stats tables.

DeleteI use this:

https://reference.wolfram.com/language/ref/LinearModelFit.html

It looks like you are using excel, but not sure -- here's a detailed way to go about it with excel [pdf]:

http://finance.wharton.upenn.edu/~bodnarg/courses/readings/regression

I use both octave (OSS matlab) and excel, but in this case I've been using excel (importing fred into octave is a pain).

DeleteSo, the p-value for the slope is 2.67164073687122E-56 in the whole sample, 9.9476652913359E-17 for 1986-1999, and 3.38072063600558E-28 for 2000-2015. The corresponding slopes are 0.98179, 1.012189, and 1.016664, respectively. So everything I said before seems to hold; 2000-2015 has a higher slope and a better fit. The t-stats tell the same story.

Those p-values are really small -- likely indicating spurious correlation. I extracted the standard errors and the p-values above for 10 year intervals.

DeleteThe slope still appears to fall over time.

John & Jason, just eyeballing Jason's red+green vs his green points it's hard to see how the red+green could have a smaller slope than just green. Are you guys actually using the same data?

ReplyDeleteJason's data is not different, he's just using the first differences whereas I used the actual values. I'm not sure how much of a difference this makes though.

DeleteThere was a whole blow up on this blog between me and Mark Sadowski about first differences.

DeleteWithout first differencing the data, you get spurious correlation. The p-values and R^2 are garbage. It might be problematic to first difference data in some cases (e.g. it destroys the information in the highly nonlinear QE, which was my point when addressing Mark Sadowski).

See e.g. here

http://www.jstor.org/stable/2526363?seq=1#page_scan_tab_contents

p-values on the order of 10^-50 are a major red flag for spurious correlation.

Strange... John Cochrane always seems extremely averse of first differences (or at least 'over-differencing' anyway see http://faculty.chicagobooth.edu/john.cochrane/research/papers/overdifferencing.pdf)

DeleteIt's not strange. There's really no ambiguity here. You're goodness of fit measures show spurious correlation.

DeleteCochrane's paper is in reference to multiple differencing. However, Cochrane does briefly mention spurious correlation:

As a result of that autocorrelation, the 30.44 t statistic is

surely vastly inflated. The remaining columns give two better measures, which correct the OLS regression standard errors for the correlation of the residuals, giving much more sensible results. (Neither correction is aggressive enough, a lesson for another day.)Emphasis mine. Inflated t-stat is equivalent to extremely low p-values. I agree that these stats aren't the end-all be-all of goodness of fit, and that sometimes you may have to fight through the spurious correlation and look at e.g. residuals or other measures (here is an example from me).

But my advice would be to quit now and check out some stats. Here is a post from Dave Giles, econometrics guru on spurious correlation:

http://davegiles.blogspot.com/2015/10/illustrating-spurious-regressions.html

I'm still confused. Regardless, even if I do run first differences (change from 12 months ago), the slope for 2005-2015 is 1.979641465 while the p-value is 10^-12.22488748 which doesn't seem to square with your chart above at all, unless I am misunderstanding what you mean by "for the prior 10 years."

DeleteIf I'm reading Jason's chart correctly, his corresponding results are about 0.2 for the slope and about 0.2 for the p-value. John, did you use Excel for your calculations? If you can store it on Microsoft's "OneDrive" you can easily embed a downloadable version of that on your blog, which you can do from the OneDrive file explorer-like interface where you see folders and files as icons. You just put a check mark on it, and select "embed", and it generates a link you can paste directly into the HTML editing page for a blogger post or page. You can actually do all that for free using their free version of Excel (or used to be able to anyway -- I've since purchased a copy, so I'm not sure that's still the case).

DeleteOr I can just shut up and bite the bullet and learn how to collect the data you're both using so I can make my own calculation. :D

My data on Fred: https://research.stlouisfed.org/fred2/graph/?g=3QzI

DeleteYou can export it as an .xls from there

Also, if that correlation is spurious, I will eat my hat (which conveniently doesn't exist).

DeleteThanks John.

DeleteI did my own here, but I don't match either of you. I'm NOT going to eat my hat (several of which do exist), because chances are I screwed something up. I did 12 month differences in employment, but no differencing in the CPI column (since that's already in a 12-month difference format). Right off the bat, the data in my scatter plot doesn't look like Jason's. My regression results are on the tab called "Regression."

Delete"...my scatter plot doesn't look like Jason's" of course his goes from 2000 to present (roughly), while mine goes from 2005.02 to 2015.02, but still I have ΔCPI values down around -2.5% and his green dots don't look like they cross -2.0%.

DeleteTom: I removed the effects of the VAT increases in 1997 and 2014.

DeleteJohn: Spurious correlation is a term for a e.g. a crazy low p-value that is incongruous with the data. It happens due to cointegration. The series could still be correlated. Spurious correlation doesn't mean "not correlated" ... it means R^2 is not a valid goodness of fit measure.

In fact, my "quantity theory of labor" model says that inflation and labor force growth are correlated.

And in the plots above, the measures are correlated! It's just that the slope of that correlation changing.

Does removing the 2014 VAT increase involve eliminating some of the monthly data, or do you accomplish that by some other means?

Deletehttp://informationtransfereconomics.blogspot.com/2015/08/dont-forget-vat.html

DeleteThanks. My first naive attempt was just to slide my interval forward so it's now from 2003.12 to 2013.12 to avoid 2014 altogether. I got slope=0.77 & p-value=1.1e-5 doing that.

DeleteI'll read up and see if I can do what you did.

Wren-Lewis on why excluding the tax hike might be misguided: http://mainlymacro.blogspot.com/2012/04/more-on-tax-increases-versus-spending.html

DeleteBasically, the Phillips Curve should operate no matter what causes the inflation and the only effects of the tax increase would be supply-side. In this case, the 'flexible price' rate of employment would fall, but the difference between the actual employment rate and the flexible price rate would actually increase because of higher inflation, at least if you like qualitative NK models.

Tested it. There is very little effect on the outcome if you leave the VAT in. Updated above. (Well, replied to comment first, then updated.)

DeleteI've just done my own calculations with 5-year instead of 10-year intervals and I think the Koizumi booms destroys the correlation that reasserts itself after 2008 http://ramblingsofanamateureconomist.blogspot.com/2016/03/more-on-japans-phillips-curve.html

ReplyDeleteMy theoretical argument for why the Phillips curve dies during the Koizumi boom is that is wasn't cyclical (i.e., wasn't actually a boom), so no Phillips curve should have been observed. I have no idea how accurate this is though; I'm just rationalizing as best as I can without looking anything up.

I added a 5-year interval version above. Mostly, the significance goes away ...

DeleteYou might be interest in this blog post (or at least the data in it):

ReplyDeletehttp://www.hussmanfunds.com/wmc/wmc110404.htm