TSrepr (version 1.0.4)

mae: MAE

Description

The mae computes MAE (Mean Absolute Error) of a forecast.

Usage

mae(x, y)

Arguments

x

the numeric vector of real values

y

the numeric vector of forecasted values

Value

the numeric value

Examples

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

# }

Run the code above in your browser using DataCamp Workspace