mae: mean absolute error (mae)

Description Usage Arguments Details Value References

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

1
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.


Fgmutils documentation built on May 2, 2019, 9:16 a.m.

Related to mae in Fgmutils...