Forecast Metrics for Returns
"How would you evaluate a model that forecasts stock returns?" and the share of correct signs are a start, but neither means much alone. A full answer names the benchmark that is measured against. It measures the correlation across stocks on each date and tests its mean. It then turns that correlation into an expected Sharpe ratio and states the assumptions. This lesson builds that answer.
Out-of-sample
Out-of-sample compares the squared error of the forecast with that of a benchmark forecast , both made with information available before :
A positive value means the model beats the benchmark. The number depends on the benchmark, and there are two usual choices.
- The historical mean, the average of past returns up to . For a single stock this estimate is very noisy, so it is a weak benchmark. A model can beat it simply by predicting values closer to zero.
- Zero. For individual stocks, a forecast of zero is hard to beat, so it is the stricter test.
The rest of this lesson is for subscribers
Unlock every lesson in Machine Learning for Quantitative Research, and every other premium course.
Subscribe to continueTest your knowledge
Keep reading Machine Learning for Quantitative Research
27 lessons in this course, and every other premium course, on one subscription.
- Every lesson in every course, with the worked examples and interactive simulators
- Graded questions on every lesson, with explanations for the wrong answers as well as the right one
- The trainers, timed assessments and brainteaser library that go with them