How Reliable Is Out-of-Sample Testing?

Subscribe to newsletter

Out-of-sample testing is a critical component of designing and evaluating trading systems. Trading systems are often developed and optimized using historical data, which can lead to overfitting – a situation where the system is excessively tuned to past data, resulting in poor performance on new, unseen data. Out-of-sample testing involves evaluating the trading system on data that was not used in the development process, allowing traders to gauge the system’s performance on new data and assess its robustness to market changes. By testing the system on a separate and distinct dataset, traders can be more confident that the system’s performance is not simply due to chance or overfitting, and that it is more likely to perform well in future market conditions.

Out-of-sample testing is a crucial step in designing and evaluating trading systems, allowing traders to make more informed and effective decisions in dynamic and ever-changing financial markets. But is it free of well-known biases such as overfitting, data-snooping, and look-ahead? Reference [1] investigated this issue. It pointed out,

In this paper, we examine the sources of excessively large Sharpe ratios associated with popular multifactor asset pricing models. Sharpe ratios remain too large to reconcile with leading economic models after applying simple, robust estimates of tangency portfolio weights, as well as under conventional pseudo-out-of-sample research designs that rely only on past data. We argue that the most compelling explanation behind these excessive Sharpe ratios involves a subtle form of look-ahead bias such that factors included in models, or alternatively the characteristics and portfolios from which factors are extracted, are selected based on prior research outcomes linking such characteristics with cross-sectional variation in returns…

Subscribe to newsletter https://harbourfrontquant.beehiiv.com/subscribe Newsletter Covering Trading Strategies, Risk Management, Financial Derivatives, Career Perspectives, and More

Our results have a variety of implications. First, researchers should be cautious in interpreting common out-of-sample research designs as providing assessments of factor models that are free of hindsight bias, because the samples analyzed often overlap heavily with samples previously analyzed in the literature establishing anomalous return patterns. Given the continuous and organic nature of asset pricing research, it is difficult to conduct bias-free validation analyses, but our paper attempts to make progress in this direction. Second, we interpret the much smaller Sharpe ratios associated with popular multifactor models that we obtain using alternative evaluation approaches as good news. This is because real-time investors who ‘factor invest’ using these models after they are proposed do not achieve exorbitant Sharpe ratios.

In short, out-of-sample testing also suffers, albeit subtly, from biases such as overfitting, data-snooping, and look-ahead.

We agree with the authors. We also believe that out-of-sample tests such as walk-forward analysis also suffer from selection bias.

Then how do we minimize these biases?

Let us know what you think in the comments below or in the discussion forum.

References

[1] Easterwood, Sara and Paye, Bradley S., High on High Sharpe Ratios: Optimistically Biased Factor Model Assessments (2023). https://ssrn.com/abstract=4360788

Subscribe to newsletter https://harbourfrontquant.beehiiv.com/subscribe Newsletter Covering Trading Strategies, Risk Management, Financial Derivatives, Career Perspectives, and More

Further questions

What's your question? Ask it in the discussion forum

Have an answer to the questions below? Post it here or in the forum

LATEST NEWS35th Annual National Suicide Prevention Conference in Richmond Hill, Ontario
35th Annual National Suicide Prevention Conference in Richmond Hill, Ontario

RICHMOND HILL, Ontario, April 07, 2025 (GLOBE NEWSWIRE) — The Canadian Association for Suicide Prevention (CASP) is thrilled to announce the 35th Annual National Suicide Prevention Conference, scheduled to take place May 14 – 16, 2025, at the Sheraton Parkway Toronto North Hotel & Suites…

Stay up-to-date with the latest news - click here
LATEST NEWSRussian court fines Telegram app for refusal to remove anti-government content, TASS reports
Russian court fines Telegram app for refusal to remove anti-government content, TASS reports
Stay up-to-date with the latest news - click here
LATEST NEWSLevi Strauss warns of tariff uncertainty in 2025, maintains annual forecast
Levi Strauss warns of tariff uncertainty in 2025, maintains annual forecast
Stay up-to-date with the latest news - click here
LATEST NEWSScientists genetically engineer wolves with white hair and muscular jaws like the extinct dire wolf
Scientists genetically engineer wolves with white hair and muscular jaws like the extinct dire wolf

Three genetically engineered wolves that may resemble extinct dire wolves are trotting, sleeping and howling in an undisclosed secure location in the U.S., according to the company that aims to bring back lost species. The wolf pups, which range in age from three to six…

Stay up-to-date with the latest news - click here
LATEST NEWSRivian CFO to Participate in Bank of America Securities 2025 Automotive Summit
Rivian CFO to Participate in Bank of America Securities 2025 Automotive Summit
Stay up-to-date with the latest news - click here

Leave a Reply