Diebold-Mariano Test Statistic

Retrieves the Diebold-Mariano (1995) test statistic, taking into account autocorrelation.

Download
Download

You are now following this Submission

Cite As

Semin Ibisevic (2026). Diebold-Mariano Test Statistic (https://in.mathworks.com/matlabcentral/fileexchange/33979-diebold-mariano-test-statistic), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: dmtest_modified(e1, e2, h)

Categories

Find more on Environmental Science in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0

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

Download
1.1.0

updated the description

Download
1.0.0

Download