Forecasting and statistics
Mean absolute error (MAE)
The average of the unsigned differences between actual and forecast values; it shows how far off a forecast is on average, in the same unit as the data.
Key points
- It is expressed in lei, units or percentages, like the data, so it is easy to understand.
- Every error weighs the same; a single large error does not dominate the result.
- It only makes sense in comparison: with a naive benchmark, another model or across horizons.
Formula
MAE = (1 ÷ n) × Σ |actual − forecast|
Illustrative example
Over four months, forecasts were 100, 120, 110 and 130 thousand lei, and actual sales 104, 115, 118 and 127 thousand. The absolute errors are 4, 5, 8 and 3, so MAE = 20 ÷ 4 = 5 thousand lei a month.
The company and figures in the example are illustrative.
Common mistakes
- Computing it on the same data the model was fitted on.
- Comparing MAE across series of very different sizes (percentage errors are used for that).
- Reporting MAE without the benchmark it is compared with.
Read more
Related terms
Backtesting (out-of-sample test) · Naive benchmark · Forecast horizon