Given point forecasts and observations, calculate various forecasting accuracy measures.
measures(preds, obs)
Arguments
preds: the point predictions for the test data period.
obs: the observation series (training data and test data)
Returns
A named vector with the obtained criteria values is returned.
Details
Given one-step-ahead rolling forecasts as well as the whole series of given observations (training together with test data), different forecasting accuracy measures (MAE, RMSE, Pearson's correlation, MASE, RMSSE) are being calculated.