Evidence-based investing research
Value Investing Strategy (Strategy Overview)
Allocations for November 2026 (Final)
Cash TLT LQD SPY
Momentum Investing Strategy (Strategy Overview)
Allocations for November 2026 (Final)
1st ETF 2nd ETF 3rd ETF

Which Economic Variables Really Matter for Stocks?

Steve LeCompte | | Posted in: Economic Indicators

Guide Market Indicators Economic indicators

Key Insight

Sparse PCA identifies yields, housing, and optimism factors as key drivers of stock returns, with mimicking portfolios generating gross Sharpe ratios of 0.85, 1.02, and 0.53 respectively (Feb 1960–Jun 2018; 120 FRED-MD variables, 202 portfolios).

Which economic variables are most important for predicting stock returns? In their October 2018 paper entitled “Sparse Macro Factors”, David Rapach and Guofu Zhou apply machine learning to isolate via sparse principal component analysis (PCA) which of 120 economic variables from the FRED-MD database most influence stocks. These variables span output/income, labor market, housing, consumption, orders/inventories, money/credit, yields/exchange rates and inflation. As a preliminary step, they adjust raw economic variables by, where necessary: (1) transforming them to produce stationary series; (2) adjusting for reporting lags of one or two months. They next execute sparse PCA, which sets small component weights to zero, thereby facilitating interpretation of results without sacrificing much predictive power. For comparison, they also extract the first 10 conventional principal components from the same variables. Finally, they use 202 stock portfolios to estimate the influence of sparse and conventional principal components on the cross section of stock returns. Using monthly data for the 120 economic variables and 202 stock portfolios during February 1960 through June 2018, they find that:

  • Conventional principal components are each linear combinations of all 120 economic variables, making them difficult to interpret.
  • In contrast, sparse principal components are relatively simple, with the first ten clearly relating to yields, inflation, production, housing, employment, yield spreads, wages, optimism, money and credit.
  • Only one conventional principal component significantly influences the cross section of stock returns.
  • Three sparse principal components significantly influence the cross section of stock returns, as follows:
    1. Yields (nominal interest rates). 
    2. Housing (housing starts, new private housing permits and real estate loans).
    3. Optimism (real personal income and consumption, retail sales, help wanted, overtime and new orders for durable goods).
  • Mimicking factor portfolios for these three sparse principal components generate gross annualized Sharpe ratios 0.85, 1.02 and 0.53, respectively.
  • A 4-factor model of stock returns comprised of the market factor and mimicking portfolio returns for the yields, housing and optimism factors perform similarly to or better than:
    • The Carhart 4-factor model (market, size, book-to-market, momentum).
    • The Fama-French 5-factor model (market, size, book-to-market, profitability, investment).
    • The q-factor model (market, size, investment, and profitability ).

In summary, evidence from U.S. data indicates that carefully curated and screened economic variables related to yields, housing and optimism are as effective as widely used stock/firm characteristics in explaining/predicting stock returns.

Cautions regarding findings include:

  • Some economic variables may have short-term revisions to replace the most recent estimates and/or long-term revisions for adjustments such as seasonality. In other words, source economic data may impound some look-ahead bias.
  • The stock portfolios used for testing are essentially indexes, which do not account for trading frictions required for monthly portfolio reformation or for ongoing shorting costs.
  • Nor do mimicking factor portfolios for sparse principal components of economic variables account for trading frictions and shorting costs required for monthly reformation, such that the net factor Sharpe ratios would be lower than the reported gross Sharpe ratios.
  • The methodology described is beyond the reach of most investors, who would bear fees for delegating the process to an investment/fund manager.

For other approaches, see “Enhancing Stock Market Prediction with Distilled Economic Variables” and “Following the ‘Hot’ Economic Indicators”.

Frequently Asked Questions

What is sparse principal component analysis (sparse PCA) in finance?

Sparse principal component analysis (sparse PCA) is a machine learning technique that condenses many variables into a few components while setting small component weights to zero. This makes the components easier to interpret without sacrificing much predictive power. In the Rapach and Zhou study, it was applied to 120 FRED-MD economic variables to identify which ones influence stock returns.

Which economic variables actually predict or explain stock returns?

Economic variables related to yields, housing and optimism significantly influence the cross section of stock returns, based on sparse PCA of 120 FRED-MD variables over February 1960 to June 2018. Mimicking portfolios for these three factors generated gross annualized Sharpe ratios of 0.85, 1.02 and 0.53, respectively. A 4-factor model using the market plus these three factors performed similarly to or better than the Carhart 4-factor, Fama-French 5-factor and q-factor models.

How do researchers use sparse PCA to test which macroeconomic variables drive stock returns?

Researchers first transform the 120 economic variables to be stationary and adjust for one- to two-month reporting lags. They then run sparse PCA and compare it with the first 10 conventional principal components. Finally, they use 202 stock portfolios and monthly data from February 1960 to June 2018 to estimate how each component influences the cross section of stock returns.

How do sparse principal components compare to conventional principal components for explaining stock returns?

Sparse principal components are easier to interpret and more informative than conventional principal components for stock returns. Each conventional component is a linear combination of all 120 economic variables, while the first ten sparse components relate clearly to themes such as yields, inflation, housing and employment. Only one conventional component significantly influenced the cross section of stock returns, versus three sparse components (yields, housing and optimism).

What are the limitations of using macroeconomic factor portfolios built from sparse PCA to invest in stocks?

The reported Sharpe ratios of the sparse PCA factor portfolios are gross figures that ignore trading frictions and shorting costs from monthly reformation, so net Sharpe ratios would be lower. Economic data revisions may introduce look-ahead bias, and the test portfolios are essentially indexes. The methodology is also beyond the reach of most investors, who would bear fees for delegating it to a fund manager.

Market Indicators guide

More on economic indicators

All 311 articles in the Market Indicators guide

Guru Grades

1,206 predictions by 42 market gurus since 2022: 41% right. Always saying stocks will go higher: 62%.

As of the Nov 20, 2026 close

  1. 1 Ed Yardeni A 71%
  2. Always bullish B 62%
  3. 2 Jim Paulsen B 61%
  4. 3 Sam Stovall B 58%
  5. 4 Adam Turnquist B 58%
  6. 5 Ryan Detrick B 56%

Full leaderboard ›