How do you choose among Z-score, modified Z-score and IQR rules by sample size, skew, tails and outlier count?

Quick Overview

Asks how to pick an outlier rule among the Z-score, the modified Z-score and IQR fences. Tests your understanding of how sample size, skew, heavy tails and the expected number of outliers affect each rule, including masking in small samples.

How do you choose among Z-score, modified Z-score and IQR rules by sample size, skew, tails and outlier count?

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Other

You need a rule to flag outliers in a numeric column. How do you choose among Z-score, modified Z-score, and IQR rules based on sample size, skew, tail weight, and the expected number of outliers? ```hint What each rule estimates Look at the center and spread each rule uses, and ask how many bad points each of those estimates can absorb before it shifts. ``` ```hint Small samples Work out the largest Z-score any single point can reach in a sample of 10 values. ``` ### What a Strong Answer Covers - How each rule defines center and spread, and the threshold each one usually uses. - How sample size and the expected number of outliers affect each rule, including masking. - What skew and heavy tails do to symmetric rules, and which adjustments or transforms help. - A clear default choice for common data situations. ### Follow-up Questions - How would you flag outliers in a heavily right-skewed metric such as order value? - Your data has many tied values and the MAD comes out as zero. What do you do? - How would you detect outliers in a daily metric with strong weekly seasonality? - When would you use a formal test such as Grubbs or generalized ESD instead of a fixed-threshold rule?

Overview: Asks how to pick an outlier rule among the Z-score, the modified Z-score and IQR fences. Tests your understanding of how sample size, skew, heavy tails and the expected number of outliers affect each rule, including masking in small samples.

Nov 25, 2026
mediumData ScientistOtherStatistics & Math
0
0

You need a rule to flag outliers in a numeric column. How do you choose among Z-score, modified Z-score, and IQR rules based on sample size, skew, tail weight, and the expected number of outliers?

What a Strong Answer Covers Guidance

  • How each rule defines center and spread, and the threshold each one usually uses.
  • How sample size and the expected number of outliers affect each rule, including masking.
  • What skew and heavy tails do to symmetric rules, and which adjustments or transforms help.
  • A clear default choice for common data situations.

Follow-up Questions Guidance

  • How would you flag outliers in a heavily right-skewed metric such as order value?
  • Your data has many tied values and the MAD comes out as zero. What do you do?
  • How would you detect outliers in a daily metric with strong weekly seasonality?
  • When would you use a formal test such as Grubbs or generalized ESD instead of a fixed-threshold rule?