Element-wise computation of the absolute error loss function.
ae(y, y_hat, ...)
A numeric vector representing the actual values.
A numeric vector representing the forecasted values.
Other error/performance functions: mae
,
mase
, mse
,
r_squared
, se