What is p-hacking (data dredging), and why is it a problem in research and data analysis?

Quick Overview

Asks what p-hacking, or data dredging, is and why it undermines research and product analytics. Tests whether you can explain how hidden comparisons and early stopping inflate false positives, and how an analyst can guard against it.

What is p-hacking (data dredging), and why is it a problem in research and data analysis?

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Other

Explain the concept of "p-hacking" or "data dredging." Why is it a problematic practice in scientific research and data analysis? ```hint Count the attempts A p-value threshold of 0.05 controls the error rate of one pre-specified test. Work out what happens to the chance of at least one false positive when an analyst quietly runs many. ``` ```hint Not only multiple metrics Think beyond testing many outcomes. Which choices made after seeing the data (when to stop, what to exclude, which model to fit) give the same extra chances? ``` ### What a Strong Answer Covers - A clear definition and the concrete forms it takes in research and in product analytics - Why hidden attempts inflate the false-positive rate, with the arithmetic - Why the reported p-value loses its meaning, and the downstream cost (failed replication, bad decisions) - How to prevent it, both in a planned study and in an experiment that is still running - The difference between honest exploratory analysis and p-hacking ### Follow-up Questions - You run an A/B test with 15 metrics and one shows p = 0.03. How do you report it? - When would you use Benjamini-Hochberg instead of Bonferroni or Holm? - How do sequential testing methods let you look at an experiment early without inflating the false-positive rate? - A stakeholder found a strong effect in one country after the test ended. What do you do with that finding?

Overview: Asks what p-hacking, or data dredging, is and why it undermines research and product analytics. Tests whether you can explain how hidden comparisons and early stopping inflate false positives, and how an analyst can guard against it.

Nov 25, 2026
mediumData ScientistOtherStatistics & Math
0
0

Explain the concept of "p-hacking" or "data dredging." Why is it a problematic practice in scientific research and data analysis?

What a Strong Answer Covers Guidance

  • A clear definition and the concrete forms it takes in research and in product analytics
  • Why hidden attempts inflate the false-positive rate, with the arithmetic
  • Why the reported p-value loses its meaning, and the downstream cost (failed replication, bad decisions)
  • How to prevent it, both in a planned study and in an experiment that is still running
  • The difference between honest exploratory analysis and p-hacking

Follow-up Questions Guidance

  • You run an A/B test with 15 metrics and one shows p = 0.03. How do you report it?
  • When would you use Benjamini-Hochberg instead of Bonferroni or Holm?
  • How do sequential testing methods let you look at an experiment early without inflating the false-positive rate?
  • A stakeholder found a strong effect in one country after the test ended. What do you do with that finding?