Original study

Machine-learning stock selection

Original study: five learners and a factor score on 140 point-in-time features

The first version's edge came from market-state inputs that drift out of their training range. Once those were made stationary, no model beat the equal-weight universe.

Exploratoryverdict
2015–2026sample
1figures

Overview

The idea

Each month, rank the S&P 500 by expected return over the next month, buy the top 50, and see whether that beats holding all of them. Five learning algorithms and one hand-built factor score answer the same question from the same 140 point-in-time features.

Design

  • Models: ridge regression, random forest, XGBoost, a LambdaMART ranker and a neural network (five seeds averaged), against a textbook factor composite with no machine learning.
  • Features: price and volume history, fundamentals as first filed, and market-state series (rates, inflation, credit, volatility) as published at the time.
  • Evaluation: a purged walk-forward; models never see a return that overlaps the test month; tested 2015 to 2026 at 10 basis points of cost.
  • The fair hurdle: the same usable index members at equal weight, built by the same engine at the same cost.

What happened

The first version looked promising: several models beat the equal-weighted universe by a few points a year. Two changes, both fixed before being run, made that edge disappear:

  • Market-state levels drift. Rate and inflation levels in the test years sat outside anything the models had trained on, and tree models cannot extrapolate, so they partly learned which era a date belonged to. Each level is now a z-score over its own trailing three years.
  • Special dividends. One-off payouts made some yields look enormous; they are now excluded.

With both changes, no model beats the equal-weighted universe over 2015–2026. Either the raw levels carried real regime information or the first result was an artefact; this study cannot tell which, and either way the original result is too fragile to act on.