mre: Calculate Root Error

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

View source: R/mre.R

Description

Given k errors mre calculates the Mean Root Error, the Sum Root Error or the Mod(Geometric Squared Mean Root Error) = GRMSE.

Usage

1
mre(e,op=c("mean","sum","gm"))

Arguments

e

k forecast error(s).

op

Aggregation operator of the Root Error: 1) "mean" - Mean; 2) "sum" - Sum; 3) "gm" - Magnitude of Geometric Mean

Value

mre

Root Error.

Author(s)

Nikolaos Kourentzes

References

Kourentzes N., Trapero J. R., Svetunkov I. Measuring the behaviour of experts on demand forecasting: a complex task. Working paper http://kourentzes.com/forecasting/2014/12/17/measuring-the-behaviour-of-experts-on-demand-forecasting-a-complex-task/

See Also

bias.coeff, mre.plot.

Examples

1
2
3
# Generate some random errors
e <- runif(10,-10,10)
mre(e)

trnnick/TStools documentation built on Sept. 14, 2019, 5:22 a.m.