Diebold-Mariano Test Statistic

Retrieves the Diebold-Mariano (1995) test statistic, taking into account autocorrelation.
3,3K téléchargements
Mise à jour 19 fév. 2017

Afficher la licence

Retrieves the Diebold-Mariano test statistic (1995) for the equality of forecast accuracy of two forecasts under general assumptions.
The function also corrects for the autocorrelation that multi-period forecast errors usually exhibit. Note that an efficient h-period forecast will have forecast errors following MA(h-1) processes. Diebold-Mariano use a Newey-West type estimator for sample variance of the loss differential to account for this concern.
References:
K. Bouman. Quantitative methods in international finance and macroeconomics. Econometric Institute, 2011. Lecture FEM21004-11.

Diebold, F.X. and R.S. Mariano (1995), "Comparing predictive accuracy", Journal of Business & Economic Statistics, 13, 253-263.

Citation pour cette source

Semin Ibisevic (2025). Diebold-Mariano Test Statistic (https://fr.mathworks.com/matlabcentral/fileexchange/33979-diebold-mariano-test-statistic), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2010a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Environmental Science dans Help Center et MATLAB Answers
Remerciements

A inspiré : dmtest_modified(e1, e2, h)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version
1.2.0.0

Implemented the change proposed by Mark to prevent the occurrence of a negative variance estimator when taking longer horizons.

1.1.0.0

updated the description

1.0.0.0