TSrepr (version 1.0.4)

maape: MAAPE

Description

the maape computes MAAPE (Mean Arctangent Absolute Percentage Error) of a forecast.

Usage

maape(x, y)

Arguments

x

the numeric vector of real values

y

the numeric vector of forecasted values

Value

the numeric value in %

References

Sungil Kim, Heeyoung Kim (2016) A new metric of absolute percentage error for intermittent demand forecasts, International Journal of Forecasting 32(3):669-679

Examples

Run this code
# NOT RUN {
maape(runif(50), runif(50))

# }

Run the code above in your browser using DataLab