Skip to main content
v2026.11,858 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 · free to try

Ask about P-hacking vs HARKing: Key Differences

Ask your first 2 questions free below. Subscribers get 150 a day for $29 a month.

An AI assistant specialized in research administration. It cites the sources behind every answer, labels web answers and says when it can't answer.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

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 →

Ask CASRAI · Regulatory Radar

Research-admin question? Get an answer that links its sources.

An AI assistant specialized in research administration. Every answer links its sources to check before you act. 2 questions free, no account. $29/month after.

  • Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.
  • Every answer numbers its sources and links each one, so you can check the source yourself.