How to calculate median absolute deviation?
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.
The one you selected is the right choice. The first choice.