mae {TSrepr}R Documentation

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

Author(s)

Peter Laurinec, <tsreprpackage@gmail.com>

Examples

mae(runif(50), runif(50))


[Package TSrepr version 1.1.0 Index]