Skip to content
Close view of a market candlestick display

Which forecast metric should an investment model optimise?

Choose loss functions that match means, medians, tails or rankings, then assess the actual portfolio separately.

The key idea

Choose the forecast metric according to the quantity being predicted and the decision it supports. Squared error, absolute error, quantile loss, classification scores and ranking measures answer different questions. A better score on one objective is not automatically a better portfolio after costs, risk limits and execution.

The model and its assumptions

Squared error penalises large misses more strongly and targets the conditional mean under standard assumptions. Absolute error targets a conditional median. Quantile loss puts asymmetric weight on errors to estimate a chosen conditional quantile. Directional accuracy discards magnitude, while a ranking metric may be appropriate when only relative selection matters.

The distinction becomes practical when extreme observations are economically important. A forecast that ignores rare large losses can look attractive under an average absolute error measure yet be unsuitable for a tail-risk decision. Equally, fitting every extreme observation can destabilise a noisy mean forecast.

A worked example

Suppose four hypothetical outcomes in basis points are 0, 0, 0 and 20. Always forecasting zero gives mean absolute error of 5 and mean squared error of 100. Forecasting the sample mean, 5, gives mean absolute error of 7.5 but mean squared error of 75. Neither forecast improved every criterion.

For a 95th-percentile forecast, pinball loss weights an underprediction by 0.95 times its error and an overprediction by 0.05 times its error. A ten-unit underprediction therefore costs 9.5 loss units, versus 0.5 for a ten-unit overprediction. The asymmetry reflects the chosen quantile objective.

Practical review and implementation

State the target functional, unit and benchmark before tuning. Calculate forecast scores on chronological held-out predictions, with uncertainty that recognises shared events or market dates. Compare a model with simple historical, no-change or base-rate forecasts that could have been generated at the same time.

Then evaluate the decision policy separately. Include turnover, costs and the response to forecast uncertainty. Report whether predictive improvements occur in regions where they actually alter an action, rather than assuming a small aggregate score improvement creates tradable value.

Assumptions and limitations

The sample calculations illustrate loss functions, not the accuracy attainable in markets. A metric can be optimised on the wrong timestamps, contaminated labels or an unrepresentative period. Different risk preferences can justify different objectives, but changing the metric after observing the test results is another selection decision and should be recorded.

Primary references

Further detail on the underlying concepts and data definitions: