Tuesday, July 18, 2017

UK Unemployment 1860-1915 (dynamic equilibrium model)

In addition to challenging the dynamic equilibrium model with a longer time series of US data [1], John Handley also challenged it with the long time series UK data (available here from FRED). I focused on the pre-WWI data because I already looked at the post war data here and the interwar period is strongly affected by the "conscription" shocks seen in [1]. Anyway, the results are decent:


The centers of the shocks are at 1861.5, 1866.9, 1876.3, 1884.6, 1892.5, 1902.1, and 1908.3. I think I might split the 1902.1 shock into two shocks.

These recessions roughly correspond with the Panic of 1857, the post-civil war UK recession, the "Long Depression" (1876, 1884, 1892) beginning with the Panic of 1873. The 1902 and 1908 shocks do no correspond to recessions listed at Wikipedia (which of course is definitive and exhaustive).

Dynamic equilibrium model: CPI (all items)

With the new CPI data out last week, I updated the dynamic equilibrium model for all items I looked in this post:



The former uses 90% confidence intervals, while the latter graph uses MAD as the measure of model uncertainty since the derivative of CPI (all items) is very volatile.

Sunday, July 16, 2017

Presentation: macroeconomics and ensembles

I put together a new presentation that looks at macroeconomics, partially inspired by this blog post. It can be downloaded in pdf format from this link. [Now available as a "Twitter Talk" as well!] The rest of the slides are below the fold.




Friday, July 14, 2017

Unemployment 1929-1968 (dynamic equilibrium model)

John Handley challenged me to take on the 1930s, 40s, and 50s with the dynamic equilibrium model. While the Great Depression is fairly uncertain (because the model operates on the log of the unemployment rate, returning to the linear scale makes the bands exponentially larger for higher unemployment rates), the overall model works well:


In the interest of making the optimization run in a reasonable time, I split the data for the 30s and the 50s, keeping the 40s in common between them. Here's the fit for the 30s and 40s (illustrating that exponential increase in the width of the error bands):


Per the original thread, it is hard to see any effects of the New Deal (possibly it arrested the increase of the unemployment rate, similar to the possible effect of the various actions in 2008-9). Overall, the best thing to say is we don't know.

The remaining time period from the 40s through the 60s (to overlap with the original model) has smaller confidence intervals:


In both of these graphs we do however see a potential effect of the draft: WWII and Korea. There are two fairly large positive shocks centered in 1942.6 and 1950.5.

Another feature of the data from the 50s and 60s (also apparent in the 70s and 80s, but gradually disappears over time) is a reproducible "overshooting" effect (which I highlighted in green, scribbling on the graph):


So maybe Steve Keen's models could be useful ... for second order effects in the dynamic equilibrium framework. Whatever causes it seems to fade out by the 1990s (which coincidentally is around the time the non-equilibrium effect of women entering the workforce fades out).

...

Update 3 August 2019:

Here's more on the overshooting/step-response effect.

Thursday, July 13, 2017

Keynes versus Samuelson


I read through Roger Farmer's book excerpt up at Evonomics (and have subsequently bought the book). I tweeted a bit about it, but I think one point I was trying to make is better made with a blog post. Farmer's juxtaposition of Samuelson's neoclassical synthesis and Hick's IS-LM model made clear in my mind the way to understand "what went wrong":
The program that Hicks initiated was to understand the connection between Keynesian economics and general equilibrium theory. But, it was not a complete theory of the macroeconomy because the IS-LM model does not explain how the price level is set. The IS-LM model determines the unemployment rate, the interest rate, and the real value of GDP, but it has nothing to say about the general level of prices or the rate of inflation of prices from one week to the next. 
To complete the reconciliation of Keynesian economics with general equilibrium theory, Paul Samuelson introduced the neoclassical synthesis in 1955. According to this theory, if unemployment is too high, the money wage will fall as workers compete with each other for existing jobs. Falling wages will be passed through to falling prices as firms compete with each other to sell the goods they produce. In this view of the world, high unemployment is a temporary phenomenon caused by the slow adjustment of money wages and money prices. In Samuelson’s vision, the economy is Keynesian in the short run, when some wages and prices are sticky. It is classical in the long run when all wages and prices have had time to adjust.
There are two ways to think about what it means for the IS-LM model to fail to explain the price level:

  1. It is a model of the short run -- so short that prices do not change appreciably from inflation during the observation time. Symbolically, t << 1/π such that P ~ exp(π t) ≈ 1 + π t ≈ 1. This is Samuelson's version: prices are "sticky" in the short run, but adjust in the long run.
  2. It is a model of a low inflation economy. Inflation is so low that the price level can be considered approximately constant (and therefore real and nominal just differ by a scale factor). Symbolically, d log P/dt = π ≈ 0 << γ where γ is some other growth scale such as interest rates, NGDP, or population (I'd go with the former [1]).

These two scenarios overlap in some short run (because d log P/dt ~ π t); the difference is that inflation can be low much longer than the price level can be low. This distinguishes Keynes' view of e.g. persistent slumps versus Samuelson's view of eventual adjustment. I've made the case that the IS-LM model should be understood as an effective theory derived from the second limit, not the first.

As an aside, not that Samuelson's limit doesn't make empirical sense in today's economy. Inflation is on the order of π ~ 2%, which implies a time horizon (1/π) of 50 years (and therefore IS-LM should apply for 5 or so years to an accuracy of about 10%). That's a pretty long short run.

Another point I'd like to make is that the second limit is more definitively a "macro" limit in the sense that it is about macro observables (low inflation) rather than micro observables (sticky prices). In fact, we can consider the second limit as "macro stickiness": individual prices fluctuate (i.e. aren't sticky), but the aggregate distribution is relatively constant (statistical equilibrium). We can further connect the second limit (and the potential for a persistent slump) to properties of the effective theory of the ensemble average of that statistical equilibrium (namely that 〈k〉 - 1 ≈ 0). This is all to say that the second limit is a true emergent "macro" theory that can be understood without much knowledge of the underlying agents (or another way, ignorance of how agents behave).

...

Update 19 December 2017

I eventually turned this post into an example for a presentation on macroeconomics and ensembles of markets.

...

Footnotes:

[1] This also opens up discussion of the "liquidity trap". If interest rates r are the proper scale to compare to inflation, we have an additional regime we need to understand where both inflation and interest rates are near zero (π, r ≈ 0).

Wednesday, July 12, 2017

JOLTS leading indicators?

In what is becoming a mini-series on the utility of the forecasts made using the information equilibrium/dynamic equilibrium framework (previous installment here), I wanted to assess whether the Job Openings and Labor Turnover survey (JOLTS) data could be used as leading indicators of a potential recession (I looked at the various measures previously here).

The latest data for job openings seems to be showing the beginnings of a correlated negative deviation that could be the start of a downturn:


The other indicators were more mixed, so I asked myself: does one measure show a recession earlier than the others? A note before we start -- this analysis is based on a sample of one recession (JOLTS only goes back to the early 2000s), so we should take it with a bit more than a grain of salt.

I looked at the estimate of the center of the 2008 recession transition for hires rate (HIR), job openings rate (JOR), quits rate (QUR), and the unemployment rate (UNR):


The errors shown are 2 standard deviations, and the months on the x-axis are the months that the data points are for (the data usually becomes after another month or so, e.g. May 2017 data was released 11 July 2017). We can see that hires leads the pack -- i.e. the center of the hires transition precedes the other measures.

Note this is not the same thing as figuring out when a transition becomes detectable. I looked at this using unemployment rate data back in April. Two factors enter into the detectability: the width of the transition and the relative measurement noise level. While most of the data has comparable widths:


(the error bars show the parameter that determines the width of the transition), the hires data has more relative noise than the unemployment rate (think signal-to-noise ratio). This could potentially make the hires data less useful as an early detector of a recession despite being the leading observable.

With those caveats out of the way, it is possible the hires data might show the beginnings of a recession a several months in advance of the unemployment rate. Like the job openings, it is also showing a negative deviation:


However the most recent data lends support the null hypothesis of no deviation. Regardless, I will continue to monitor this.

Monday, July 10, 2017

Does information equilibrium add information?

I've been asked several times about the utility of the forecasts I make with the information equilibrium (IE) model. I came up with a good way to quantify it for the US 10 year interest rate forecast I made nearly 2 years ago. Here I've compared the IE model (free) to both the Blue Chip Economic Indicators (BCEI, for which the editors charge almost 1500 dollars per year) and a simple ARIMA process:


As you can see, the IE model represents a considerable restriction of the uncertainty relative to the ARIMA model (which is to say it adds bits of information/erases bits of randomness ‒ which explains the bad pun in the title of this post).

Also, I ran the model for the UK (belatedly fulfilling a request from a commenter). I had NGDP and monetary base data up until the start of 2017 so the prediction starts from there. I show both the longer view and the more recent view:



Sunday, July 9, 2017

The labor demand curve

John Cochrane may have written the most concise argument that economic theory should be rejected:
Economic theory also forces logical consistency that would not otherwise be obvious. You can't argue that the labor demand curve is vertical today, for the minimum wage, and horizontal tomorrow, for immigrants. There is one labor demand curve, and it is what it is.
The conclusion should be: Therefore, we must reject the concept of a fixed labor demand curve.

Overall, Cochrane seems to get the concept of science wrong. A few days ago, I noted that Cochrane does not seem to understand what economic theory is for. Now he seems to misunderstand what empirical data is for.

See, the issue is that no one is "arguing" that the labor demand curve is vertical for the minimum wage. No novel theory is being constructed to give us a vertical labor demand curve. The studies are empirical studies. The empirical studies show if there is such a thing as a labor demand curve, it must be vertical for the minimum wage. But really, all the studies show is that raising the minimum wage does not appear to have a disemployment effect. The "Econ 101" approach pictures this as a vertical labor demand curve. And that would be fine on its own.

Likewise, no one is "arguing" that the labor demand curve is horizontal for an influx of workers. Again, no novel theory is being constructed to give us a horizontal labor demand curve. The empirical studies are only showing that an influx of workers does not lower wages. The "Econ 101" approach pictures this as a horizontal labor demand curve. And that would be fine on its own.

But those two results do not exist in a vacuum. If you try to understand both empirical results with a fixed labor demand curve, then your only choice is to reject the fixed curve. You have two experiments. One shows the labor demand curve is horizontal, the other vertical. Something has to give.

*  *  *

Now there is a way to make sense of these results using information equilibrium. Here are several posts on the minimum wage (here, here, and here). The different effects of immigration versus other supply shocks are described in this post. If you are curious, click the links. But the main point is that when we make "Econ 101" arguments, we are making lots of assumptions and therefore restricting the scope of our theory. 

In order to obtain the Econ 101 result for the minimum wage and immigration, you essentially have to make the same specific assumptions (assume the same scope): 1) demand changes slowly with time and 2) supply increases rapidly compared to demand changes. The commensurate scope is the reason why the Econ 101 diagrams are logically consistent. But they're both inconsistent with the empirical data. Therefore we should question the scope. Under different scope conditions (i.e demand and supply change), information equilibrium tells us increasing the minimum wage or increasing immigration increases output ‒ meaning that you should probably accept that demand is changing in both cases. Which is the point of higher minimum wage and pro-immigration arguments: they create economic growth. 

As an aside, I think the a lot of the right-leaning economics might stem from assuming demand changes slowly. The cases I just mentioned made me think of a case where Dierdre McCloskey seems to be assuming demand changes slowly to argue against Thomas Piketty.

In the same sense that while you can obtain an isothermal expansion curve [1] from a restricted scope of an ideal gas (that scope being that temperature is constant, hence isothermal), if your data is inconsistent with the theory you should begin to question the scope (was it really isothermal?). Unfortunately, Econ 101 ‒ and for that matter much of economic theory ‒ does not examine its scope. As Cochrane says: it's about "logic". Logic has no scope. Things are either logical or illogical. That's not now science works. Some descriptions are approximate under particular assumptions (constant temperature, speeds slower than the speed of light) and fail when those assumptions aren't met.

Given empirical data requiring contradictory interpretations of theory (different labor demand curves), a scientific approach would immediately question the scope of the theory being applied. What assumptions did I make to come up with a fixed demand curve? I definitely shouldn't assume studies that contradict the theory are wrong.

...

Footnotes:

[1] Actually, in information equilibrium the Econ 101 demand curve is essentially an isodemand curve (i.e. a curve where demand is held constant/changes slowly) analogous to an isothermal process using the thermodynamic analogies. If I say the minimum wage won't decrease employment because it increases overall demand, the Econ 101 rebuttal is to come back and say "assuming demand doesn't change ...". It'd be kind of funny if it wasn't so perversely in the defense of the powerful.

Saturday, July 8, 2017

A few forecast updates

It's a nice day here in Seattle, but I think I've gotten enough sun for one day so I'm updating some forecasts. Unemployment data came out this week so there's this forecast (I extended the hypothetical recession shock [gray] a bit):


There's another forecast I haven't updated in awhile: the monetary base. There's been an additional Fed interest rate increase to show (it's now the level labeled C'''):


One thing to note with this forecast is that I'm trying to understand the process of reaching information equilibrium. The model doesn't actually tell us how a new equilibrium is reached, it just tells us what it is. What path do the variables follow? The picture above is just a stochastic linear path, but it's possible it can end up being more complex. We'll figure that out if the random walk with drift fails. And we'll figure out if the model fails if we never head back to C''' (or whatever the interest rate at the time tells us it should be).

Finally, there's this forecast of Japan's CPI using the dynamic equilibrium model:


As always, all of the forecasts I track are available at the aggregated prediction link.

...

Update 10 July 2017: Here is the 10-year interest rate forecast (originally made nearly 2 years ago here):


Update 11 July 2017: This forecast of the S&P 500 from January is basically on track:



Tuesday, July 4, 2017

Racial disparities in the unemployment rate

Unemployment by race (white = blue, black = yellow) and dynamic equilibrium (red, green).

I can't remember where I saw it on Twitter while I was on vacation, but someone graphed the most recent unemployment data by race. One of the things I noticed was the similarities in the shape of the time series. Could the disparities be explained by a single dynamic equilibrium, but with different initial conditions? Is the reason black unemployment is high today simply because it was high in the past?

It turns out the answer is basically yes.

Unlike the case of different education levels where the shape is basically the same but the dynamic equilibrium rates – the roughly constant rate of falling unemployment after a shock – are sufficiently different as to be distinguishable, the dynamic equilibrium rate for black and white unemployment is the same within model error (they are both approximately 0.09 and differ by only 0.003, see the addendum). In the graph at the top of this post, the same dynamic equilibrium fit (shown in red and green) does a reasonable job explaining both black and white unemployment (yellow and blue, respectively).

Since the model deals in logarithms, the two time series are essentially scaled versions of each other (instead of a linear model, in which they'd be shifted versions of each other). The underlying matching model is therefore the same, just with different initial conditions (higher black unemployment in 1972 than white). If white unemployment and black unemployment had been the same in 1972, then they'd be roughly the same today.

Since both white and black employment (according to this model) are hit by the same shocks, this means that black unemployment will never fall to the same level as white unemployment without some kind of intervention. Additionally, this intervention cannot be racially blind because it has to decrease black unemployment but not decrease white unemployment as much (because that would not improve the ratio). It would therefore take the form of some kind of reparations (e.g. a black-only WPA).

Addendum: Methodology

I used four different methods to apply the dynamic equilibrium model (described in detail here). I fit the entire dynamic equilibrium either to white unemployment, or black unemployment and then used that fit ‒ call it f(t), such that exp(f(t)) = u(t) with u(t) being the applicable unemployment rate  ‒ to fit to the other unemployment rate u*(t). In that second fit, I used a log-linear model:

f*(t) = f(t) + a t + b

so that u*(t) = exp(f*(t)) = exp(f(t) + a t + b). However I took a = 0 in one case (same EQ), and fit a to the data in the other. Therefore a measures the discrepancy from the dynamic equilibrium α (measuring the roughly constant logarithmic slope of the falling unemployment). The measured rates were:

Fit to white unemployment

− 0.092 = α
− 0.095 = α+a
+ 0.003 = a

Fit to black unemployment

− 0.086 = α
− 0.083 = α + a
− 0.003 = a

In both cases, black unemployment fell faster than white unemployment (i.e. the matching function performed better).

So the four scenarios/methods I looked at were:

* = black, a fit to u*(t)
* = black, a = 0
* = white, a fit to u*(t)
* = white, a = 0

The results were largely similar (within the error of the model), so I've relegated these graphs to this addendum. Here are the results (the fit data u(t) is blue, the model f(t) is red, the other unemployment data u*(t) is yellow and the other model f*(t) is green):