Mean absolute error
Statistical error measure
- 3 min read
- 2 chapters
Related on Lably
Through Statistics, Time series and Remote sensing
Quantity disagreement and allocation disagreement
In remote sensing the MAE is sometimes expressed as the sum of two components: quantity disagreement and allocation disagreement. Quantity disagreement is the absolute value of the mean error:Allocation disagreement is MAE minus quantity disagreement.
It is also possible to identify the types of difference by looking at an plot. Quantity difference exists when the average of the X values does not equal the average of the Y values. Allocation difference exists if and only if points reside on both sides of the identity (Y=X) line.
Sign in to keep reading
One more chapter is free with a Lably account.
Related measures
The mean absolute error is one of a number of ways of comparing forecasts with their eventual outcomes. Well-established alternatives are the mean absolute scaled error (MASE), mean absolute log error (MALE), and the mean squared error. These all summarize performance in ways that disregard the direction of over- or under- prediction; a measure that does place emphasis on this is the mean signed difference.
Where a prediction model is to be fitted using a selected performance measure, in the sense that the least squares approach is related to the mean squared error, the equivalent for mean absolute error is least absolute deviations.
MAE is not identical to root-mean square error (RMSE), although some researchers report and interpret it that way. The MAE is conceptually simpler and also easier to interpret than RMSE: it is simply the average absolute vertical or horizontal distance between each point in a scatter plot and the Y=X line. In other words, MAE is the average absolute difference between X and Y. Furthermore, each error contributes to MAE in proportion to the absolute value of the error. This is in contrast to RMSE which involves squaring the differences, so that a few large differences will increase the RMSE to a greater degree than the MAE.
Optimality property
The mean absolute error of a real variable c with respect to the random variable X isProvided that the probability distribution of X is such that the above expectation exists, then m is a median of X if and only if m is a minimizer of the mean absolute error with respect to X. In particular, m is a sample median if and only if m minimizes the arithmetic mean of the absolute deviations.
More generally, a median is defined as a minimum ofas discussed at Multivariate median (and specifically at Spatial median). This optimization-based definition of the median is useful in statistical data-analysis, for example, in k-medians clustering.
Proof of optimality
Statement: The classifier minimising is .
Proof:
The Loss functions for classification isDifferentiating with respect to givesThis meansHence,

