Introduction

A rational stock market utilizes all available information to forecast real economic activity. If it does well, expectations for future economic conditions are incorporated into current stock prices, and investors may see stock market performance as a predictor of real economic activity (Fischer & Merton, 1984). Stock markets also react to changes in future economic prospects. These reactions can lead to market fluctuations and even crashes. Thus, understanding the interactions between the economy and stock markets is crucial. Economic fundamentals directly affect stock performance, and stock indices can signal upcoming economic shifts (Schwert, 1990). For example, rising output increases investment returns, which in turn stimulates capital spending. An efficient market anticipates this and rallies ahead of real economic changes. Conversely, a bleak economic outlook may lead to downward revisions of future profits. Firms might then pause investing while awaiting clarity. This can reduce capital spending and output. Here, stock market declines precede drops in real economic activity.

Financial investors consider industrial production as a key business cycle indicator. The promise of economic growth increases expected business profits, leading to higher stock prices. In contrast, economic slowdowns can lead to asset liquidation and falling stock prices. Changes in employment are also correlated with stock market returns, reflecting broader economic trends. Growing employment suggests economic expansion and higher future profits. However, economic expansion ultimately puts upward pressure on wages, which can reduce a firm’s profitability. Although economic expansions can increase stock prices, reduced profitability may cause them to fall.

The interconnections between stock markets and the macroeconomy have been studied extensively. However, key questions persist around whether stock markets lead or lag business cycles. More interestingly, by how much time does one lead or lag the other? Simply stating that stock markets precede business cycles provides little practical insight. More useful conclusions would measure exactly the length of time with which stock market cycles lead or lag business cycles. Moreover, different stock indices may lead the business cycle with different durations. Providing insights into the lengths of these durations is one of the primary contributions of this paper.

The relationship between inflation and the stock market is ambiguous (Wang & Li, 2020). During periods of economic growth, increased profitability often leads to bullish stock markets, coinciding with inflation driven by robust economic activity. Contrastingly, in times of economic stress, such as during high oil prices in the 1970s, expectations of higher inflation and lower economic output can lead investors to anticipate decreased profitability and stock sell-offs, aligning inflation with bearish markets. The influence of tax codes on business profits also plays a role. Inflation diminishes the real value of tax deductions on depreciation, increasing real tax liabilities and reducing after-tax profits, potentially leading to lower stock prices (DeFina, 1991; Feldstein, 1980; Quayes & Jamal, 2008).

This points to the intricacies of the associations between the stock market and the macroeconomy. This study is devoted to analyzing these associations for the United States (U.S.) stock market and the macroeconomy. Specifically, the Hamilton filter (Hamilton, 2018) is employed to extract the cyclical components from three stock indices, the Standard & Poor’s 500 (S&P 500), the Dow Jones Industrial Average (Dow), and the Nasdaq Composite (Nasdaq) and three key macroeconomic variables, the Industrial Production Index (IPI), total non-farm employment (NFE), and the Consumer Price Index (CPI). Prior studies mainly relied on the Hodrick-Prescott filter to derive cyclical components from observed series. However, Hamilton (2018) argued that the Hodrick-Prescott filter can generate spurious cycles that are disconnected from the underlying data-generating processes. Schüler (2018a) showed that the Hodrick-Prescott field yields spurious cycles. Hamilton’s method is based on a few past observations and overcomes several shortcomings of the Hodrick-Prescott filter. The current study is the first to combine this approach with time-difference analysis (Fiorito & Kollintzas, 1994; Serletis & Kemp, 1998) to examine the lead-lag relationships between stock indices and macroeconomic variables and provide specific answers about the lengths of time characterizing these relationships.

The findings indicate a strong, positive correlation between U.S. stock indices and the business cycle between 1990 and 2020, with stock markets typically lagging industrial production by one to three months. The analysis also reveals that the associations between the U.S. stock market indices and inflation have changed noticeably over time. In the 1980s and 1990s, they were negatively correlated, whereas, during the 2000s and 2010s, they were strongly and positively correlated. There is evidence, albeit less compelling, of a negative association between the real economy and stock market cycles during the 1980s. Unsurprisingly, the three stock indices have exhibited strong co-movement throughout the last 40 years.

Prior Literature: A Brief Review

Early studies indicated that specific macroeconomic indicators drive financial market sentiments. For example, Ross (1976) argued that changes in certain macroeconomic variables cause changes in systematic risk factors and, thus, affect stock returns. Shiller (1980) suggested that stock prices are dependent on future expected cash flows and future discount rates. He emphasized the importance of economic factors in sha** both the expected earnings potential of companies and investor appetite for taking on risk. Schwert (1990) attributed the huge surge in stock returns in the U.S. from 1889 to 1988 to industrial production growth.

More recent studies also showed that macroeconomic variables are good candidates for predicting stock market returns. Rapach et al. (2005) reported that macroeconomic variables are effective predictors of stock market returns. Chen (2009) concluded that the real macroeconomy affects the stock market through investment opportunities and consumption, with stock returns responding to policies affecting savings, investments, and the money supply. Relatedly, Liu and Shrestha (2008) and Peiro (2016) found that macroeconomic variables, such as industrial production and long-term interest rates, explain movements in stock prices.

Chen and Chiang (2016) reported a causal relationship between the macroeconomy and the stock market. Borjigin et al. (2018), who examined causality between the macroeconomy and the stock market in China, found evidence for a strong, non-linear, bi-directional causality. A more recent study by Wang and Li (2020), using Chinese monthly data from 1995 to 2018, indicated that stock returns were related to industrial production growth (a proxy for output growth), inflation, and interest rates.Footnote 1 Based on their overall findings, however, Wang and Li (2020) concluded that stock market indices could not be used as leading indicators of the macroeconomy and that the real macroeconomy cannot predict booms or busts in the stock market. In this regard, the conclusions of Wang and Li (2020) support those of earlier studies by Kwon and Shin (1999) and Gan et al. (2006), which suggested that although stock indices are cointegrated with major macroeconomic variables, they are not leading indicators of real macroeconomic performance.Footnote 2

Studies by Si et al. (2019) and Kim and In (2003) used wavelet analysis to examine the associations between financial markets and the real economy. Si et al. (2019) found that stock market cycles led business cycles in the short run, whereas the reverse was true over the long run. They also found that stock market cycles behaved differently during expansionary and recessionary phases of the business cycles. Kim and In (2003) also concluded that the association between the stock market and the macroeconomy changed over time.

However, the relationship between inflation and stock prices proved more nuanced. While some studies identified a positive association between inflation and stock prices (Abdullah & Hayworth, 1993; Camilleri et al., 2019; Ratanapakorn & Sharma, 2007), others pointed to a negative association (Quayes & Jamal, 2008).Footnote 3

Given the mixed evidence on whether stock markets lead or lag the macroeconomy, it is unsurprising that this issue continues to be debated. The present study contributes to this debate.

Methodological Framework and Data

Methodological Framework

This study utilized a recently developed method proposed by Hamilton (2018) to extract the cyclical components from non-stationary time series by estimating an autoregressive model using ordinary least squares. Hamilton’s method is straightforward to implement and uses only a few observations, the number of which depends upon the frequency of the data. Critical to this method is the characterization of the trend. Usually, a trend is defined over an infinite horizon. However, Hamilton (2018) suggested using a two-year horizon, arguing that it is both practical and useful. For a two-year horizon, it is possible and meaningful to make informed conjectures and form reasonable expectations based on limited sample sizes. Hamilton (2018) pointed out that irregular and unforeseeable cyclical developments are the primary reasons for incorrectly predicting the value of a series two years in advance.

Cyclical components are often derived as deviations of the actual series from its trend component. For example, Beveridge and Nelson (1981) and Hodrick and Prescott (1997) defined the cyclical component ct at time t as ytgt, where yt is the observed series, and gt is the derived long-run trend of yt.Footnote 4 According to Hamilton (2018), the cyclical component at time (t + h) is well-approximated by yt + h – yt. In other words, the cyclical component at time t is simply yt – yth. He proposed a forecast for yt + h that relies on the recent p values, where both h and p are integer multiples of the number of periods in a year. Accordingly, in the case of monthly data, h and p are represented by 24 and 12, respectively. This forecast can be formally described as

$${y}_{t+24}={\alpha}_0+{\alpha}_1{y}_t+{\alpha}_2{y}_{t-1}+{\alpha}_3{y}_{t-2}+\cdots +{\alpha}_{12}{y}_{t-11}+{v}_{t+24}.$$
(1)

Put differently,

$${\hat{v}}_{t+24}={y}_{t+24}-\left({\hat{\alpha}}_0+{\hat{\alpha}}_1{y}_t+{\hat{\alpha}}_2{y}_{t-1}+{\hat{\alpha}}_3{y}_{t-2}+\cdots +{\hat{\alpha}}_{12}{y}_{t-11}\right).$$
(2)

The time subscripts in Eq. (1) and Eq. (2) can be adjusted to represent the original time series and the residuals, respectively, at time t. While Eq. (1) can be rewritten as

$${y}_t={\alpha}_0+{\alpha}_1{y}_{t-24}+{\alpha}_1{y}_{t-25}+{\alpha}_2{y}_{t-26}+\cdots +{\alpha}_{12}{y}_{t-35}+{v}_t,$$
(3)

Equation (2) can be rewritten as

$${\hat{v}}_t={y}_t-\left({\hat{\alpha}}_0+{\hat{\alpha}}_1{y}_{t-24}+{\hat{\alpha}}_2{y}_{t-25}+{\hat{\alpha}}_3{y}_{t-26}+\cdots +{\hat{\alpha}}_{12}{y}_{t-35}\right).$$
(4)

Equation (4) yields the cyclical component.

Using this method, we decomposed (100 times the natural log of) each of the six time series. After that, following Fiorito and Kollintzas (1994) and Serletis and Kemp (1998), the magnitudes and signs of the cross-correlations between the resulting cyclical components of the macroeconomic time series and stock indices were examined. The magnitudes revealed the strengths of the cyclical associations, whereas the signs revealed their directions. Specifically, the cross-correlations of the cyclical component of a macroeconomic time series, mt, with that of a stock index, st + l, were denoted by ρ(l), where l ∈ (0, ±1, 2, …6). If the maximum value of |ρ(l)| was obtained for a negative (positive) value of l, then the stock index, st, was considered to lead (lag) the macroeconomic series, mt. The two series were considered synchronous if the maximum value of |ρ(l)| occurred at l = 0.

Whether the stock index was procyclical, countercyclical, or not associated with the business cycle was determined by the sign of ρ(0). For positive (negative) values that were significantly different from 0, st was deemed procyclical (countercyclical). However, if ρ(0) was close to 0, then st was considered unrelated to the business cycle. Furthermore, the strengths of the correlations between the cycles were ascertained by the magnitudes of |ρ(0)|. As such, following Smith (1992) and Vatsa and Miljkovic (2022), for |ρ(0)| less than a threshold θ, st was deemed contemporaneously uncorrelated with mt. θ was determined by setting 1.96 (the critical value associated with the 5% significance level) equal to \(\rho \sqrt{n-2}/\sqrt{1-{\rho}^2}\) and then solving for ρ. Next, θ < |ρ(0)| < 0.5 indicated a weak contemporaneous correlation between the two. Lastly, 0.5 ≤ |ρ(0)| ≤ 1 suggested strong contemporaneous correlation (Fiorito & Kollintzas, 1994).

It bears emphasizing that although the macroeconomic time series are seasonally adjusted, the stock indices are not. Ignoring the differences in seasonal properties across different time series may lead to incorrect conclusions. For example, applying the Hodrick-Prescott filter to isolate trends from cycles leaves seasonality embedded in the cyclical component (Buss, 2010). This may lead the researcher to incorrectly perceive a recurring seasonal pattern as cyclical changes. The cycles may possess implausible regularity. Thus, it is important to use methods that are robust to different seasonal properties of the data. Hamilton (2018) and Vatsa (2021) have convincingly demonstrated that the Hamilton filter is robust to differences in the seasonal patterns present in the data.

Although one may use off-the-shelf statistical methods such as X-13 autoregressive integrated moving average (ARIMA) or seasonal-trend decomposition using locally estimated scatterplot smoothing (LOESS) to derive seasonally adjusted data and then apply any filtering technique to extract the cyclical components, this approach is ill-advised on the following grounds. A one-size-fits-all approach that applies the same adjustment method to multiple series with different seasonal properties may leave seasonality embedded in some series while removing it from others. Consequently, the cyclical components of some series might be free of seasonality, and those of others might not. One may approach seasonal adjustment more discriminately by applying different techniques to different series. However, this is an ad hoc approach, susceptible to the biases and inclinations of the researcher. Seasonal decomposition can be obviated by using filtering techniques that are robust to the seasonal properties of the data. The Hamilton filter is desirable in this regard.

The Hamilton filter has also come under criticism. For example, Schüler (2018b) argued that the filter is based on ad hoc assumptions and amplifies cycles that are longer than regular business cycles while muting the shorter-term fluctuations. Specifically, Schüler (2018b) questioned the use of the two-year forecast horizon on which Hamilton based his regression-based filter. However, Schüler (2018b) also suggested that the Hamilton filter produces more robust cyclical estimates than the Hodrick-Prescott filter at the end of the samples and, thus, may be used gainfully for designing policies.

Given the limitations and advantages of the Hamilton and Hodrick-Prescott filters, using multiple methods to triangulate the results will help mitigate the impact of the shortcomings of one method or the other. With this in mind, the robustness of the results obtained from the Hamilton filter was confirmed using a simple random walk model. As the analysis used monthly data and considered a two-year forecast horizon, Eq. (5) can be used to approximate the cyclical components as:

$${\hat{v}}_{t+24}={y}_{t+24}-{y}_t.$$
(5)

In large samples, Eq. (1) converges to Eq. (5), with \({\hat{v}}_{t+24}\) capturing how much the series changes over two years (Hamilton, 2018). Equation (5) presents an intuitive and simple filtering technique that can be readily implemented to verify the results obtained from alternate methods. The cross-correlations obtained from Eq. (5) are presented as comparators for those obtained from Eq. (4). Last, the Hodrick-Prescott filter was used to derive stock market and macroeconomic cycles and to estimate correlations between them. After all, the Hamilton filter has been put forth as a better alternative to the Hodrick-Prescott filter. A comparison of the results yielded by the two filters is in order.

Data

Data on the S&P 500, the Dow, and Nasdaq were sourced from the Datastream database (Refinitiv, 2020). The macroeconomic data were obtained from the Federal Reserve Economic Data (FRED) database (Federal Reserve Bank of St. Louis., 2020). Monthly data from January 1980 to April 2020 were used for each series except for the Dow, for which data from January 1986 to April 2020 were used.Footnote 5 The IPI was used instead of the real gross domestic product (GDP) as monthly data for the latter were unavailable. The timeliness with which the IPI is reported makes it a useful barometer of real macroeconomic activity. Another advantage of using the IPI is that it is more sensitive to short-run fluctuations in economic activity than the real GDP and can capture sudden changes in demand, supply chain disruptions, and other shocks stemming from trade policy and movements in exchange rates. Furthermore, using quarterly data, the highest frequency for the real GDP, may not reveal the cyclical variations in stock market activity as clearly as monthly data, defeating one of the primary objectives of this study. NFE, which accounts for approximately 80% of the workers contributing to the total U.S. output, was used to confirm the results obtained using the IPI. Together, the two variables provide a more comprehensive view of the nexus between the real macroeconomy and various stock indices. Last, the CPI was used to study the link between inflation and the stock market.

The macroeconomic variables and the stock indices are plotted in Figs. 1 and 2, respectively. These provide useful insights into the trends and patterns in, correlations among, and stationarity properties of the data. All the variables trend upward throughout the sample period. Among the macroeconomic variables, the IPI and NFE exhibited similar patterns. However, the CPI behaved somewhat differently. It followed an approximately linear trend in the long run, showing no notable changes even during the recessionary phases. The three stock indices show strikingly similar behaviors, rising and falling together.

Fig. 1
figure 1

Macroeconomic series (1980–2020): Industrial production index, non-farm employment, CPI. Data sources: FRED (Federal Reserve Bank of St. Louis, 2020) and Datastream (Refinitiv, 2020)

Fig. 2
figure 2

Trends in the S&P 500, the Dow, and Nasdaq. For the S&P and Nasdaq, data from January 1980 to April 2020 are shown. For the Dow, data from January 1986 to April 2020 are shown, Data sources: FRED (Federal Reserve Bank of St. Louis, 2020) and Datastream (Refinitiv, 2020)

Empirical Evidence

Figures 3, 4, and 5 illustrate stock market cycles relative to macroeconomic cycles derived using the Hamilton filter. Figure 3 presents cycles in the three U.S. stock indices relative to the IPI since 1980, while Fig. 4 substitutes NFE for industrial production. Figure 5 examines U.S. stock market cycles relative to the U.S. inflation rate.

Fig. 3
figure 3

Stock market cycles relative to output cycles (Dec. 1982-Apr. 2020). Cycles for the Dow are for the period December 1988–April 2020. Data sources: FRED (Federal Reserve Bank of St. Louis, 2020) and Datastream (Refinitiv, 2020)

Fig. 4
figure 4

Stock mrket cycles relative to employment cycles (Dec. 1982-April 2020). Cycles for the Dow are for the period December 1988–April 2020. Data sources: FRED (Federal Reserve Bank of St. Louis, 2020) and Datastream (Refinitiv, 2020)

Fig. 5
figure 5

Stock mrket cycles relative to inflation (Dec. 1982-April 2020). Cycles for the Dow are for the period December 1988–April 2020. Data sources: FRED (Federal Reserve Bank of St. Louis, 2020) and Datastream (Refinitiv, 2020)

The correlations and the summary statistics in Table 1 support the observations noted above. First, the monthly growth rates of the three stock indices are strongly correlated. Second, the IPI is strongly correlated with only the NFE. Third, inflation is uncorrelated with the growth rates of the other variables. Fourth, and surprisingly, the monthly growth rate of the IPI is uncorrelated with those of the various stock market indices.

Table 1 Summary statistics of and cross-correlations between stock market and macroeconomic time series

Noting the general upward trends in the six time series, two deterministic regressors were included, namely the intercept and a linear trend, to examine the stationary properties of the series. The drawback of including both deterministic terms is that estimating unnecessary parameters reduces degrees of freedom and the power of unit root tests. However, incorrectly ignoring the trend may reduce the power of the test to zero. Therefore, unit root tests without the linear trend were also conducted where necessary.

The results of the Phillips and Perron (1988) unit root tests presented in Table 2 suggest that the CPI is trend-stationary.Footnote 6 The other five series are non-stationary. The cross-correlations between the macroeconomic time series and the stock indices, estimated using the Hamilton filter, the random walk model, and the Hodrick-Prescott filter, are presented in Tables 3, 4, 5, 6. As correlations can change over time, the results are presented in separate tables for each of the four decades between 1980 and 2020.

Table 2 Results of Phillips-Perron unit root tests
Table 3 Cross-correlations: Stock indices and the macroeconomy; January 1980 to December 1990
Table 4 Cross-correlations: Stock indices and the macroeconomy; January 1990 to December 1999
Table 5 Cross-correlations: Stock indices and the macroeconomy; January 2000 to December 2009
Table 6 Cross-Correlations: Stock indices and the macroeconomy; January 2010 to December 2019

Consider the cross-correlations between the IPI and the three stock indices during the 1980s presented in Table 3. Although the three methods yield correlation coefficients of different magnitudes, overall, the evidence points to the stock indices being weakly countercyclical. The random walk model, however, suggests strong countercyclicality in the case of the Dow. The contemporaneous cross-correlations between the stock indices and NFE were negative and greater than −0.5, indicating a weakly negative association between them. The contemporaneous correlations between stock indices and inflation were also negative, albeit larger than those for IPI and NFE. The bottom panel shows that the three stock indices were strongly and positively correlated. Moreover, the correlations ρ(0) are the strongest, signifying that the stock indices exhibited strong co-movement.

In the 1990s, the correlations between stock market cycles and the macroeconomic variables changed markedly. Table 4 shows that stock markets were strongly procyclical during this period. Both the Hamilton filter and the random walk model yielded similar findings. The Hodrick-Prescott filter, on the other hand, produced starkly different results, suggesting that while the S&P 500 was weakly countercyclical, the Nasdaq and the Dow were not contemporaneously correlated with the business cycle. The correlations between the stock market cycles and inflation were negative. The results produced by the Hamilton filter and the random walk model were quite similar. These methods produced much stronger correlations than the Hodrick-Prescott filter. The Nasdaq and the Dow continued to show strong co-movement with the S&P 500 during the 1990s.

The correlations for the 2000s are presented in Table 5. Once again, the Hamilton filter and the random walk model produced similar results, showing that all three stock indices were strongly procyclical. The contemporaneous correlations with the IPI were above 0.80 for the S&P 500 and the Dow and greater than 0.60 for the Nasdaq. Although the Hodrick-Prescott filter produced smaller correlations than the other two filters, the correlations were large enough to lead one to the same conclusion. Stock markets were strongly procyclical in the 2000s. The correlations of the stock indices with NFE corroborate this evidence.

As for the lead-lag associations, the maximum values of the correlations of the stock indices with the IPI and NFE were observed for l > 0, indicating that stock markets lagged business cycles. In the case of the IPI, the maximum values were observed for 1 ≤ l ≤ 3. The results showed evidence of a strong positive contemporaneous correlation between inflation and the S&P 500. The evidence was mixed for the Nasdaq and the Dow, with the correlations being slightly larger for the latter. In each case, the Hodrick-Prescott filter produced noticeably lower correlations. Apropos the lead-lag associations, there is compelling evidence that stock market cycles lagged inflation during the 2000s.

The results for the 2010s presented in Table 6 bear a striking resemblance to those for the 2000s, suggesting that the associations between the stock market and macroeconomic cycles remained relatively stable during the first two decades of the twenty-first century. The contemporaneous correlations between the stock indices and the IPI were positive and greater than 0.60 per the Hamilton filter and the random walk model. The Hodrick-Prescott filter produced positive correlations, albeit considerably smaller in magnitude. For NFE, the Hamilton filter and the random walk model produced positive correlations, precisely what one might expect given the procyclicality of stock indices evidenced by their positive correlations with the IPI. Furthermore, given that the maximum value of |ρ(l)| occurred at l > 0, we conclude that stock markets lagged macroeconomic activity during the 2010s.

In contrast to the Hamilton filter and the random walk model, the Hodrick-Prescott filter yielded negative correlations between the NFE and stock index cycles. This brings the veracity of the Hodrick-Prescott filter into question. If stock indices are procyclical, they should be positively correlated with NFE. However, the Hodrick-Prescott filter generated positive correlations between the stock market indices and the IPI and negative ones between the indices and NFE. These results are inconsistent and counterintuitive.

The relationship between inflation and stock market cycles was positive, with the correlations being the strongest in the case of the Dow. The bottom panel of Table 6 shows that the co-movement between the stock indices remained strong during the 2010s, with the correlations ranging between 0.94 and 0.96.

The association between inflation and stock market cycles has changed over time. During the 1980s, inflation was tamed while the stock markets rose to new heights, notwithstanding the 1987 crash. The results show a negative association between inflation and stock market performance during the 1980s. Each of the three filters suggests that inflation and stock market cycles were inversely related during the 1980s and 1990s, confirming the findings of several previous studies (e.g., Eldomiaty et al., 2019; Quayes & Jamal, 2008). The early 1980s experienced high inflation following the oil price shocks in the late 1970s, which sent oil prices spiraling upward. The Federal Reserve Bank responded by raising the interest rates to stem inflation. It succeeded, and interest rates started declining toward the end of 1981. While inflation fell reasonably consistently until 1986, the economy grew appreciably, boosting investor sentiment and leading to a protracted bull market in the 1980s. Thus, declining inflation coincided with rising stock prices.

Although the 1990s started with a short-lived recession, the decade was marked by a long economic boom. The stock market registered impressive gains in the latter half of the decade; output and employment also increased. The marked increase in productivity allowed the economy to grow rapidly without building inflationary pressures. These dynamics help explain why the stock market was negatively associated with inflation but positively associated with the real economy in the 1990s.

In the twenty-first century, inflation and stock market cycles have shown strong positive associations. During the 2000s, low interest rates, globalization, high economic growth in emerging markets, and the housing credit boom contributed to demand-pull inflation and abundant liquidity, some of which flowed into the stock markets, boosting asset prices. During the 2007–2008 global financial crises, stock markets plummeted, and inflation subsided, reinforcing the positive association. Prices and stock markets recovered in the aftermath of the crisis and on the back of fiscal stimuli and quantitative easing. Then, in 2014–2015, a glut in the oil markets and the Organization of the Petroleum Exporting Countries’ refusal to cut supplies caused commodity prices to fall precipitously. In parallel, the global economic slowdown, China’s stock market turmoil, the Greek debt default, and monetary policy uncertainty contributed to declines in stock indices.

Summary and Conclusion

This study used various filtering techniques to isolate cyclical components from the U.S. stock indices and macroeconomic variables. Time-difference analysis was conducted to explore lead-lag relationships between the stock index and macroeconomic cycles. As correlations and lead-lag associations may change over time, the period 1980–2020 was split into four decade-long subsets. Three core findings emerged: First, stock markets shifted from being countercyclical in the 1980s and 1990s to being procyclical in the twenty-first century when they trailed business cycles by 1–3 months. Second, correlations between stock markets and inflation turned positive in the 2000s and 2010s after being negative in the 1980s and the 1990s. Finally, results diverged considerably between filtering techniques. The Hamilton filter and random walk models produced broadly consistent results, while those generated by the Hodrick-Prescott filter differed substantially.

Specifically, the Hodrick-Prescott filter yielded inconsistent correlations between stock markets and the real economy, positive with industrial production, indicating procyclicality, but negative with employment, suggesting countercyclicality. This produced results that are at odds with commonly held views. Even though the U.S. stock markets boomed in the 1990s, and the economy grew appreciably, the results produced by the Hodrick-Prescott filter point to a negative correlation between the stock market and IPI cycles for that period. The Hamilton filter and random walk results better resonate with established economic narratives about recent decades. The inconsistencies of the Hodrick-Prescott filter bring its viability into question. Techniques failing to reproduce well-known associations between financial markets and the real economy may prove unreliable in assessing precise lead-lag relationships.

The results do not support the continued inclusion of the S&P 500 in the Composite Index of Leading Indicators, which is used to predict the direction of the U.S. economy. They show that the S&P 500 lagged industrial production by one to three months in recent decades. Interestingly, the Dow shared a stronger correlation with U.S. industrial production than the S&P 500 and Nasdaq during the twenty-first century.

Previous studies (Apergis & Eleftheriou, 2002; Fama, 1981; Osamwonyi & Evbayiro-Osagie, 2012) posited a negative association between inflation and stock market performance. We found this to be the case in the 1980s and 1990s. However, the correlations were decidedly positive during the 2000s and 2010s, with inflation leading stock market cycles by one month during the 2010s. The interlinkages between stock markets and the macroeconomy are dynamic and complex. This study provides updated evidence on how they are interlinked and how these interlinkages have evolved over the last 40 years. It stresses the importance of employing different methods and considering various macroeconomic variables to gain a comprehensive understanding of the interactions between stock markets and the broader economy.