What is the modified Z-score based on the median and MAD, and why do outliers distort it less than the Z-score?

Quick Overview

Explain how the modified Z-score uses the median and median absolute deviation to flag outliers, and why extreme values distort it less than the standard Z-score. Tests the formula and its scaling constant, the breakdown point, masking, and the cases where MAD fails.

What is the modified Z-score based on the median and MAD, and why do outliers distort it less than the Z-score?

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Other

Explain the concept of a modified Z-score using the median and Median Absolute Deviation (MAD), and why outliers distort it less than the standard Z-score. ```hint Score a point with its own statistics Ask what one extreme value does to the mean and standard deviation that are then used to score that same value. ``` ```hint The constant in the formula Compare the MAD of a normal distribution with its standard deviation. That ratio explains the scaling factor. ``` ### What a Strong Answer Covers - Gives the formulas for MAD and the modified Z-score, including the scaling constant and what it does. - Names a common flagging threshold and the scale it sits on. - Explains why the median and MAD resist outliers, using the breakdown point or a worked example. - Explains masking: how an outlier can hide itself under the standard Z-score. - Covers the failure cases, such as a MAD of zero and skewed data, and what to use instead. ### Follow-up Questions - With seven data points, what is the largest standard Z-score any single point can reach using the sample standard deviation, and what does that imply for a 3-sigma rule? - How would you adapt the modified Z-score for a strongly right-skewed metric such as order value? - A feature is zero for 70% of rows. What happens to the modified Z-score, and what would you do? - How would you detect outliers across several variables jointly?

Overview: Explain how the modified Z-score uses the median and median absolute deviation to flag outliers, and why extreme values distort it less than the standard Z-score. Tests the formula and its scaling constant, the breakdown point, masking, and the cases where MAD fails.

General logo
General
Nov 25, 2026
mediumData ScientistOtherStatistics & Math
0
0

Explain the concept of a modified Z-score using the median and Median Absolute Deviation (MAD), and why outliers distort it less than the standard Z-score.

What a Strong Answer Covers Guidance

  • Gives the formulas for MAD and the modified Z-score, including the scaling constant and what it does.
  • Names a common flagging threshold and the scale it sits on.
  • Explains why the median and MAD resist outliers, using the breakdown point or a worked example.
  • Explains masking: how an outlier can hide itself under the standard Z-score.
  • Covers the failure cases, such as a MAD of zero and skewed data, and what to use instead.

Follow-up Questions Guidance

  • With seven data points, what is the largest standard Z-score any single point can reach using the sample standard deviation, and what does that imply for a 3-sigma rule?
  • How would you adapt the modified Z-score for a strongly right-skewed metric such as order value?
  • A feature is zero for 70% of rows. What happens to the modified Z-score, and what would you do?
  • How would you detect outliers across several variables jointly?