Multivariate Diebold-Mariano Test for Equal Accuracy of Several Forecasts
The multivariate Diebold-Mariano test checks whether three or more forecasts of the same series have equal expected loss. It forms the loss differentials of every forecast against a benchmark, estimates their long-run covariance over the forecast horizon, and tests that all mean differentials are zero with a Wald statistic. A Hotelling-type F version is given for small samples.
다변량 디볼드-마리아노 검정은 같은 계열에 대한 셋 이상의 예측이 기대 손실이 같은지를 함께 검정합니다. 기준 예측과의 손실 차이를 만들고 예측 기간을 반영한 장기 공분산을 추정한 뒤, 평균 손실 차이가 모두 0인지를 왈드 통계량으로 봅니다. 표본이 작을 때를 위한 호텔링형 F 통계량도 함께 냅니다.
Do these competing forecasts of one series differ in accuracy at all, taken together?
같은 계열에 대한 여러 예측이 전체적으로 정확도에서 차이가 있습니까?
The method returns the chi-square and F statistics with p-values, the mean loss of every forecast, pairwise Diebold-Mariano statistics against the first forecast and the forecast with the lowest mean loss.
When to use Multivariate Diebold-Mariano Test for Equal Accuracy of Several Forecasts
- You compare three or more forecasts of the same target over the same evaluation period.
- You want one joint test before looking at pairwise comparisons.
- Forecasts are h steps ahead and errors overlap.
When to use something else
- Only two forecasts are compared: use Diebold-Mariano Forecast Comparison Test
- Forecasts come from nested models estimated on expanding windows: use Giacomini-White Conditional Predictive Ability Test
Assumptions and requirements
- Loss differentials are covariance-stationary
- Serial correlation of differentials vanishes beyond h - 1 lags
- Evaluation sample large relative to the number of forecasts
What the analysis reports
- Chi-square and F statistics with p-values
- Mean loss per forecast
- Pairwise statistics against the benchmark
How to report it
A multivariate Diebold-Mariano test of [k + 1] forecasts (T = [value], h = [value]) gave chi2([value]) = [value], p = [value]; F([value], [value]) = [value], p = [value].
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with statsmodels and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-9.
독립 계산. statsmodels·직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-9).
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Multivariate Diebold-Mariano Test for Equal Accuracy of Several Forecasts on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and predictor (feature) columns
- Price
- 250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.