Wednesday, September 28, 2016

On the Size of those Debt Bulges

Looking at the second graph from the 25th, I wonder how the bulges got so big:

Graph #1: Public (red) and Private (blue) Debt Paths, with Path Average (dashed black)
Maybe because debt itself got so big? Let's look at the red and blue as a percent of the black:

Graph #2:Red and Blue as a Percent of their Average from the Previous Graph
Okay. The bulges are not so big now, compared to the other areas. Plus, on this graph we can see the bulge between the 1974 and 1980 recessions, and even the tiny one between the 1980 and '82 recessions.

In addition, I think I see a bulge now between the 1970 and '74 recessions. The blue and red lines didn't come together for the 1970 recession, but that doesn't mean there's no bulge after it.

So apparently the growth of debt in general has something to do with the size of the bulges. But that's not the only factor, because bulge size still varies. What could it be?

I'd like to say vigor, it's a measure of vigor, but that seems quite obviously wrong.

Hey, know what I just noticed? Look at just the blue line: It reminds me of the private-to-public debt ratio:

Figure 3: Non-Federal Debt relative to the Federal Debt

Tuesday, September 27, 2016

Firming up my best guess

Yesterday's conclusion:

So what does this tell me? If I remove even one piece of data from the Bulge 3 calculation, the predicted date of recession could change substantially. Or if I do this calculation again after the next release of data, the predicted recession date could change substantially. I guess nothing can be done about that.

After I said that, I went on to guess what my graph would look like if I changed it. I made a guess about how soon the graph would predict recession... uh, I mean a guess about the soonest a recession could be predicted to occur based on changing the selection of data on which the prediction is based. If you get my drift.

I don't like guessing. So again I will start with Graph #6 from Sunday's post.

Graph #1: Predicting the Closing of the Current Bulge
I'll start by eliminating the blue line and chopping off everything before 2007 on the red line.

Graph #2: The Current Bulge
Now, that's a pretty bulge.

The solid line shows Federal debt data from FRED (the series GFDEBTN) indexed to 1980 Q1, with each year's average of indexed Federal and Private debt subtracted out. It's a simple calculation, but I haven't been looking at it long enough yet to describe it easily in words.

No matter. What I want to do today is show a bunch of trend lines for different subsets of the data. and see how they compare to the dashed red line. If they curl down faster than the dashed line, it indicates the recession will occur sooner than the date I predict. If they curl down more slowly, it suggests the recession will occur later.

I anticipate that recession will occur where the dashed red line crosses the 100.0 level. That's about where the solid red line was the last time a recession started. So when we look at the trend lines I'll add, we should look at the 100.0 level, look straight down from there, and get the date from the x axis.


I'm not going to start by showing the trend lines. I'm going to start by looking at R-Squared values for different subsets of the solid red line. I'll get the value for all the data shown (2007Q1 to 2016Q1), then drop the first data item and get the value again, then drop the next data item, and repeat. My goal is to get both the highest R-Squared and the most data. But R-Squared is my higher priority.

I'm writing the R-Squared values in the spreadsheet linked below.

R-Squared reaches a peak of 0.99504834 in 2008 Q1. So I will use this as the start-date for the data on which the trend lines are based.

Graph #3: Finding the Start-Point for Trend Data Selection
Oh, just for the record: The title of this graph says "finding the best starting-point". That's my intent. But I just do this for a hobby. I think I have a good feel for what I'm doing. But if I have something wrong and you have a suggestion you think I can understand, do let me know.

Now that I've got a starting point, I can select a bunch of different end-points and use these different subsets of the data to create different polynomial trend lines. There should be a lot of them when I'm done, and it would be too messy to identify each one. So I won't identify them on the graph. (You can pick thru the spreadsheet if you want.)

My objective is to get an impression from the several trend lines I'll create. I'll call this impression my best guess of what the trend line should be. That best guess will give me a start-date for our next recession. That's what I want to see.


Just reading this over. It's amazing how many times I say I "start":

  •  I will start with Graph #6 ...
  •  I'll start by eliminating the blue line ...
  •  I'm going to start by looking at R-Squared values ...

Now I'll start with the last available data (2016 Q1) and use the 2008Q1-2016Q1 period as the base data for my trend line. Then I'll drop the last data used, giving me a different subset, and add a trend line for that one. And I'll keep repeating the process until I get tired of it. Or till I discover something interesting.


Okay. Wrote a little VBA to delete and add trend lines for me, and make them second order polynomials. Here's the first bunch of trends I came up with:

Graph #4: Trendlines Based on 2008Q1 Start Date and 2011Q1 to 2016Q1 End Dates
Damn, I'm good. There's one trendline gone wild, like a hair that won't stay combed. The rest are all pretty well clustered around the faint gray line that used to be my dashed red prediction.

The wild hair is the trendline for the series that ends with 2011 Q1. As you can see on Graph #2, 2011Q1 is on the early part of the line labeled "Public", maybe just before the jiggies start. Continuing this trend line out till it reaches down to the 100.0 level would bring us to our next recession some time around 2050.

I know we'll have another recession long before 2050, so I'm going to throw the wild hair away.

Working our way down the right edge of the graph from that wild hair, the trend lines we come to (in order) are: 2011Q2, 2012Q1, and 2012Q2. After that they get pretty dense. I'm going to delete the six earliest-ending data series (2011Q1 thru 2012Q2) and look at what's left.

Hey, it looks better already. I also want to start the low value of the vertical axis at 100.0 because, when the trend line gets to that level, that's when I think the recession starts.

Plus I put some tick-marks on the x axis:

Graph #5: Trendlines Based on 2008Q1 Start Date and 2012Q3 to 2016Q1 End Dates
Pretty neat. Assuming that the recession starts when the trend line hits the 100.0 level, our next recession should start somewhere between 2022Q2 and 2024Q2. Looks like most of the trend lines fall in the early half of that time period, so I'd venture the second half of 2022 or the first half of 2023 for the start of recession.

Eh, I'll be dead by then.

// the Excel file

Monday, September 26, 2016

Testing a prediction

Yesterday I made a prediction about our next recession: It won't happen until 2022-2024. It's six years out, or more.

The accuracy of that prediction depends on many things, no doubt. But one of the things it depends on is how well the future paths of public and private debt conform to the paths predicted by Excel's trend lines.

There are things we cannot know, like future "shocks" that divert debt from the predictions. Such things are beyond the scope of prediction. I should say, though, that on yesterday's graph I see little evidence of shock-induced diversion in past data.

Apart from the unknowable, the accuracy of the prediction depends on whether the polynomial trend calculation that I used is suited to the behavior of the debt numbers. I mean, I didn't use the linear trend calculation (for example) because I don't expect debt to follow a linear path. Maybe it won't follow the polynomial path, either. In that case, my predicted timing of the next recession would be incorrect.

I can test for this. Here's Graph #6 from yesterday:

Graph #1: Predicting the Closing of the Current Bulge
First of all, the blue line is the same as the red, mirrored about the zero line. I will eliminate the blue line to give more space to the red line. I'll cut off the years before 1988 because those are pretty boring. And I will make the red line gray, and make it wider. We are left with a graph that shows the three bulges of debt:

Graph #2: A Look at Three Bulges
The solid gray line is calculated from data for 1988 to 2016. The dashed gray line is calculated from the polynomial estimate of the future path of debt, based on 2008-2016 data.

Below is the same graph from FRED (modified from yesterday's Graph #3). It lacks the estimate of the future path of debt. But it shows when recessions occurred:

Graph #3: Public Debt, relative to Public & Private Average; Indexed Values
Recessions restrain the bulges of debt like a tight belt restrains a fat gut.

Returning to the Excel graph, I show the first half of each bulge in red:

Graph #4: The Left Half of Each Bulge Is Indicated in Red. (I use the word "half" loosely.)
Next, I put a trend line on each red section. The purpose is to see how each trend line matches the gray half of the bulge.

Obviously the trend line for bulge 3 (the rightmost bulge) will match perfectly, because I used the same trend line yesterday to develop the dashed gray line.

The other two bulges provide the test. If the black trend lines match the gray data for the bulge of the 1990s and the bulge of 2001-2007, then my confidence is increased that the dashed gray line is a good estimate of the future path of debt. And if that is the case, my confidence is increased that my predicted date of our next recession is also a good estimate.

So here is the graph with the trend lines:

Graph #5: Polynomial Trend Lines Added
Okay. For bulge 1 (the leftmost bulge) the trend line rides along the bottom edge of the fat gray actuals. I'd call that trend line good.

For Bulge 3 (rightmost) the trend line is a perfect match (of course) because the dashed gray line was modeled on that trend line. So this one doesn't count.

Bulge 2 is a bit of a problem. The trend line runs higher than the gray half of the bulge.

But let me show you what happens if I make the red part of Bulge 2 longer by one piece of data:

Graph #6: Bulge 2 Trend Line Adjusted
Trend Source Data Now Ends at 2005 Q3, not 2005 Q2
The Bulge 2 trend line is now much closer to the actuals in gray. Still not perfect, but pretty good.

So what does this tell me? If I remove even one piece of data from the Bulge 3 calculation, the predicted date of recession could change substantially. Or if I do this calculation again after the next release of data, the predicted recession date could change substantially. I guess nothing can be done about that.

But I don't think there is anything in the red part of Bulge 3 that, if I play with data selection, would bring the predicted recession date to anywhere within the next three or four years. I think the soonest we could have that recession is around 2020. And I could only get that by ignoring data we have.

I'll stick with yesterday's prediction.

// the Excel file

Sunday, September 25, 2016


A version of yesterday's graph where both series are quarterly:

Graph #1: Public (red) and Private (blue) Debt Path Comparisons
There's a bulge in the 1990s, and a bulge expanding since the 2009 recession.

I want to put a line right down the middle between the red and blue lines, like a centerline.

Graph #2: Public and Private Debt Paths, with Path Average (dashed black)
I just took the average of the two indexed values. It was easier than I expected.

If I take the black line and subtract it from itself and show it on a graph, it will be a nice, flat line at the zero level. That makes sense, right?

If I take the red line and subtract the black line from it, I will keep the basic shape of the red line but transform it down so it runs somewhat above the zero line. If I do the same for the blue line, it will run a little below the zero line.

Graph #3: Indexed Public (red) and Private (blue) Debt with their Average Subtracted Out
Ain't that neat? Subtracting the average creates symmetry. (Don't ask me how I know how to do this. It comes from doing it all the time.)

The text at the top of the graph was taking too much space, so I deleted the dashed black line. Couldn't see it anyway, as it was hidden by the horizontal axis.

I see something in #3 that I couldn't see in the earlier versions of the graph: There is a bulge between the 2001 and 2009 recessions. So that makes three bulges, not two.

And if you get a close-up of the graph, you can see a bulge between the 1974 and 1980 recessions, and a little one between the 1980 and '82 recessions. Lots of bulges, then. And what I said yesterday -- recessions come when the bulges close -- is confirmed.

Since it appears the bulge on Graph #3 is not going to close any time soon, I don't think we'll have a recession for another five years at least. Probably longer.


Upon close inspection I see no bulges before 1974. In other words, the bulge doesn't close for the 1970 recession. But the data (inexplicably) only goes back to 1966, so I can't talk about recessions before 1970.

The bulge doesn't close for the 1991 recession, either. But I might be able to explain that one: private debt growth slowed a lot between 1985 and 1992. This unusual debt behavior is probably somehow related to the unusual bulge behavior. Maybe I'll look into that... some other time.

For now, I must point out the obvious: the future is not guaranteed. But it seems to me that the bulge we are in right now is a bulge that will close with a recession, like the two bulges before it, and the non-bulge that ended in 1991, and earlier bulges going back to the 1974 recession.

I assume the current bulge will close. In other words I expect the blue line on Graph #3, over the next several years, to continue curving upward, making the sort of "bowl" shape that we have talked about before.

I also expect the red line, over the next several years, to continue curving downward, developing an inverted bowl. And I expect the two bowls, coming together, to pinch off economic growth and give us a recession. (That's just imagery. I'm not making a claim about causal relations here.)

Due to these expectations on my part, with some confidence I predict that our next recession will occur just as the two bowls are meeting. Therefore, I want to go to Excel and use second order polynomial trends -- my bowl maker -- to determine when the public and private debt trends will meet, pinching off the bowl we are in right now.

With a little work in Excel, I can put a date on the start of our next recession.


I know they're symmetrical, but I did 'em both anyway:

Graph #4: Future Path of Public Debt for Graph #3

Graph #5: Future Path of Private Debt for Graph #3
Both these trends are based on data from 2008 Q2 to 2016 Q1.

So I added those two estimates of future debt to a version of Graph #3 in Excel. Added a bunch of years to the right end of the graph. And deleted some years from the left end to make room. Here's what I got:

Graph #6: Predicting the Closing of the Current Bulge
Wow, that's a big bulge.

Okay, so around 2024. This graph of debt relations predicts our next recession to start some time around 2024.

Ridiculous, you think? Maybe. But let me try to talk you out of that.

The dashed lines meet in the first half of 2024. But the recession might start a year or two before the lines actually cross. So, 2022 or 2023 perhaps. 2022 is only six years from now. Maybe that's a less ridiculous prediction.

That ignores years gone by. Our last recession ended in mid-2009, according to NBER dates at FRED. Seven years ago. And I've read articles written by people apparently hungering for recession, suggesting that after seven years of growth we are already due for another recession.

It could be. But the bulge on the graph screams disagreement.

And besides, the claim that we've just finished up seven years of growth and now a recession is due, it seems to me that's the ridiculous claim. Growth was, what? Half what it should have been? So don't call it seven years. Call it three and a half.

Add six or seven years more to that, and we get an expansion nominally ten years in length. Know what? The expansion of the 1990s lasted ten years. It's not a ridiculous number.

I want to say: "No recession before 2022." I just don't want to jinx it.

// The Excel file

Saturday, September 24, 2016

For its remarkable symmetry

Private Non-Financial Debt (blue) and Gross Federal Debt (red) both indexed to 1975

Friday, September 23, 2016

A long-run rate of roughly 2% per year, he says

Problems Unsolved and a Nation Divided (PDF):

Between the 1970s and the 1990s, the U.S. economy created private-sector jobs at a long-run rate of roughly 2% per year decade after decade.
Here's my graph:

Graph #1: Decade Averages of Annual Growth Rates, PAYEMS at FRED
You can get "roughly 2%" if you average the three decades together, the '70s and '80s and '90s. But the only "long run rate" on the graph is downhill. The graph does not show "roughly 2% per year decade after decade". Those words indicate a level trend.

"But the job growth rate began to decline around 2001" they add.

Taking liberties with the facts, at Harvard.

// The Excel file

Thursday, September 22, 2016

Those problems remain unsolved, he says

Harvard professor identifies the 'worst nightmare' in America right now:

“Despite the hope of finding reasons for optimism, the ‘recovery’ remains slow and uneven, largely because America’s competitiveness problems took root long before the downturn,” Porter writes. “Since those problems remain unsolved, it should not be surprising that the average annual economic growth (1.6%) during the current recovery is slower than during any recovery since the late 1940s.”

"Those problems remain unsolved".

So Porter, then, would not expect to see economic vigor appear out of nowhere, say two years hence.

This is good. If I'm wrong about vigor, maybe Porter is right. If I'm right about vigor, Porter is definitely wrong.

Wednesday, September 21, 2016

Employment and Productivity

Employment relative to Productivity

When it's going up, employment is growing faster than productivity. When it's going down, employment is growing slower than productivity.

Tuesday, September 20, 2016

When does productivity go high?

Almost always during recessions. Almost no other time.

Output per Hour relative to Output