Back to Inference: Hypothesis Testing and Beyond

Multiple Testing and the Family-Wise Error Rate

The single most-overlooked problem in DS practice. If you run 20 tests at α=0.05, you'll average one false positive — by design. FIND_VIDEO: search 'multiple testing Bonferroni FDR correction' — recommended channel: StatQuest. Aim for 11 min or under.

18 minutesVideo LessonPDF notes
🎯 Free Guest Mode: You are learning for free. Sign in to save your completion progress and quiz answers.

Ready to continue?

Mark this lesson as complete when you're ready to proceed.

Key moments

  1. Introduction to FDRFalse Discovery Rates (FDR) are a tool used to filter out bad data that appears statistically good.
  2. The Multiple Testing ProblemTesting 10,000 genes at P < 0.05 yields 500 expected false positives, necessitating correction.
  3. P-Value Distribution (Null)When samples come from the same distribution, P-values are uniformly distributed across all bins.
  4. P-Value Distribution (Signal)When samples come from different distributions, P-values are heavily skewed toward zero.
  5. Combining DistributionsThe observed P-value histogram is a sum of uniform and skewed distributions.
  6. The Eyeball MethodThe uniform baseline in the histogram can be used to estimate and separate true positives from false positives.
  7. FDR Adjusts P-ValuesThe Benjamini-Hochberg method mathematically converts the eyeball procedure by increasing P-values to limit false positives.
  8. Benjamini-Hochberg StepsThe procedure involves ranking P-values and iteratively calculating the adjusted value based on rank and total tests.
PDF notes

Frequently asked questions

What is a false positive in this context?

A gene appears statistically significant (P < 0.05) even though the samples came from the same distribution.

Why does the Benjamini-Hochberg method make P-values larger?

It adjusts the raw P-value upwards to account for the increased chance of false positives due to multiple testing.

If my raw P-value is 0.04, why might the adjusted P-value be 0.06?

The adjustment incorporates the rank and total number of tests, penalizing significance unless the P-value is very small relative to the total tests.