Mean Absolute Deviation (MAD) vs. Mean Absolute Error (MAE)

Jun 17, 2023·

2 min read

Play this article

Mean absolute deviation (MAD) and mean absolute error (MAE) are not the same, although they both measure the average difference between values.

Mean Absolute Deviation (MAD)

MAD is a measure of dispersion or variability in a dataset. It calculates the average absolute difference between each data point and the mean of the dataset. MAD is calculated using the following steps:

  1. Calculate the mean of the dataset.

  2. Calculate the absolute difference between each data point and the mean.

  3. Calculate the average of these absolute differences.

MAD is often used as an alternative to standard deviation when the data contains outliers or when the distribution is not symmetric.

Mean Absolute Error (MAE)

MAE, on the other hand, is a measure of accuracy or error in predictive models or regression analysis. It calculates the average absolute difference between predicted values and the corresponding actual values. MAE is calculated using the following steps:

  1. Calculate the absolute difference between each predicted value and its corresponding actual value.

  2. Calculate the average of these absolute differences.

MAE is often used as a metric to evaluate the performance of regression models or forecast accuracy.

Similarity and Difference between MAD and MAE

While both MAD and MAE involve calculating the average absolute difference, their contexts and purposes differ. MAD focuses on measuring dispersion or variability within a dataset, while MAE focuses on measuring the accuracy or error of predictions or model outputs.

It's important to use the appropriate term (MAD or MAE) depending on the context in which we are working.


Connect & Discuss with us on LinkedIn