------------------------------------------------------------------------------- help formizrachl2(StataList distribution ?? ??? 2003) -------------------------------------------------------------------------------

Mizrach robust forecast comparison statistic

mizrachl2pred1 pred2[ifexp] [inrange] [,k(lags)]

mizrachl2is for use with time-series data. You musttssetyour data before usingmizrachl2; see help tsset.

varnamemay contain time-series operators; see help varlist.

Description

mizrachl2calculates a forecast comparison test proposed by Mizrach (1995). Given two competing predictions, a positive definite, robust statistic for comparing the predictions' accuracy may be calculated.

Options

kspecifies the maximum order of the lag to be used in calculating the long-run variance of the difference series from its autocovariance function. If it is not provided, the maximum lag order will be calculated as a function of the sample size.

Examples. use http://fmwww.bc.edu/ec-p/data/macro/barclaymonthly.dta,clear

. mizrachl2 bbjpy1f bbjpy2f

. mizrachl2 bbjpy1f bbjpy2f, k(10)

. mizrachl2 D.bbjpy1f D.bbjpy2f if tin(1987m12,1996m12), k(4)

ReferencesBruce Mizrach, "Forecast Comparison in L2", Rutgers University Working Paper 1995-24

AcknowledgementsThis routine is a translation of a Fortran program kindly provided by Bruce Mizrach. Remaining errors are my own.

AuthorChristopher F Baum, Boston College, USA, baum@bc.edu

Also seeOn-line: help for predict; help for dmariano (if installed)