Balance the Data
To measure spread, we first need the center. Slide to find the Mean (balance point).
{{i-1}}
Mean found: {{ data.mean }}
Current guess: {{ s1.sliderValue }}
Measure Distances
How far is each point from the Mean ({{data.mean}})? Drag the correct distances to the targets.
Mean {{data.mean}}
{{ pt.distance }}
Drop
startDrag(e, chip)"
class="w-12 h-12 bg-white rounded-xl shadow border-2 border-orange-400 flex items-center justify-center text-xl font-bold text-orange-600 cursor-grab hover:bg-orange-100 transition-colors touch-none"
:style="{ visibility: chip.dragged ? 'hidden' : 'visible' }">
{{ chip.val }}
All distances found!
Average the Distances
MAD is the mean of those distances.
Tap to add them up.
Slide to divide the sum evenly among the {{data.arr.length}} points.
{{ d }}
Total Sum of Distances
{{ s3.currentSum }}
Divide sum ({{s3.targetSum}}) by {{data.arr.length}} points = MAD
MAD = {{ data.mad }}
Guess: {{ s3.madGuess }}
Concept Check
Tap the dataset that is MORE spread out
(has a higher MAD).
MAD: {{ ds.mad }}
Dataset {{['A','B'][idx]}}
Master of Spread!
Recap: Mean Absolute Deviation (MAD)
- Find the center (Mean).
- Find the positive distance of each point from the mean.
- Average those distances.
Larger MAD = More Spread Out