Learn R Programming

Fgmutils (version 0.9.5)

mae: mean absolute error (mae)

Description

is a quantity used to measure how close forecasts or predictions are to the eventual outcomes. The mean absolute error is given by.

Usage

mae(observados, estimados)

Arguments

observados

vector of values observed.

estimados

vector of regression model data.

Value

Function that returns Mean Absolute Error

Details

mae = mean(abs(observados-estimados))

References

see https://en.wikipedia.org/wiki/Mean_absolute_error for more details.