accuracy.gts: Accuracy measures for forecast grouped and hierarchical model
Description
Returns range of summary measures of the forecast accuracy. The function measures
out-of-sample forecast accuracy based on (holdout data - forecasts). All measures are defined and discussed in Hyndman and Koehler (2006).
An object of class gts, containing the forecasted hierarchical time series
x
An object of class gts, containing the holdout hierarchical time series
criterion
Forecast error criterion.
Value
Vector (or matrix if criterion=="all") giving forecast accuracy measures.
RMSERoot Mean Square Error
MAEMean Absolute Error
MAPEMean Absolute Percentage Error
MASEMean Absolute Scaled Error
Details
MASE calculation is scaled using MAE of in-sample naive forecasts for non-seasonal time series, and in-sample seasonal naive forecasts for seasonal time series.
References
R. J. Hyndman and A. Koehler (2006), Another look at measures of forecast accuracy, International Journal of Forecasting, 22, 679-688.