What multiple-comparison problem arises when you run an outlier test on every point, and how do you handle it?

Quick Overview

Asks what goes wrong statistically when an outlier test is applied separately to every point in a dataset, and how to correct for it. Tests understanding of family-wise error, false discovery rate control and outlier procedures built for many comparisons.

What multiple-comparison problem arises when you run an outlier test on every point, and how do you handle it?

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Other

When you apply an outlier test to every point in a dataset, what multiple-comparison problem arises and how do you account for it? ```hint Count the false alarms Suppose none of the points is a real outlier. How many would a per-point test at level alpha flag on average, and what is the chance it flags at least one? ``` ```hint Choose the error you care about Decide whether a single false flag is costly or whether a small share of false flags among many real ones is acceptable. Different corrections control different quantities. ``` ### What a Strong Answer Covers - Why testing every point amounts to many simultaneous tests, with the probability of at least one false flag and the expected number of false flags. - A correction that controls the family-wise error rate, and what it costs in power. - False discovery rate control and when it is the better target. - Outlier procedures that build the correction in, and the related problems of masking and swamping. ### Follow-up Questions - With 10,000 points and a few dozen real outliers that analysts will review by hand, which correction would you use and why? - What are masking and swamping, and how does the generalized ESD test deal with them? - The points come from a time series and are autocorrelated. How does that affect the corrections? - How would you set a flagging threshold for a monitoring system that scores millions of events a day?

Overview: Asks what goes wrong statistically when an outlier test is applied separately to every point in a dataset, and how to correct for it. Tests understanding of family-wise error, false discovery rate control and outlier procedures built for many comparisons.

PracHub logo
General
Nov 24, 2026
mediumData ScientistOtherStatistics & Math
0
0

When you apply an outlier test to every point in a dataset, what multiple-comparison problem arises and how do you account for it?

What a Strong Answer Covers Guidance

  • Why testing every point amounts to many simultaneous tests, with the probability of at least one false flag and the expected number of false flags.
  • A correction that controls the family-wise error rate, and what it costs in power.
  • False discovery rate control and when it is the better target.
  • Outlier procedures that build the correction in, and the related problems of masking and swamping.

Follow-up Questions Guidance

  • With 10,000 points and a few dozen real outliers that analysts will review by hand, which correction would you use and why?
  • What are masking and swamping, and how does the generalized ESD test deal with them?
  • The points come from a time series and are autocorrelated. How does that affect the corrections?
  • How would you set a flagging threshold for a monitoring system that scores millions of events a day?