NMSE: NMSE error of prediction

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/NMSE.r

Description

The function calculates the NMSE error between actual and predicted values.

Usage

1
NMSE(actual, prediction, train.actual)

Arguments

actual

A vector or univariate time series containing actual values for a time series that are to be compared against its respective predictions.

prediction

A vector or univariate time series containing time series predictions that are to be compared against the values in actual.

train.actual

A vector or univariate time series that was used to train the model that produced the preditions in prediction.

Value

A numeric value of the NMSE error of prediction.

Author(s)

Rebecca Pontes Salles

References

Z. Chen and Y. Yang, 2004, Assessing forecast accuracy measures, Preprint Series, n. 2004-2010, p. 2004-10.

See Also

MSE,MAPE,sMAPE, MAXError

Examples

1
2
3

RebeccaSalles/TSPred documentation built on April 6, 2021, 2:44 a.m.