In the collection Epistemology and rationality

What is p-hacking, and how does it create false findings?

P-hacking is running many analyses or tweaking choices until a result looks statistically significant, then reporting it selectively. This inflates false positives.

AI-drafted from web search results, then checked by a second, independent AI that read 3 of its 6 cited pages in full and found the thread supported. No person has reviewed it.

0 views
Sourced

The short answer

P-hacking means making statistical decisions or methodology choices during research that artificially produce statistically significant results. These decisions raise the probability of false positives, where a study appears to show an effect that does not exist. One paper defines it broadly as any measure a researcher applies to render a previously non-significant p-value significant. [1] [2]

Or ask in your own AI
Sourced

Why the p-value is the target

A p-value is part of a significance test and indicates how surprising or extreme a result is. In frequentist hypothesis testing, if the p-value falls below a threshold called alpha, the result is labelled significant and the null hypothesis can be rejected. Because significant results are notable and publishable, some researchers have an incentive to push the value under the threshold. [3] [2]

The practice belongs to a wider family often called data dredging or fishing. The term p-hacking is reserved for p-values, while similar practices in Bayesian statistics have been called B-hacking or posterior hacking. [2]

Or ask in your own AI
Sourced

How it produces false findings

The core mechanism is the multiple comparison problem. With alpha at 0.05, researchers expect only 5 percent of tests on true null effects to come out significant. But the chance of at least one false positive rises with each added test. For independent tests it is 1 minus 0.95 raised to the number of tests: about 9.75 percent for two tests, 22.62 percent for five, and 40.13 percent for ten. P-hacking runs many tests without correcting for this accumulation and reports only the significant ones. [4] [2]

Almost every analysis involves choices, such as how to handle outliers, whether to combine groups, and which covariates to include. Many sets of choices can be defensible if fixed before the analysis. Probing the data and then reporting a result as if it had always been the plan dramatically raises the chance of a false positive. [5]

Or ask in your own AI
Sourced

Common forms

One form is changing the sample size. Researchers check for significance, add or drop participants, and test again, which violates the stopping rules of significance testing. Because the repeated tests share most of their participants, they are not independent, but different datasets can turn up as false positives each time, so the overall rate exceeds 5 percent. [4]

A second form is grouping participants after the fact along unplanned variables, which effectively multiplies the number of tests. Both forms were illustrated in a tutorial using data drawn from true null distributions, which still generated many false positives. [4]

The literature often portrays p-hacking as trial-and-error fishing driven by incentives, continuing until the desired result appears or the researcher runs out of patience. [2]

Or ask in your own AI
Sourced

Why disclosure matters

The American Statistical Association states that reporting only analyses with certain p-values makes the reported p-values essentially uninterpretable and leads to a spurious excess of significant results in the literature. It notes that no formal multiple testing is needed for the problem to arise: any choice of what to present based on statistical results compromises interpretation if readers are not told. It recommends disclosing the number of hypotheses explored, data collection decisions, all analyses and all p-values computed. The BMJ article similarly recommends prespecifying decisions in a public protocol, or being transparent when that is not possible. [6] [5]

The term appeared shortly after the onset of the replication crisis, and p-hacking has been discussed as one driver of false-positive results in the social sciences and beyond. [2]

Or ask in your own AI

Sources

  1. What is P Hacking: Methods & Best Practices - Statistics By Jim (statisticsbyjim.com) Found by source search. Not checked by a person.
  2. Big little lies: a compendium and simulation of p -hacking strategies (royalsocietypublishing.org) Found by source search. Not checked by a person.
  3. Questionable Methods | P-Hacking | Best Practices in Science (bps.stanford.edu) Found by source search. Not checked by a person.
  4. Frontiers | A Tutorial on Hunting Statistical Significance by Chasing N (frontiersin.org) Found by source search. Not checked by a person.
  5. Data-dredging bias | BMJ Evidence-Based Medicine (ebm.bmj.com) Found by source search. Not checked by a person.
  6. The ASA's Statement on p-Values: Context, Process, and Purpose (stat.berkeley.edu) Found by source search. Not checked by a person.

Questions to follow next

  • How can researchers prevent p-hacking, for example with preregistration?
    Or ask in your own AI
  • What is the multiple comparison problem and how is it corrected?
    Or ask in your own AI
  • How much has p-hacking contributed to the replication crisis?
    Or ask in your own AI

More from Epistemology and rationality

See the collection

Keep going