EconPapers    
Economics at your fingertips  
 

DMARIANO: Stata module to calculate Diebold-Mariano comparison of forecast accuracy

Christopher Baum

Statistical Software Components from Boston College Department of Economics

Abstract: dmariano calculates a measure of predictive accuracy proposed by Diebold and Mariano (1995). Given an actual series and two competing predictions, one may apply a loss criterion (such as squared error, mean absolute error, or mean absolute percentage error) and then calculate a number of measures of predictive accuracy that allow the null hypothesis of equal accuracy to be tested. The S(1) measure, calculated in this routine, tests that the mean difference between the loss criteria for the two predictions is zero, using a long-run estimate of the variance of the difference series.

Language: Stata
Requires: Stata version 9.2
Keywords: forecast accuracy; predictions; MSE; MAE; Newey-West (search for similar items in EconPapers)
Date: 2003-06-09, Revised 2021-11-26
Note: This module may be installed from within Stata by typing "ssc install dmariano". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/d/dmariano.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/d/dmariano.sthlp help file (text/plain)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s433001

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2025-03-30
Handle: RePEc:boc:bocode:s433001