About this question

Diebold-Mariano Forecast Comparison Test

Easy · statistical_analysis · Quant Researcher interview question · diebold_mariano, forecast_evaluation, hypothesis_testing, model_comparison, statistical_analysis

The Diebold-Mariano (DM) test is a standard statistical tool for comparing the predictive accuracy of two competing forecast models based on their out-of-sample errors. In quantitative finance, it is frequently used to determine if a new alpha signal or trading model provides a statistically significant improvement over an incumbent one. The test is particularly useful as it makes no assumptions about the underlying distribution of the forecast errors. Task Implement the function diebold_marian