KatInterview

Validating Predictive Signals in Quantitative Finance

Machine LearningModel answer
MediumModel answerMachine Learningquantitative-financetime-seriesvalidation

Last updated

Evaluate cross-sectional equity signals using correlation metrics, detect temporal data leakage, and design validation frameworks that prevent overfitting.

You're building a predictive signal for equity selection. Your signal generates daily scores for 500 stocks across five years of history, which you correlate with each stock's subsequent 5-day returns. Your backtest shows a rank correlation of 0.15 with a stability ratio of 3.5.

Answer the following:

  1. Define the evaluation metrics. Explain what rank correlation measures in this context and what the stability ratio (mean divided by standard deviation of the correlation time series) tells you. Why does stability matter more than average correlation strength for deployment decisions?

  2. Identify temporal contamination risks. Describe how future information can accidentally enter features that are timestamped to the past. Give two concrete examples of data sources or transformations that commonly introduce this problem.

  3. Design a validation protocol. Outline a complete testing procedure that would catch contamination issues and provide realistic performance estimates. Address data partitioning, the treatment of overlapping return windows, and how you would screen candidate features without biasing your results.

Assume returns are computed as logarithmic differences and that you're working with daily rebalancing decisions.

Hints

Hint 1

Correlation computed daily across stocks produces a time series; think about what the volatility of that series reveals

Hint 2

Features timestamped to a calendar date might not reflect when that information actually became available to traders

Hint 3

Standard cross-validation randomly splits data; consider why that fails when labels span multiple days and when past predicts future