Skip to main content
Quant Research

The Garden of Forking Paths: How P-Hacking Happens Without Anyone Deliberately Cheating

A researcher making a long series of individually reasonable analytical decisions, each one plausible on its own, can end up with a significant result purely because so many different reasonable analytical paths were implicitly available.

Key Takeaways
  • The garden of forking paths describes how a researcher making a long sequence of individually reasonable, defensible analytical decisions can end up with a statistically significant result purely due to the number of alternative reasonable choices that were implicitly available at each decision point
  • This differs meaningfully from deliberate p-hacking, since no single decision in the sequence needs to be made in bad faith for the cumulative effect to produce a spuriously significant result
  • Each individual analytical choice — how to handle outliers, which specific control variables to include, how to define the outcome variable — can be entirely defensible on its own while still contributing to an overall inflated false positive rate across the full sequence of choices
  • Pre-registering a specific analysis plan before seeing the actual data, committing in advance to specific analytical choices rather than choosing them after seeing preliminary results, is the primary practice used to address this root cause

A researcher analyzing whether a given trading signal predicts future returns makes a series of individually reasonable analytical decisions along the way — how to handle a small number of outlier observations, which specific control variables to include, how to define the exact time window for measuring returns — and finds a statistically significant result, without ever deliberately manipulating the analysis in bad faith at any single decision point, and yet the cumulative effect of this long sequence of individually reasonable choices can still produce a spuriously significant finding, a well-documented problem called the garden of forking paths.

Why this problem doesn't require any deliberate researcher misconduct

Deliberate p-hacking, in its more overt form, involves a researcher trying many different analytical approaches and then selectively reporting whichever one happened to produce a significant result — the garden of forking paths describes a genuinely different, subtler mechanism where a researcher makes only one sequence of choices, each individually defensible and reasonable in isolation, without ever consciously trying alternative approaches, and still ends up with an inflated false positive rate purely because so many other reasonable alternative choices were implicitly available at each decision point along the way.

Why each individual analytical decision being defensible doesn't prevent the overall problem

A decision about how to handle outliers, considered entirely on its own, might have several genuinely reasonable options — excluding extreme values entirely, winsorizing them, or leaving them untouched — and a researcher choosing any one of these options can offer a genuinely reasonable justification for that specific choice, but the mere existence of multiple reasonable options at this decision point, multiplied across every other similar decision point throughout the analysis, creates a large number of total possible analytical paths, some meaningful fraction of which will produce a significant result purely by chance even when no genuine underlying effect exists.

Why this specifically differs from the multiple comparisons problem discussed elsewhere

The multiple comparisons problem, discussed elsewhere, concerns explicitly testing many separate metrics or hypotheses and needing to statistically correct for that explicit multiplicity — the garden of forking paths concerns a single analysis with many implicit, unexercised alternative paths that were never actually run, but whose mere availability at each decision point still inflates the overall false positive rate of the one specific analytical path that actually was run and reported.

Why this makes the garden of forking paths a genuinely harder problem to detect than deliberate p-hacking

A researcher who deliberately ran and discarded several different analytical approaches before reporting only the significant one has left behind some kind of trace of that broader deliberate search, at least in principle discoverable through careful scrutiny — a researcher who made only one sequence of individually reasonable choices, with no deliberate alternative-path exploration ever actually conducted, has left no comparable trace of a broader search, even though the same underlying statistical vulnerability, the availability of many reasonable alternative paths, was genuinely present throughout.

How pre-registering a specific analysis plan directly addresses this root cause

Committing to a specific set of analytical decisions — how outliers will be handled, which control variables will be included, how the outcome variable will be defined — before ever actually seeing the real data being analyzed directly eliminates the garden of forking paths problem at its root, since a pre-registered plan removes the researcher's ability to make any of these decisions in a way that's implicitly, even if entirely unconsciously, influenced by which choices happen to produce a more favorable-looking result once the actual data is examined.

What this means for evaluating quantitative research and structuring analysis workflows

  • Recognize that p-hacking-like inflated false positive rates can occur without any deliberate researcher misconduct, purely through the garden of forking paths mechanism
  • Favor research that pre-registered its specific analytical decisions before examining the actual data, as the most direct available protection against this problem
  • Be appropriately cautious of results built on a long sequence of individually reasonable but post-hoc analytical choices, even when each choice seems genuinely well justified
  • Recognize this as a genuinely distinct problem from deliberate p-hacking or the explicit multiple comparisons problem, requiring its own specific pre-registration solution

The garden of forking paths reveals a genuinely subtle and important insight about how spurious findings emerge — a researcher doesn't need to deliberately manipulate an analysis in bad faith for the analysis to still be quietly vulnerable to the sheer number of individually reasonable alternative paths that were available but never actually explored.

garden of forking paths p-hackingresearcher degrees of freedomunintentional p-hacking mechanismquant researcherspre-registration analysis plan