MAE: Calculate the mean absolute error for a data set

Description Usage Arguments Value See Also

Description

MAE calculates the mean of the absolute difference between two values (predicted and actual), or the MAE. Any observations or predicted values that are NA are removed.

Usage

1
MAE(y, ymod)

Arguments

y

the actual (observed) value

ymod

the modelled (predicted) value

Value

a single value of the MAE

See Also

GetErrorMetrics


AndyClifton/PowerPerformance documentation built on May 5, 2019, 6 a.m.