Learn R Programming

TSrepr (version 1.1.1)

maape: MAAPE

Description

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

Usage

maape(x, y)

Value

the numeric value in %

Arguments

x

the numeric vector of real values

y

the numeric vector of forecasted values

Author

Peter Laurinec, <[email protected]>

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
maape(runif(50), runif(50))

Run the code above in your browser using DataLab