TSrepr (version 1.0.4)

mape: MAPE

Description

the mape computes MAPE (Mean Absolute Percentage Error) of a forecast.

Usage

mape(x, y)

Arguments

x

the numeric vector of real values

y

the numeric vector of forecasted values

Value

the numeric value in %

Examples

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

# }

Run the code above in your browser using DataLab