Forecasting has a battered reputation in finance and economics, and for all the obvious reasons. But that doesn’t change the simple fact that you just can’t avoid prediction when it comes to macro and markets. Thinking otherwise is delusional. Investing is inherently an act of forecasting. The only reason to buy (or sell) an asset: the presumption that the price will rise (fall) at some point in the future. That leaves us to ponder why prices might rise or fall. A reasonable place to start: the business cycle. In any case, you’ll need a model of one form or another to develop some intuition for another question: Will prices rise or fall (or will the state of macro change)? There are lots of models to choose from, but the challenge is interpreting the raw data. That’s where a probit regression (or its close cousin: logit regression) can help.

Regular readers know that I routinely use a probit model to transform the raw data of the Economic Trend Index (a measure of the US business cycle) into recession-risk probabilities (see Monday’s update, for instance). I often receive questions about how a probit model works. Here’s a brief tour of this quantitative tool, which I use quite a lot for interpreting the signals for a variety of models.

As a simple example, let’s review the Treasury yield curve as a predictor of recessions. In particular, I’ll follow the outline in Estrella and Trubin’s 2006 paper (“The Yield Curve as a Leading Indicator: Some Practical Issues”). The premise is that the yield curve tends to go negative (short rates above long rates) in advance of or in the early stages of recessions. That, at least, is what history tells us, although one might wonder if the relationship will hold in the years ahead. In any case, Estrella and Trubin study the connection between a negative curve and the state of the business cycle 12 months later. With some basic programming in R (see the code below), we can easily see how this relationship translates into recession risk probabilities:

The yield-curve model’s estimates of business cycle risk tend to rise sharply during periods that NBER subsequently labels as “recessions,” as shown by the gray bars. Using a real-time data series such as the yield curve—which is immune to revision—is helpful because it’s timely and so it serves as a rough guide for anticipating the NBER’s future decision on dating the start of a new downturn.

The econometric machinery that produced the graph above, as per Estrella and Trubin (2006), is based on running a regression on the historical relationship between the 12-month-lagged yield curve signal against the current month’s NBER recession signal (0 = no recession, 1 = recession). Plugging this historical relationship into a probit model spits out probabilities that the recession signal will be 0 or 1. This is valuable because at any given point in time we have Treasury yield data, but the true state of the business cycle is unknown. In time, NBER will declare the start of a recession, but well after the fact. Therein lies the power of using a probit model to interpret the yield curve signals: a real-time *estimate* of what NBER will tell us down the road.

All the usual caveats apply, of course, starting with the garbage-in-garbage-out warning. And let’s also recognize that a probit model is only useful for analyzing binary outcomes. In the example above, the goal is deciding if the recession signal is likely to be 0 or 1.

Can you use a probit model for analyzing expected returns for an investment strategy? Yes, but only in the sense that you’re looking for a binary result. The standard example is asking if a given investment model is projecting a positive or negative return for some future time horizon. Meb Faber’s widely cited tactical asset allocation strategy is an obvious candidate, for instance (“A Quantitative Approach to Tactical Asset Allocation”).

There’s a wide array of possible uses for a probit model in macro and finance, but keep in mind that you still can’t get blood out of a stone. Even a relatively robust foundation like the Treasury yield curve is suspect because the resulting recession risk probabilities rely on one factor. If that factor’s relevance fades, even temporarily, the probit model’s output becomes useless. For that reason, I prefer to use a multi-factor design for estimating recession risk probabilities via the Economic Trend and Momentum indexes. As such, I’m diversifying the risk that any one factor will stumble. Nonetheless, the yield curve offers a clear illustration of how the probit model works and why it can help us interpret the raw signals generated by an investment or economic model.

Finally, here’s the basic code for running the yield curve example above in R. You can crunch the data in Excel if you prefer (see page 3 in Estrella and Trubin for details), although the analysis is far easier (and faster) in R.

**Note: The R code that was originally pasted below has been removed. In the spring of 2014 CapitalSpectator.com transitioned to a new web site and in the process there was a problem with the R code translation. If you’re looking for the code, please email me at the address listed in the “Contact” link above. Apologies. **

**–JP**