A lower average forecast loss is an estimate, not a complete comparison. The Diebold–Mariano framework tests whether the expected loss difference between two forecast streams is zero, using uncertainty appropriate to the loss differential. Its conclusion concerns the selected target, loss function and evaluation population.
The statistical issue
For each common forecast origin, calculate d(t) = loss(A,t) − loss(B,t). Positive average d favours B when lower loss is better. Divide the mean differential by its standard error. Because nearby forecasts can share outcomes or information, this standard error usually requires a long-run variance estimate rather than an independence assumption.
The scoring rule defines the question. Squared error emphasises large misses; absolute error changes their influence; a suitable asymmetric loss can encode unequal consequences. A forecast that wins on one criterion can lose on another, so establish the criterion before inspecting rankings.
A worked example
Consider 100 hypothetical forecast comparisons with a mean squared-error differential of 4 squared basis points. Suppose the estimated long-run variance of the loss differential is 400 in squared loss units. The standard error of its mean is √(400/100) = 2 squared basis points, producing a statistic of 2.0.
An asymptotic two-sided normal reference gives approximately p = 0.0455. If an analyst incorrectly used an independence-based variance of 100, the statistic would become 4.0. The apparent strength of evidence would change dramatically without any improvement in the forecasts.
Practical review and implementation
Preserve forecasts as issued, with timestamps, targets and evaluation eligibility. Use identical actual outcomes for both models and explain any missing forecasts. Set the dependence bandwidth with reference to the horizon and observed loss dynamics; report sensitivity to reasonable alternatives. Distinguish the long-run variance of individual differentials from the variance of their sample mean.
Keep the candidate search history in the review. Repeatedly comparing new challengers against the same evaluation period creates selection beyond a single pairwise test. An untouched evaluation period can assess the final forecasting policy after those choices are frozen.
Assumptions and limitations
The numerical p-value is illustrative and assumes the asymptotic approximation is adequate. Small samples may need an appropriate finite-sample correction, and some nested-model comparisons require other theory. A statistically superior forecast need not produce a better portfolio after sizing, constraints and trading costs; forecast accuracy and investment utility should both be assessed.
Primary references
Further detail on the underlying concepts and data definitions:
