Statistics
Mean absolute deviation about the mean
The average of the absolute distances from the arithmetic mean. Each difference is made positive before it is added, so positive and negative deviations cannot cancel.
Last updated
The Formula
MAD = Sum|xi - mean| / n
The average of the absolute distances from the arithmetic mean. Each difference is made positive before it is added, so positive and negative deviations cannot cancel.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| xi | An individual observation | same as data | Subtract the common mean from each of the n observations before taking its absolute value. |
| mean | Arithmetic mean of the observations | same as data | The sum of all values divided by n. Here it equals 3.8. |
| n | Number of observations | count | The divisor used to turn the total absolute deviation into an average. Here n is five. |
What Each Symbol Means
xisame as data
An individual observation
Subtract the common mean from each of the n observations before taking its absolute value.
meansame as data
Arithmetic mean of the observations
The sum of all values divided by n. Here it equals 3.8.
ncount
Number of observations
The divisor used to turn the total absolute deviation into an average. Here n is five.
See It Worked With Real Numbers
A formula on its own does not tell you which number goes where. The how to calculate the mean absolute deviation page applies this equation to a concrete case, shows every intermediate step, and names the mistakes that produce a wrong answer even when the algebra is right.
Where This Formula Appears
This equation is the working core of How To Calculate The Mean Absolute Deviation, filed under Math. Every number the guide produces comes from substituting into this one line.
Common Questions
What is the formula for Mean absolute deviation about the mean?
The formula for Mean absolute deviation about the mean is MAD = Sum|xi - mean| / n. The average of the absolute distances from the arithmetic mean. Each difference is made positive before it is added, so positive and negative deviations cannot cancel.
What does each symbol in Mean absolute deviation about the mean stand for?
xi is an individual observation; mean is arithmetic mean of the observations; n is number of observations.
What units should I use with Mean absolute deviation about the mean?
Substitute xi in same as data, mean in same as data, n as a plain count. Convert every input to those units before you start, because the equation only returns the right answer when the units on both sides agree.
What is a common mistake when using Mean absolute deviation about the mean?
Averaging the signed deviations without absolute values. Because the mean is the balance point of the data, signed deviations always add to zero. If you skip the absolute value step you will report zero spread for every data set, including obviously scattered ones. Always make each difference positive before summing.