Skip to main content
v2026.11,772 entries · CC-BY 4.0

Direct comparison

P-hacking vs HARKing: Key Differences

P-hacking manipulates analysis until p<0.05; HARKing rewrites hypotheses after seeing results. Compare both and how pre-registration defends against each.

Written and maintained by CASRAI Editorial Board

Last updated

Ask CASRAI · included with Regulatory Radar

Ask about P-hacking vs HARKing: Key Differences

Ask CASRAI answers research-administration questions and cites the passages behind every claim — and says so when the corpus does not cover something, instead of guessing. It comes with a Regulatory Radar subscription at $29 a month, alongside the daily digest of regulatory changes and the dashboard of what changed.

150 questions a day, on this site, over the API, or inside your own tools through the CASRAI MCP server.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays free to read, with no account and no card.

How do P-hacking, HARKing compare side by side?

The table below compares P-hacking, HARKing across 9 procurement-relevant dimensions, from what it manipulates through can co-occur?.

Side-by-side comparison

DimensionP-hackingHARKing
What it manipulatesThe data analysis - which tests are run, when data collection stops, which exclusions are appliedThe stated hypothesis - rewriting it after the results are known
What stays fixedThe hypothesisThe analysis that was actually run
Origin of the termPopularized by Simmons, Nelson & Simonsohn, 'False-Positive Psychology' (2011)Coined by Norbert Kerr, 'HARKing: Hypothesizing After the Results are Known', Personality and Social Psychology Review (1998)
Typical mechanismMultiple comparisons, optional stopping, selective covariate inclusion, outlier exclusionPost-hoc hypothesis presented as a priori in the introduction/discussion
Where it happens in the paperMethods/results - the analysis pipeline itselfIntroduction/discussion - the narrative framing
Detectable viaExcess of p-values just below .05 across the literature (p-curve analysis); discrepancy between pre-registration and reported analysisDiscrepancy between a pre-registered hypothesis and the published introduction; implausibly precise 'predicted' post-hoc findings
Primary structural defenseStatistical Analysis Plan (SAP) / pre-specified analysis, Registered ReportsPre-registration of hypotheses, Registered Reports
Classified asQuestionable research practice (QRP), not research misconductQuestionable research practice (QRP), not research misconduct
Can co-occur?Yes - a p-hacked result is often also HARKed into the introduction as a predicted findingYes - see above

Common questions

Common questions about P-hacking vs HARKing

Can a single study involve both p-hacking and HARKing?

+

Yes. A researcher may run multiple undisclosed analyses until one is significant (p-hacking), then write that specific comparison into the paper's introduction as the original hypothesis (HARKing). The two are frequently discussed together for exactly this reason.

Is HARKing always dishonest?

+

It is widely treated as a questionable research practice because it misrepresents the confirmatory/exploratory status of a finding, even when the underlying data and analysis are reported accurately. The problem is the false impression of a priori prediction, not fabricated results.

Does pre-registration eliminate both problems completely?

+

It substantially reduces both by creating a timestamped, checkable record, but it is not self-enforcing - a pre-registration can be ignored or a study can be run without pre-registering an exploratory arm. Registered Reports, which add independent peer review of the pre-registered protocol, are generally considered a stronger defense than self-filed pre-registration alone.

Is exploratory analysis itself a problem?

+

No. Exploratory analysis is a legitimate part of research. The issue is disclosure - exploratory findings should be labelled as exploratory, not presented as confirmatory tests of a hypothesis that was actually formed afterward.

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →

Regulatory Radar

Stop finding out after the fact

$29/month, cancel anytime. Daily digest updates from our analysis, a dashboard holding the same items, and a cited assistant for everything they raise.

  • Federal Register, Federal Register+, Grants.gov, Regulations.gov, NSF News, UKRI, plus CASRAI’s own published content.
  • 72,264 indexed passages, and every answer cites the ones it drew on.