Median absolute deviation measures how widely observations spread around a data set’s median. For NBA analysis, it helps compare the consistency of teams’ regular-season wins within each season. section 18.0 section 20.7
Compute the measure by following this practical sequence:
- Aggregate those absolute differences to compare year-over-year dispersion. section 18.4.5
NBA regular-season wins
In R, `records %>% group_by(Season) %>% mutate(mdad_wins = abs(W - median(W)))` creates each team’s distance from its season median. The resulting annual values can be plotted with ggplot2. The NBA comparison found that median-based results were nearly identical to mean-based results, while dispersion increased during the early salary-cap era. section 18.4.5

