Here we come with yet another way of analyzing a dataset - the median absolute deviation calculator! If you're looking to learn how to calculate median absolute deviation, you're in the right place. Keep reading to learn the MAD definition and formula. And if mathematical equations aren't your language, don't worry, we also give you a step-by-step solution and an every-day-life median absolute deviation example.
So, input up to 50 numbers and get the median absolute deviation for your dataset!
What is the median absolute deviation?
In statistics, deviation means the difference between an observed value and a statistically significant central point. You measure it to see how spread out the points of a dataset are. In a set that can be characterized by the normal distribution, we recommend using standard deviation. For non-normal data, you can use median absolute deviation.
But what is absolute deviation and median?
- Absolute deviation means that it doesn't matter if a number is bigger or smaller than the central point - the distance between them is always positive.
- Median is the "middle" number of a sorted set. It always has the same amount of numbers below and above it. In a dataset containing an even amount of numbers, the median is the average between the two middlemost numbers.
By calculating the median absolute deviation, also known by its acronym MAD, you determine the median of the positive deviations around the median. Somewhat confusing? We'll look at the formula and a step-by-step solution in a second.
|💡 The acronym MAD is also used to describe mean absolute deviation. It's similar in concept, but not the same. Learn more about it in the mean absolute deviation calculator.|
How to calculate median absolute deviation?
The median absolute deviation formula is:
MAD = median(Xi - m), where
mis the median of a dataset; and
Xiis the dataset in question.
You calculate median absolute deviation around the median. Here's how to do that in a few steps:
Sort the dataset and find the median.
Subtract the median from each data point.
Find the absolute value of each number.
Sort the numbers.
Find the median of the new dataset.
Let's use these five steps to solve a MAD exercise.
Median absolute deviation example
Let's say you organized a running race between you and some of your friends. You all ran 100 m and wrote down your results: 12s, 16s, 12s, 11s, 14s, 15s. How to calculate the median absolute deviation of your running times?
- First, sort the dataset,
[11, 12, 12, 14, 15, 16], and find the median.
m = 13
- Get the new dataset by subtracting the median from each data point:
11 - 13 = -2
12 - 13 = -1
12 - 13 = -1
14 - 13 = 1
15 - 13 = 2
16 - 13 = 3
- Find the absolute value of each point:
|-2| = 2
|-1| = 1
|-1| = 1
|1| = 1
|2| = 2
|3| = 3
- Sort new points:
[1, 1, 1, 2, 2, 3]
- Find the median:
MAD = 1.5