Multiple Comparisons › Common Pitfalls and Best Practices
Machine Learning from ScratchAll chapters Multiple Comparisons › Common Pitfalls and Best PracticesOne section · Sections in this chapter8 / 12 ↓
Reading tools Definitions & inline links
Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.
Article links
Make inline references clickable
Pitfall 1: Ignoring Multiple Comparisons
The most serious pitfall is ignoring the multiple comparisons problem entirely. This leads to inflated false positive rates and unreliable conclusions.
Multiple comparisons can be hidden in various ways:
- Testing many subgroups without pre-specification
- Analyzing data at multiple time points
- Testing multiple outcomes without correction
- "Peeking" at data during sequential data collection
- Testing different model specifications
All of these constitute multiple testing and require appropriate correction.
Pitfall 2: Overcorrecting
Applying overly conservative corrections (like Bonferroni when BH would suffice) reduces power and may cause you to miss real effects. Match your correction method to your research goals.
Pitfall 3: Correcting Within Correlated Families
When tests are strongly positively correlated (e.g., testing the same hypothesis in overlapping subsamples), standard corrections become overly conservative. Consider methods designed for dependent tests or reduce to independent tests.
Best Practices
- Pre-specify your analysis plan: Define which tests you'll conduct before seeing the data
- Match correction to research phase: Use FWER for confirmatory research, FDR for exploratory
- Report the correction method used: Always state which correction you applied
- Report both raw and adjusted p-values: Allows readers to apply their own standards
- Consider the dependence structure: Use BH for independent/positive dependence, BY for arbitrary dependence
- Focus on effect sizes: A barely significant corrected p-value with a tiny effect size isn't very informative