mae {Fgmutils}R Documentation

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.

Details

mae = mean(abs(observados-estimados))

Value

Function that returns Mean Absolute Error

References

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


[Package Fgmutils version 0.9.5 Index]