What is HARKing (hypothesizing after the results are known), and why does it undermine a hypothesis test?

Quick Overview

Asks what HARKing (hypothesizing after the results are known) is and why it damages the validity of a hypothesis test. Tests understanding of false positive rates, hidden multiple comparisons, and the difference between exploratory and confirmatory analysis.

What is HARKing (hypothesizing after the results are known), and why does it undermine a hypothesis test?

Role: Data Scientist

Category: Statistics & Math

Difficulty: medium

Interview Round: Other

What is HARKing (hypothesizing after the results are known), and why does it undermine the validity of a hypothesis test? ```hint What a p-value assumes Ask what has to be true about how the hypothesis was chosen for the stated false positive rate to hold. ``` ```hint Count the tests Think about how many patterns an analyst looks at before one of them becomes "the hypothesis." ``` ### What a Strong Answer Covers - A clear definition of HARKing and how it differs from exploratory analysis that is labeled as such - Why choosing the hypothesis after seeing the data breaks the guarantee behind the p-value - The hidden multiple comparisons and their effect on the real false positive rate, ideally with a number - Consequences such as overstated certainty and findings that fail to replicate - Practical safeguards: pre-registration, confirmation on new data, and honest reporting of post-hoc results ### Follow-up Questions - How is HARKing different from p-hacking, and can an analysis do one without the other? - An analyst checked 20 segments after an A/B test. Would a Bonferroni correction on the winning segment make the claim valid? - How would you design the confirmation test for a promising post-hoc finding? - What would you change in a team's experimentation process to make HARKing hard to do by accident?

Overview: Asks what HARKing (hypothesizing after the results are known) is and why it damages the validity of a hypothesis test. Tests understanding of false positive rates, hidden multiple comparisons, and the difference between exploratory and confirmatory analysis.

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

What is HARKing (hypothesizing after the results are known), and why does it undermine the validity of a hypothesis test?

What a Strong Answer Covers Guidance

  • A clear definition of HARKing and how it differs from exploratory analysis that is labeled as such
  • Why choosing the hypothesis after seeing the data breaks the guarantee behind the p-value
  • The hidden multiple comparisons and their effect on the real false positive rate, ideally with a number
  • Consequences such as overstated certainty and findings that fail to replicate
  • Practical safeguards: pre-registration, confirmation on new data, and honest reporting of post-hoc results

Follow-up Questions Guidance

  • How is HARKing different from p-hacking, and can an analysis do one without the other?
  • An analyst checked 20 segments after an A/B test. Would a Bonferroni correction on the winning segment make the claim valid?
  • How would you design the confirmation test for a promising post-hoc finding?
  • What would you change in a team's experimentation process to make HARKing hard to do by accident?