Central Tendency and Dispersion Measures
Enter a list of numbers to calculate the Median, Absolute Deviations, and the Median Absolute Deviation (MAD).
Explore how the Median Absolute Deviation is calculated with different datasets.
A standard set of integers to demonstrate a basic calculation.
1, 1, 2, 2, 4, 6, 9
This example shows how MAD is robust and not significantly affected by extreme values.
3, 5, 7, 8, 9, 150
An example using floating-point numbers to show versatility.
1.2, 2.5, 2.8, 3.1, 4.5, 5.0
Demonstrates the calculation with a dataset that includes negative numbers.
-10, -5, 0, 2, 4, 7
1, 2.5, -3, 5, 5, 100
.σ
) can be estimated from the MAD using a constant scaling factor: σ ≈ 1.4826 * MAD
. This makes MAD a consistent estimator for the standard deviation. However, it's crucial to remember that this relationship only holds for data that is approximately normal. Our calculator provides the raw MAD value without this scaling, as assuming normality is not always appropriate.MAD = median(|Xᵢ - median(X)|)
. Where X
is the dataset, Xᵢ
represents each individual value in the dataset, and |...|
denotes the absolute value.X = {3, 5, 7, 8, 9, 150}
.(7 + 8) / 2 = 7.5
.|3 - 7.5| = 4.5
, |5 - 7.5| = 2.5
, |7 - 7.5| = 0.5
, |8 - 7.5| = 0.5
, |9 - 7.5| = 1.5
, |150 - 7.5| = 142.5
.D = {0.5, 0.5, 1.5, 2.5, 4.5, 142.5}
.(1.5 + 2.5) / 2 = 2
.