There has been a lot of nervous hand-wringing over the possibility of a recession in the US economy lately, and I wonder if a good part of the brewhaha doesn't stem from a fundamental confusion about the definition of the term. A recession is a contraction of the economy and is defined as two consecutive quarters of negative growth in gross domestic product (GDP). GDP is a measure of the total value of goods and services produced by an economy over a given period. So, for example, if someone says "GDP grew by 3% this year," that means that the country produced 3% more stuff this year than it did last year. A recession occurs when GDP falls below zero for two straight quarters. Ie, for two straight quarters, the country produces less stuff than it did the previous quarter. To get a sense of how often that happens, the US economy has only experienced three quarters of negative GDP growth in this decade.
Now, notice how nothing in the definition of recession or GDP has anything to do with the stock market. Then consider what people have been saying recently: that the stock market has been suffering because of the sub-prime mortgage crisis, which could in turn, drag the US into a recession. We know this sentiment is utterly meaningless because the stock market has nothing to do with the definition of recession, but maybe there is some association between the stock market and GDP, such that a declining stock market would correlate with a recession.
To test for such a correlation, consider the graph below. I have plotted annualized GDP growth vs. quarterly growth of the S&P for every quarter since 2000. The vertical axis is percentage growth and the horizontal axis is time. The blue bars are GDP and the red are the S&P.

There are a few interesting features to note. First, we have not seen two consecutive quarters of negative GDP growth this decade. Hence, we have not been in recession this entire decade (despite the popular opinion that the bursting of the dot com bubble induced a recession). Second, the S&P is much more volatile than GDP. Hence, it is not such a big deal that the S&P has tumbled 10 percentage points in six months- the S&P experiences 10-point swings all the time. And thirdly, the two series do not seem to track each other at all.
In fact, the correlation between S&P growth and GDP growth this decade is a paltry 0.25. Now, maybe these series correlate on a lag. That is, perhaps negative S&P growth this quarter induces negative GDP growth next quarter. When I correlate GDP with S&P lagged by one quarter, correlation drops to 0.04! That means the lag of S&P is not related to GDP at all!
So, bottom line, if recent history is any guide, the shake-up in the stock market at the end of 2007 and beginning of 2008 should in no way indicate the beginning of a recession.
Does that mean we are not heading into a recession? No. It's just that you can't tell from watching the stock market.