Research methods · Statistics and evidence
Data dredging
Statistical research practice
Data dredging is the practice of searching through a dataset, or through many ways of analysing it, until a result appears that passes a threshold for statistical significance, and then reporting that result as though it had been the question all along.
The search can be literal, as when a researcher tests dozens of variables against dozens of outcomes, or it can be subtler, as when the same comparison is run under several defensible analysis choices and the one that produces a small p-value is kept. What unites the variants is that the final report shows the winning result but not the losing attempts that preceded it.
Key facts
| 37 | of 38 positive antidepressant trials published as positive, per Nissen et al. 2016[1] |
|---|---|
| 875 | fold average inflation of false-positive gene-category associations in mouse, Fulcher et al. 2021[2] |
| 67.6 | percent false-positive rate at loose cluster thresholds, Silver et al. 2011[3] |
| 37 | percent null rejection rate with within-group correlation 0.30, Lazic 2010[4] |
Overview
Data dredging
The arithmetic behind the problem is easy to see with a plain example. Run one such test and the risk of a spurious hit is small. Run twenty independent tests on data containing no real effect and the chance that at least one of them crosses the threshold is substantial, because each test gets its own roll of the dice. Nothing has gone wrong with any single test; the error creeps in when the researcher treats the one that came up significant as if it were the only test performed. The same logic applies when a single comparison is repeated under many analysis choices rather than many variables, since each choice is another opportunity for chance to oblige.

The consequences are not confined to the occasional wayward paper. When significant results are the ones that get written up and published, the literature comes to over-represent exactly those findings that chance produced, and readers have no way to tell them apart from real ones. The distortion compounds as other researchers build on the published result. A review of the statistical issues behind irreproducible research lists data dredging, or p-hacking, alongside low statistical power and publication bias as one of the statistical problems that affect replicability across many fields, and notes that the practice involves trying alternative analyses until a significant result is found and then reporting it without mentioning the nonsignificant outcomes.[5] The remedy that follows most directly is disclosure: reporting every analysis that was run, not only the successful one, so that a reader can judge how many attempts the final result emerged from.
A second line of defence is to decide the analysis before seeing the data. A checklist of the choices available to psychological researchers catalogues 34 separate degrees of freedom, spanning the framing of hypotheses, the design of the study, the collection and analysis of data, and the way results are reported, and proposes the list as a tool for research methods education, for assessing the quality of preregistrations, and for determining the potential for bias due to arbitrary choices in unregistered studies.[6] The point of the checklist is not that any one choice is wrong, but that a study which leaves many of them open can arrive at a significant finding without anyone intending to mislead. Fixing the choices in advance removes the room in which dredging happens.
Correcting statistically for the number of tests performed is a third option, and it is the right one in some settings and contested in others; the arguments for and against are taken up later. What matters at this stage is the recognition that a p-value means what it means only in the context of how many comparisons were made. A result that looks striking on its own can be unremarkable once the size of the search behind it is known. The rest of this chapter works through where the practice came from, how multiplicity produces false positives, the specific forms dredging takes in different fields, and the defences that have been developed against it.
A significant result is only as trustworthy as the number of attempts that produced it.
History
Where the practice came from
The problem is older than its current name. Statisticians have long known that a study which tests many hypotheses at once will, by chance alone, produce some that look significant, and the literature carries a cluster of informal labels for the habit of exploiting that fact: fishing expeditions, data dredging, p-hacking. A review of multiplicity in statistical testing describes how each additional test inflates the chance of a significant finding and lists unplanned, post hoc analyses (also called data dredging, fishing expeditions, or p-hacking) among the contexts in which the problem arises.[7] The vocabulary shifted over time, but the underlying worry stayed the same: a result means less when it was chosen from among many.

What changed was the framing. Where earlier discussions treated the problem as a matter of too many statistical tests, later work located it in the many small decisions a researcher makes before any test is run. A checklist for psychological research counts 34 separate degrees of freedom, spread across formulating hypotheses and designing, running, analyzing, and reporting psychological studies, and notes that the opportunistic use of these choices raises the chance of a false positive and can inflate effect sizes.[6] On this view, dredging does not require a researcher to sit down and run hundreds of tests deliberately. It can happen through a series of individually reasonable decisions, none of which looks like cheating at the time.
The metaphor that captured this for a wide audience was the garden of forking paths, the image of every decision in data processing or analysis as a fork that leads the researcher down a different route, where different routes can end at fundamentally different conclusions from identical raw data. The same source stresses that the fork is often taken without intent: a researcher may simply be unaware that alternative paths existed, or may follow the most obvious one from where they stand.[8] That matters for how the practice is described. The older labels carry an accusation of dishonesty; the newer framing describes a structural feature of research, one that any study with unstated analytic choices is exposed to.
The framing also connects dredging to the wider problem of irreproducibility. A review of the statistical roots of unreplicable research lists data dredging, or p-hacking, as one of several statistical issues that affect replicability across fields, alongside low statistical power and publication bias, and describes the practice as trying alternative analyses until a significant result appears and then reporting it without the nonsignificant attempts.[5] Placing it in that list is a claim about scale: the problem is not an occasional lapse but one of a small number of mechanisms that together shape what the published literature contains.
Running through all of these accounts is a single insight about what a reported result represents. A p-value computed from one analysis answers a narrow question, and it answers it correctly. The difficulty is that the reader of a paper sees the analysis that was run, not the ones that were considered and set aside, so the p-value is read as though it came from a study that had only ever asked one question. The modern vocabulary of researcher degrees of freedom and forking paths is an attempt to make that hidden multiplicity visible, and to give researchers and readers a way to talk about it without having to allege bad faith.
The names changed from fishing to forking paths, but the underlying issue stayed the same: a result is only as strong as the number of unstated choices behind it.
How it works
Why many tests produce false positives
A significance threshold is a rule about error rates, not a verdict about truth. When a test is run at the conventional level of p ≤ 0.05, the procedure is calibrated so that, if the null hypothesis of no effect holds and the model's assumptions are met, a result at least this extreme will arise about five times in a hundred.[5] That five percent is the price of the test, paid whether or not anything real is there. A single such test is therefore a weak instrument: a significant result is grounds for interest, not proof, and a nonsignificant one is not proof of absence either.
The trouble begins when a study contains more than one test. The familywise error rate is the probability that at least one false rejection occurs somewhere in a set of tests, treated as a single family. If the tests were independent and each were run at 0.05, the chance of at least one spurious hit would climb steeply with the number of tests, approaching certainty as the count grows.[5] The tests in real studies are rarely independent, which softens the arithmetic, but the direction is the same. A review of multiplicity in statistical testing sets out how testing many null hypotheses in one study inflates what it calls the α level, the nominal error rate the researcher believes is being held, and traces the problem through several settings: testing baseline differences, having more than one outcome, statistical tests that yield more than one p-value, taking repeated looks at accumulating data, and unplanned post hoc analyses.[7]
The practical point is that the p-value attached to the winning test does not know how many siblings it had. A result of p = 0.01 is impressive when it is the only comparison the study made and unremarkable when it is the best of fifty, because the fifty together were almost bound to produce something.[9] This is why the same number can mean different things in different papers, and why a reader who cannot see the size of the search cannot judge the result.
Two broad families of remedy follow from the arithmetic. The first controls the familywise error rate directly, holding the chance of even one false rejection at the chosen level across the whole family. The simplest version, the Bonferroni correction, divides the threshold by the number of tests, so that a study running twenty comparisons would require each to reach roughly 0.0025 before being called significant. The method is transparent and needs no assumptions about how the tests relate, but it is blunt: it treats every test as a fresh opportunity for error and pays for that caution in lost power, so that real effects can fail to clear the bar, especially when many tests are run. A review of correction methods places Bonferroni among the single-step procedures and sets it beside multistep alternatives such as the Holm, Hochberg and Šidák procedures, which order the tests and reject progressively, recovering some power while still controlling the familywise rate.[7]
The second family takes a different target. The false discovery rate is the expected proportion of false rejections among all the tests a study declares significant, rather than the chance of any false rejection at all. Controlling it allows more discoveries at the cost of tolerating a known fraction of mistakes, which suits exploratory settings where thousands of comparisons are routine and the goal is a workable list to follow up rather than a guarantee about each entry. The same review of correction methods lists false discovery rate control among the available approaches, noting that the various methods describe different aspects of the problem and are not mutually exclusive.[7]
Neither family rescues a study from a search it has hidden. A correction applied to the tests a paper reports does nothing about the tests it does not, and a reader who is told only the surviving result cannot apply a correction on the author's behalf. What the arithmetic establishes is narrower and more useful: the meaning of a p-value depends on the number of comparisons behind it, so a study that runs many tests and reports one must say so, and a field that routinely runs thousands must build the count into its standards rather than leave it to the reader's imagination. The arguments over when correction is warranted, and over what to do in fields where thousands of tests are unavoidable, are taken up later.
A p-value is a statement about one test; its interpretation depends on how many tests were run.
Researcher degrees of freedom
Between the first idea for a study and the final published sentence, a researcher makes a long series of decisions that the data do not dictate. Which outcome to treat as primary, how to score a questionnaire, whether to drop a participant who did not seem to engage with the task, which covariates to include, where to set a cut-off, which of several plausible models to report. Many of these choices are defensible in either direction, and none of them looks like misconduct. The term researcher degrees of freedom names this room for manoeuvre: the set of arbitrary choices that can affect the result of a significance test and therefore the conclusion drawn from the study.[6]
The concept matters because the choices are not neutral in their consequences. When a researcher can try one scoring rule, see the result, and then try another, the analysis stops being a test of a hypothesis and becomes a search, even if the researcher never frames it that way. A checklist assembled by a group of methodologists catalogues 34 such degrees of freedom across the life of a psychological study, from formulating the hypothesis through design, data collection, analysis and reporting, and proposes the list for research methods education, as a checklist to assess the quality of preregistrations, and to determine the potential for bias due to arbitrary choices in unregistered studies.[6] The number is not a claim that every study exercises all 34; it is a measure of how many independent ways a study can drift.
The same data, many destinations
The flexibility is easiest to see in the design stage, before any data exist. A factorial experiment with two manipulated factors gives the researcher the option, later, of pooling across one factor or of selecting particular levels of it, and a single factor with three conditions can be analysed as three levels, as two levels with the third dropped, or as a contrast between a collapsed pair and the remaining condition. The checklist counts this as one degree of freedom, and notes that a simple three-level factor already yields seven different operationalisations from which the researcher can later choose the one that produced the best result.[6] Nothing about the data changes across those seven; only the question being asked changes, and the question can be chosen after the answer is known.
Measured variables offer a parallel menu. A study that records age, personality scores or clinical ratings can later use any of them as a main predictor, as a moderator of the experimental effect, as a covariate, or as a mediator, and can split a continuous measure into groups at more than one threshold.[6] Each role implies a different model and a different p-value. The freedom is genuine, in the sense that any of these analyses might be the scientifically right one; the problem is that the choice can be made with knowledge of which one worked.
The reporting stage has its own version, and it has a name. HARKing, short for hypothesising after the results are known, is the practice of presenting an exploratory finding as though it had been predicted in advance. An exploratory study that sifts a dataset for interesting patterns is almost guaranteed to find something, since a pattern of some kind will usually be present; the checklist observes that such studies are virtually guaranteed to yield support for something interesting.[6] Presented honestly as exploration, that is a legitimate way to generate hypotheses. Presented as confirmation, it borrows credibility the finding has not earned, because the statistical evidence is read without the context of how many patterns were examined before this one was chosen.
A close relative is the vague hypothesis. A prediction stated only as "X is related to Y," without a direction, leaves the researcher free to analyse the data in a way that yields a positive effect or a way that yields a negative one, and to present whichever emerged as the tested prediction. Specifying the direction in advance closes that particular fork, which is why the checklist treats a directional hypothesis as a requirement for a well-specified study rather than a stylistic preference.[6]
Why good intentions do not help
What makes these choices hard to police is that they are usually made in good faith. The image that has stuck is the garden of forking paths: every decision in data processing or analysis is a fork, and different paths through the garden can end at fundamentally different conclusions from identical raw data. The same account stresses that a researcher often takes a particular path without any intent to obtain a favourable result, because they are unaware that alternative paths existed, or because the path they took was the most obvious one from where they stood, shaped by their training and by what the field habitually publishes.[8]
This is why the older language of fishing and dredging sits awkwardly against what actually happens. A researcher who excludes participants by one reasonable rule rather than another, or who reports one of several outcome measures, may be doing exactly what the literature in their area does. The distortion enters through the aggregate of many such decisions, each locally sensible, combined with the fact that only the version that reached significance tends to travel. The concept of degrees of freedom is useful precisely because it does not require an accusation: it describes a structural property of a study, the number of defensible routes from raw data to a reported number, and that property can be assessed from the outside.
Writing the choices down
If the problem is unstated flexibility, the obvious response is to state the choices before the data arrive. Preregistration asks researchers to specify the design and analysis plan and post it in a discoverable repository before observing the outcomes, so that the outcomes cannot influence the decisions.[10] The specification has to be more than a gesture. One analysis of what makes a preregistration effective sets three requirements: it should be specific, describing every phase from design to reporting; precise, so that each element admits only one interpretation; and exhaustive, so that it explicitly rules out deviations. Naming a questionnaire, for instance, is not enough, because a researcher who has not committed to a scoring procedure can still construct the composite score in whichever way proves most favourable.[10]
How well this works in practice is an empirical question, and it has been tested. A preregistered comparison of two registration formats on the Open Science Framework examined random samples of 53 preregistrations from each: a structured workflow with detailed prompts and an independent completeness check, and an unstructured format with minimal guidance. The structured format restricted the opportunistic use of researcher degrees of freedom better, with a median transparency score of 0.81 against 0.57 on a 0 to 3 scale, but neither format eliminated the freedom, and eight of the indicators scored close to zero on average. The authors also found very low agreement among coders about how many hypotheses a registration contained, at 14 percent, which suggests that hypotheses are often not stated clearly even when someone has tried.[10] Preregistration, on this evidence, narrows the garden rather than closing it.
Flexibility is not dishonesty, but unstated flexibility is invisible to the reader, and invisible flexibility is what lets a result be chosen rather than found.
Worked example
The garden of forking paths in fear conditioning
Fear conditioning is a standard laboratory paradigm for studying how emotional learning works. A participant sees one stimulus, the CS+, that predicts an upcoming aversive unconditioned stimulus, and another, the CS–, that does not; learning is inferred from discrimination between the CS+ and CS–. The most common response measured is the skin conductance response, taken as a proxy for arousal.[8] Because the paradigm involves learning, researchers have long worried that some participants simply fail to acquire the discrimination, and many studies routinely exclude them from analysis as non-learners, or exclude people who show little physiological reactivity at all as non-responders.
The trouble is that neither group has a settled definition. A systematic literature search covering a six-month publication period found that participant exclusion was common, appearing in 40 percent of the records examined, and that the criteria used to define non-learners and non-responders were strikingly heterogeneous: every single record that defined non-learners did so with its own idiosyncratic set of criteria. The proportion of participants excluded ranged from 6 to 52 percent across the included records, disregarding one study that reported non-learners and non-responders together at 74 percent.[8] These figures describe a field in which a large share of the data can be set aside, and in which the rule for setting it aside is largely a matter of local custom.
This is the garden of forking paths in concrete form. A researcher who decides, after looking at the data, where to place the cut-off for "did not learn" is choosing a path with the outcome already in view, and the choice is not idle. Re-analysing existing datasets, the authors found that participants classified as non-learners by definitions drawn from the published literature in fact showed significant discrimination between the CS+ and the CS– as a group, with the exception of cut-offs on differential responding below 0.05 microsiemens.[8] In other words, the operationalisation failed its own manipulation check: the people it labelled as having failed to learn gave clear evidence of learning. A definition that sounds like a neutral quality filter can therefore be selecting on something other than what it claims to measure.
The bias it introduces is not random. Discrimination in skin conductance has been linked to a long list of individual difference factors, including age, sex, genetic make-up, use of oral contraceptives and personality traits, so selecting participants on the basis of that discrimination also selects them on those factors. The authors illustrate the consequence with a case example on trait anxiety: excluding non-learners shifted the sample toward low anxiety scores.[8] That matters twice over. A finding established in a low-anxiety subsample may not hold in the population at large, and because fear conditioning is used to study mechanisms relevant to clinical anxiety, a procedure that preferentially removes people whose response patterns resemble those of anxiety patients works against the clinical translation the research is meant to serve.[8]
A further fork sits inside the measurement itself. High cut-offs on discrimination tend to favour individuals with large skin conductance amplitudes even when the ratio between CS+ and CS– responses is the same, which can bias the sample toward people with generally high arousal levels. And because skin conductance is only a proxy for arousal rather than a direct readout of fear learning, a participant who fails to discriminate on this one measure may discriminate clearly on fear ratings, expectancy ratings or fear-potentiated startle.[8] Defining non-learning on a single outcome measure therefore cannot capture non-learning in any general sense; it captures failure on that measure, in that moment, in that person.
None of this requires anyone to have acted in bad faith. The decisions are the kind that seem reasonable in the moment, and the field's habits supply a default. The authors are explicit that some flexibility is legitimate, since different research questions, designs and recording equipment may genuinely call for different processing pipelines, and they argue against rigid rules adopted for their own sake. What they press for instead is awareness of the consequences of each path, evidence-based rather than idiosyncratic criteria, and transparent reporting of exactly which exclusions were applied and why.[8] The lesson generalises beyond fear conditioning: wherever a study measures a learning process and then removes the participants who appear not to have learned, the removal rule is an analytic choice, and an analytic choice made with the data in view is a fork in the garden.
Excluding the participants who "did not learn" is an analytic decision, and a decision made after seeing the data is a path chosen with the destination already known.
How dredging distorts the published record
A single dredged result is a local event, confined to one paper and one dataset. What turns it into a problem for a whole field is what happens next: which results get written up, which get published, and how the published literature then feeds back into what researchers believe. The distortion is a property of the literature rather than of any one study, and it can be studied as such.
A model of how a claim becomes a fact
It helps to be precise about what a scientific fact is. In one formal treatment, a claim becomes a fact not when it is proven true but when the relevant community accepts it as settled, a transition the authors call canonization. The markers are familiar: the claim stops being treated as an open hypothesis, tests that would merely confirm it stop being considered worth publishing, and it starts appearing in reviews and textbooks without alternative explanations alongside it. On this account a fact is an epistemological status, a statement about what a community believes, not a guarantee that the underlying claim matches reality.[1]
Whether that status is deserved depends on the evidence that accumulates, and the accumulation is filtered. Publication bias arises when the probability that a study is published is not independent of its results, so that the findings from published tests of a claim differ systematically from the findings of all tests of that claim. The filter has two contributors that are hard to separate: authors decide which results are worth writing up, and journals decide which are worth printing, and authors may simply be responding to the incentives journals create.[1] Either way, the published sample is not a random sample of the evidence.
How strong the filter is can be measured where the full set of studies is known. Registered clinical trials provide such a set, and a meta-analysis of 74 FDA-registered studies of antidepressants found that 37 of 38 studies with positive results were published as positive, while only 3 of 24 studies with negative results were published as negative; a further 5 negative studies were reframed as positive for publication. Negative studies were thus published at scarcely more than a tenth the rate of positive ones.[1] This is the mechanism in its purest form: the studies exist, the results are known to the regulator, and the literature sees almost none of the ones that failed.
Why more evidence does not fix it
The intuitive defence against a false claim is replication. If a claim requires many studies before it is accepted, a single misleading result should be swamped. The model shows why this defence can fail. Requiring multiple studies is no panacea, because the same processes that allow one incorrect result to be published can allow enough incorrect findings to accumulate to establish a false claim as fact.[1] When positive results are published at a far higher rate than negative ones, each new study is another draw from a biased pool, and the pool fills with exactly the results that support the claim.
The model treats a community's confidence in a claim as a quantity that successive published results push up or down, positive results moving it toward fact and negative results away. Running that process forward, the finding is that unless a sufficient fraction of negative results is published, false claims frequently become canonized as fact, and that data dredging, p-hacking and similar behaviours make the problem worse. Strengthening evidentiary standards does not necessarily help: in the presence of strong publication bias, false claims are canonized not so much because of a few misleading chance results as because misleading results are on average more likely to be published than correct ones.[1] A stricter bar applied to a biased stream of studies still admits a biased selection.
The model also points to what would help. If negative results became easier to publish as a claim approached acceptance, true and false claims would be more readily distinguished, and in every case the model examined, false canonization decreased as the publication of negative results increased. One qualification is worth carrying forward: when results are continuous rather than binary, a true null can generate apparent positives in opposing directions, and a meta-analysis would pick up the inconsistency, making false canonization in either direction unlikely provided the authors avoid inferring population heterogeneity.[1] The danger is sharpest for claims with only one way of coming out positive, such as a proposed mechanism.
Reading the published literature for signs of selection
If dredging and publication bias leave a signature, it should be visible in the distribution of published p-values. The p-curve is that distribution, taken over the statistically significant results in a literature, and the logic is that studies of a true effect should produce more p-values near 0.01 than near 0.04, because a real effect makes small p-values more likely than barely significant ones.[11] A literature shaped by selection behaves differently, and the curve has been used to argue about how much of the published literature rests on real effects.
The tool has limits that matter for how much weight it can bear. Text-mining across science has been used to demonstrate that p-hacking is widespread, and the same work set out how to test for it within a meta-analysis; its conclusion was that while p-hacking is probably common, its effect appears weak relative to the real effect sizes being measured, suggesting that it probably does not drastically alter consensuses drawn from meta-analyses.[12] That is a more reassuring result than the canonization model would lead one to expect, and the two are not in direct contradiction: a bias can be pervasive and still small next to the signal in fields where effects are large.
The p-curve itself is on shakier ground in some settings. A simulation study of observational research found that even with minimal omitted-variable bias, p-curves based on true effects and p-curves based on null effects with p-hacking cannot be reliably distinguished, a problem the authors illustrate with the effect of malaria prevalence on economic growth between 1960 and 1996. Their conclusion is that p-values in observational research may need empirical calibration before they can be read against the conventional threshold, and that violations of randomization in experiments may create the same difficulty.[13] The practical implication is that a tidy p-curve is not by itself proof that a literature is sound, and a ragged one is not proof that it is rotten.
Put together, these strands describe a literature that can drift without anyone behaving badly. A result is selected for being significant, published for being positive, cited for fitting the claim, and eventually taught without its alternatives. Each step is individually defensible and the aggregate is a literature that over-represents chance. The defences covered later work on the points where the drift can be interrupted: the analysis before it is run, the disclosure of what was tried, and the publication of what did not work.
A literature that publishes its successes and files its failures will eventually canonize a claim that was never true.
Dredging inside a single analysis
Not every search runs across dozens of variables. Some of the most consequential dredging happens inside one dataset, one hypothesis, and one analysis pipeline, where the researcher never consciously sets out to fish but the machinery of the method offers many ways to land a significant result. The pattern is the same in each case: a statistical procedure that was designed to test a hypothesis is used instead to generate one, because the space of possible tests is large and the reporting shows only the winner.

Enrichment analysis against random phenotypes
Gene-category enrichment analysis is a standard way to interpret brain transcriptomic data. Genes are scored by how closely their spatial expression pattern tracks some measured property of the brain, and instead of testing thousands of genes individually, the tests are performed at the level of functional gene sets, such as those annotated to a biological process in the Gene Ontology.[2] The approach reduces the multiple-comparison burden and makes results biologically interpretable, which is exactly why it is popular. The question is whether the significance it reports means what it appears to mean.
A systematic evaluation applied conventional enrichment analysis to ensembles of randomly generated neural phenotypes, spatial maps with no biological relationship to gene expression at all, and asked how often each gene category came out significant. Under a properly calibrated test, the answer should be near the reference level; instead, false-positive rates were inflated by an average of 875-fold in mouse data and 582-fold in human data, and some brain-related categories were flagged as significant for more than 20 percent of random phenotypes. A method that reports some brain-related categories as enriched for more than 20 percent of random phenotypes is not testing what its users think it is testing.[2]
The cause is not a bug in the software but a property of the data. Genes within a functional category tend to be co-expressed, meaning their expression patterns across brain regions rise and fall together, and this within-category co-expression is the main driver of the inflation. Spatial autocorrelation compounds it: transcriptional maps are strongly spatially autocorrelated, so nearby regions resemble each other more than distant ones, and two maps that share that structure are more likely to correlate highly by chance than two random maps would be.[2] The conventional null model randomises genes, which leaves both structures intact, so the test compares the observed category against a benchmark that already contains the very dependence inflating the result. Categories with the highest false-positive rates were also the ones most likely to be reported as significantly enriched in the published literature, which suggests the bias has left a mark on what has been published.[2]
Cluster size inference in imaging genetics
Neuroimaging presents the same problem in spatial form. A whole-brain study relating 700 genetic variants to grey matter volume across 200,000 voxels implies 1.4 million separate tests, and the standard defence is to stop testing voxel by voxel and instead ask whether clusters of neighbouring voxels, taken together, are larger than expected.[3] Cluster size tests are more sensitive to spatially extended signals and need a less severe correction, since there are always fewer clusters than voxels. That gain comes with a dependence on choices the analyst makes.
One of those choices is the cluster-forming threshold, the height a voxel must reach before it counts as part of a cluster. Testing 700 variants selected to have no effect on brain structure, in 181 people with mild cognitive impairment, researchers measured how often the procedure declared a significant association when none existed.[3] At a stringent threshold of 0.001 on images smoothed with a 12 mm kernel, false-positive rates were well controlled, between 3.9 and 5.6 percent. At looser thresholds of 0.01 and 0.05, or on images smoothed with a 6 mm kernel, the tests became anticonservative, with false-positive rates ranging from 9.8 to 67.6 percent.[3] The same data, analysed under defensible settings that a researcher might choose for good reasons, could yield a null result or a striking one.
Choosing the window after seeing the data
Event-related potential experiments generate thousands of values per participant, and the analysis almost always requires a decision about which time window and which electrodes to use when quantifying a component. That decision is where the flexibility lives. If the window is chosen by looking at the grand-averaged waveform and picking the stretch where the effect looks largest, the subsequent statistical test is being run on data that were selected for showing the effect. A demonstration of this practice, using reanalyses of prior data and simulations of typical designs, found that the likelihood of obtaining at least one significant but bogus effect exceeded 50 percent in many experiments.[14] The individual steps are innocuous, and the resulting p-value is computed correctly; what it no longer does is test a hypothesis formed before the data were seen.
Many tests, one dataset
Functional magnetic resonance imaging makes the arithmetic unavoidable: a test is performed at each of many thousands of voxels or vertices, so a single study contains thousands of comparisons whether or not the researcher thinks of it that way. Multiplicity also arises in less obvious places within the same dataset, including testing several hypotheses about the same explanatory variables, running post hoc pairwise comparisons after a significant omnibus test, fitting more than one design matrix, analysing several imaging modalities or processing pipelines, and combining imaging with behavioural scores.[15] Each is a legitimate analysis; together they multiply the opportunities for chance to produce something that looks like a finding. An introduction to the problem for imaging researchers makes the general point plainly: failing to account properly for multiple comparisons raises the risk of false positives and erroneous conclusions, and introduces results that will not reproduce.[16]
What these cases share is that the search is invisible in the final report. A paper describing an enrichment result, a cluster, a time window or a brain region presents the analysis that succeeded, and the reader has no way to see the space of alternatives it was drawn from. The corrections and design choices that address this are taken up later, as is the question of when correction is the right response and when the better answer lies upstream, in how the analysis was planned.
The most dangerous searches are the ones conducted inside a single, entirely conventional analysis, where nothing looks like fishing and the winner is the only result reported.
Uses
When the right tool is a correction
Correcting for multiplicity is not a universal duty that descends on every study with more than one number in it. It is a response to a specific situation: a family of tests whose results will be read together, where the reader will be invited to believe whichever ones came out significant. Whether that situation obtains depends on what the tests are for. A study that runs a single pre-specified comparison and reports it needs no correction, because there is no family to speak of. A study that scans a large space of comparisons and reports the survivors needs one badly, because the reported p-values were selected for being small and no longer carry their nominal meaning.
The debate over whether to correct at all turns on this distinction. A review of multiplicity sets out the case for correction and the case against it side by side, and notes that the use of any correction method presupposes that correction is warranted, which is not universally accepted.[7] The argument for is that the reader of a paper sees only the tests that were reported, and cannot reconstruct the family for themselves. The review's final section brings together these threads and presents suggestions with regard to when it makes sense to apply the corrections and how to do so.[7]
Where the case is strongest is where the number of tests is not a choice. Neuroimaging is the clearest example. A single study performs a statistical test at each of many thousands of voxels or vertices, so the multiplicity is built into the measurement rather than introduced by an ambitious analyst. The same is true of the less obvious multiplicities within one imaging dataset, where several hypotheses, several design matrices, several modalities or several processing pipelines can each contribute their own family of tests.[15] In such settings the question is not whether to correct but which correction to use, and an introduction to the problem for imaging researchers makes the consequence of skipping it concrete: failing to account properly for multiple comparisons raises the risk of false positives and erroneous conclusions, and puts results into the literature that will not reproduce.[16]
The choice among methods then becomes a trade-off between two kinds of mistake. Procedures that control the familywise error rate hold the chance of even one false rejection at the chosen level. Procedures that control the false discovery rate hold the expected proportion of false rejections among the declared findings. The review of correction methods treats these as describing different aspects of the same problem rather than as rivals, and notes that they are not mutually exclusive.[7] A study can reasonably ask for a strict guarantee on its handful of confirmatory tests and a looser proportion-based rule on the thousands of exploratory ones.
What no correction can do is reach the tests that were never reported. A procedure applied to the analyses in a paper says nothing about the analyses that were run and set aside, and a reader who is shown only the winning comparison cannot apply a penalty on the author's behalf. This is why correction and disclosure are complements rather than substitutes: the arithmetic handles the multiplicity a reader can see, and only the researcher knows the multiplicity they cannot. The settings where many tests are unavoidable are precisely the settings where the count must be stated openly, so that the correction applied can be judged against the search it was meant to cover.
Correction is the right tool when the family of tests is real and visible; when it is neither, the tool has nothing to grip.
Common mistakes
Dependence mistaken for independence
A statistical test rests on an assumption that is easy to state and easy to violate: that the observations entering it are independent of one another. Independence means that each data point carries its own separate piece of information about the question being asked. When that fails, the test still computes a number, and the number still comes with a p-value, but the arithmetic behind the p-value no longer describes the situation. The error has a name. Pseudoreplication occurs when observations are not statistically independent but are treated as if they were, which happens when the same subjects are measured repeatedly, when samples are nested or hierarchically organised, or when measurements are correlated in time or space.[4]
The confusion at the heart of it is between the number of data points and the number of independent samples. A worked example makes the difference concrete. Suppose ten rats are assigned to a treatment group or a control group, and each rat is tested on a motor-coordination task on three consecutive days, giving fifteen data points per group. If the analysis runs an independent-samples t-test on all thirty values, it reports 28 degrees of freedom, as though thirty independent observations had been collected.
The correct count is eight, because there are only ten rats, and the three daily scores from one animal are not three independent pieces of evidence about the treatment.[4] Degrees of freedom can be thought of as the number of independent data points available to estimate a quantity such as a mean or a difference between means, and measuring the same rat three times adds no new independent information about the population of rats. In the example, the reported t of 2.1 with 28 degrees of freedom gives p = 0.045; the same t on the correct 8 degrees of freedom gives p = 0.069.[4] A result that crosses the conventional threshold under one count of the data and fails under the other is not a borderline finding so much as an artefact of the count.
The distortion can be far larger than that example suggests. Taking two rats from a population and making ten measurements on each, an analysis that treats all twenty values as independent yields a p-value of 2.7 × 10⁻⁷ against a hypothesised population mean, while the correct analysis, using the two rats as the two independent observations, yields p = 0.287.[4] The change spans six orders of magnitude. The reason is that repeated measurements on one animal sharpen the estimate of that animal's own mean without adding anything to the estimate of the population mean, which is what the hypothesis test is about. Increasing the number of observations per rat narrows the incorrect error bar indefinitely while the correct one stays where it is, because no new information about the population of rats has been obtained.[4]
The problem is not confined to small samples or to obviously repeated measurements. Correlated observations also distort the error rate itself. When observations within a group are positively correlated, the probability of rejecting a true null hypothesis rises above the nominal level, and the stronger the correlation the more false positives result. A two-group comparison with ten subjects per group and a within-group correlation of IC = 0.30 would reject the null hypothesis 37 percent of the time rather than the intended 5 percent. This is why violating independence can be more serious than violating assumptions about normality or equal variances.[4]
A parallel failure occurs when the dependence runs through time rather than through shared subjects. Time series measured on the brain are autocorrelated, meaning each value resembles its neighbours, and standard formulas for the variance of a correlation coefficient assume successive observations are independent. When that assumption fails, the effective number of independent observations is smaller than the nominal count, the standard error of the correlation is underestimated, and computed scores are inflated. In an analysis of resting-state brain data, correlating one region's time series against 114 regions of a different person, where no real relationship should exist, the uncorrected procedure flagged about 35 percent of the regions as significant instead of the roughly 5 percent expected by chance; a correction that accounted for the autocorrelation brought the figure to 2.6 percent. The severity of the autocorrelation varied with the size and location of the brain regions, so a single global correction was itself inadequate.[17]
What unites pseudoreplication and uncorrected autocorrelation with the search-based forms of distortion is that the reported statistic is computed correctly and interpreted wrongly. Nobody has to run many analyses or choose a favourable cut-off; the inflation is built into the mismatch between the test's assumptions and the structure of the data. The remedy is likewise structural rather than a matter of restraint: count the independent units rather than the rows, model the dependence explicitly, or use methods that do not require independence in the first place. The defences that operate before data are collected, and the disputes over how far the accusation should reach, are covered later.
A test that assumes independence will still return a p-value when independence fails; the number is computed correctly and means something else.
Alternatives
Preregistration and other defences
Writing the plan down before the data arrive

If unstated flexibility is the problem, the most direct response is to state the choices before the data are seen. The logic is prospective: a decision fixed in advance cannot have been shaped by the result it produced. Preregistration also separates two modes of research that are otherwise easy to blur, the confirmatory analysis that tests a hypothesis and the exploratory analysis that generates one, and it makes the distinction visible to readers rather than leaving it to be inferred from the finished paper.[10]
An analysis of what makes a preregistration effective sets three requirements: it should be specific, describing every phase from design to reporting; precise, so that each element admits only one interpretation; and exhaustive, so that it explicitly rules out deviations. Naming a questionnaire is not enough, because a researcher who has not committed to a scoring procedure can still construct the composite score in whichever way proves most favourable, and a plan that says only which scale will be used leaves that fork open.[10] The same standard applies to exclusions, transformations and the handling of missing values: each is a place where a decision can be deferred until the data are in view, and each has to be closed in advance if the registration is to do its work.
Registered reports and the publication side
A registration lodged privately still leaves the publication decision in the hands of reviewers who know how the study turned out. Registered reports address that by moving review to the protocol stage: the registration itself is peer reviewed and revised before data collection begins, and the report is then accepted for publication regardless of the direction, strength or statistical significance of the final results.[6] The arrangement removes the incentive to keep searching for a result that will be publishable, because publishability no longer depends on the result.
The format also changes what a preregistration has to contain. A plan that will be judged before the data exist has to be judged on its specificity, so the review process presses toward the precise and exhaustive standard described above. That is a different kind of check from the completeness review in the structured format, which confirmed that questions had been answered without assessing whether the answers constrained anything. Whether peer review of protocols delivers more than a completeness check is a question the same authors flag as a productive next step rather than one their data settle.[10]
Disclosure as a complement
Registration handles the studies that are planned in advance. Much research is not, and for that work the defence has to be retrospective: report every analysis that was run, not only the successful one. The review of statistical roots of irreproducibility argues that researchers should report and discuss all results, irrespective of the sizes of their p-values.[5] That is a statement about what researchers themselves believe is doing the damage, and it points at the reporting stage rather than the analysis stage as the place to intervene.
Disclosure has a weaker form and a stronger one. The weaker form is to state, in the methods or limitations, that other analyses were tried and what they showed. The stronger form is to report them all, so that the reader sees the distribution of results rather than a summary of it. The stronger form is what makes a paper's significant finding interpretable, because it restores the context of the search that produced it.
What the defences have in common
Preregistration, registered reports and full disclosure attack the same structure from different ends. One fixes the analysis before the data arrive; one fixes the publication decision before the results are known; one makes the analyses that were run visible after the fact. None of them makes a study correct, and none removes the possibility that a researcher will follow an unplanned path and find something worth reporting. What they do is convert a private choice into a public one, so that the reader can see whether a result was found by a test or selected from a search.
The limits of these defences, and the disputes over how far the accusation of dredging should reach, are covered later. What can be said here is that the defences are procedural rather than statistical. They do not correct a p-value or adjust a threshold; they change the conditions under which the p-value is produced and reported, on the view that those conditions are where the distortion enters.
A result is easier to trust when the plan that produced it was written down before the data arrived.
Limits of the accusation and open disputes
When the accusation is too strong
The vocabulary of dredging carries an implication that can outrun the evidence. A literature that shows signs of selection is not thereby a literature of fabricated results, and several lines of work set limits on how far the charge should be pushed. One of them comes from the meta-analytic side. Text-mining across science was used to demonstrate that p-hacking is widespread, and the same work set out how to test for it within a meta-analysis; its conclusion was that while the practice is probably common, its effect appears weak relative to the real effect sizes being measured, suggesting that it probably does not drastically alter consensuses drawn from meta-analyses.[12] A bias can be pervasive and still small next to a large signal, and a field whose effects are substantial may absorb a good deal of selective reporting without its pooled conclusions shifting much.
The tools used to detect selection have limits of their own. The p-curve, the distribution of significant p-values in a literature, is meant to distinguish a body of true effects from a body of hacked nulls, on the reasoning that real effects generate more values near 0.01 than near 0.04. A tidy curve is therefore not proof that a literature is sound, and a ragged one is not proof that it is rotten.
Flexibility that is not a fault
A second limit is built into the phenomenon itself. Not every analytic choice made after seeing data is a fork taken to flatter a result. Different research questions, different experimental designs and different recording equipment can genuinely call for different processing pipelines, and some observations are legitimately excluded; the authors who documented the heterogeneity of exclusion criteria in fear conditioning research say so plainly and argue against rigid rules adopted for their own sake. What they press for instead is awareness of where each path leads, criteria grounded in evidence rather than local custom, and transparent reporting of which exclusions were applied and why.[8] The distinction matters for how the problem is described: the objection is to unstated and outcome-driven flexibility, not to judgement as such.
The argument over thresholds
Running beneath these disputes is a disagreement about the instrument itself. A review of the statistical roots of irreproducible research argues that the main problem is not p-values but how they are used, and that the smallest urgent step is to remove fixed thresholds of significance such as p = 0.05. On this view, degrading a continuous measure of evidence into a binary verdict is what creates the incentive to hunt for a result on the right side of the line, and treating p-values as graded evidence would reduce both data dredging and the publication bias that follows from it. The review notes that the position is widely shared among statisticians, citing a consensus statement from the American Statistical Association that the widespread use of statistical significance as a license for claiming a scientific finding distorts the scientific process.[5]
The proposal is not universally accepted, and the same review takes up the arguments against it, including the suggestion that decision rules should instead be made more stringent, that sample sizes might shrink, or that p-values should be abandoned altogether. Its own conclusion is that whatever method of inference is used, dichotomous threshold thinking must give way to informed judgement.[5] That leaves the field with an unresolved question rather than a settled remedy, and it is the right note on which to end: the mechanisms that produce false findings are well characterised, the defences are partial, and how strictly to police the boundary between exploration and confirmation remains a matter of active argument.
The charge of dredging is easy to make and hard to calibrate; the honest position is that selection distorts some literatures badly, others barely at all, and the tools for telling which is which are still blunt.
Key studies
| Year | Study | Sample | Design | Finding |
|---|---|---|---|---|
| 2010 | Lazic[4] | one issue of Nature Neuroscience | literature case study | In the issue examined, 12% of papers showed pseudoreplication, and another 36% were suspected of it but could not be judged for certain from the information given. |
| 2011 | Silver et al.[3] | 181 subjects with mild cognitive impairment | imaging genetics with 700 null SNPs | False positive rates were 3.9% to 5.6% with a 0.001 threshold and 12 mm smoothing, but 9.8% to 67.6% at lower thresholds and 6 mm smoothing. |
| 2016 | Winkler et al.[15] | simulated data with sample sizes N = 8, 12, 20, 40 | permutation test simulation | Both original and modified non-parametric combination methods controlled error rates at exactly the level of the test. |
| 2016 | Nissen et al.[1] | 74 FDA-registered antidepressant studies | model of publication bias | 37 of 38 positive studies were published as positive, but only 3 of 24 negative studies were published as negative. |
| 2017 | Luck & Gaspelin[14] | ERP experiments with simulations and reanalyses | simulation and reanalysis | The likelihood of at least one significant but bogus effect exceeded 50% in many experiments. |
| 2017 | Weiss et al.[9] | simulated and rarefied microbiome datasets | simulation study of seven statistical methods | For groups with large (~10×) differences in average library size, rarefying lowers the false discovery rate. |
| 2017 | Amrhein et al.[5] | 1576 researchers in an online survey | survey and review | In an online survey of 1576 researchers, selective reporting ranked as the leading contributor to irreproducible research. |
| 2019 | Lonsdorf et al.[8] | 50 records comprising 14 individual studies | systematic literature search with re-analyses | 11 of 50 records excluded non-learners using 11 different definitions, and excluded shares ranged from 2% to 74%. |
| 2019 | Afyouni et al.[17] | 15 subjects for voxelwise and 100 for region-of-interest analyses | analysis of resting-state fMRI autocorrelation | Accounting for autocorrelation dramatically changed fundamental graph theoretical measures relative to no correction. |
| 2020 | Bakker et al.[10] | 53 preregistrations from each of two formats | comparison of preregistration formats | The structured format restricted researcher degrees of freedom better (Cliff's Delta = 0.49), but neither format eliminated them all. |
| 2021 | Fulcher et al.[2] | mouse and human brain atlas data | gene-category enrichment analysis | Against random neural phenotypes in mouse and human data, gene ontology categories showed an average inflation of false-positive associations of more than 500-fold. |
See also
References
- Nissen, S. B., Magidson, T., Gross, K., & Bergstrom, C. T. (2016). Publication bias and the canonization of false facts. eLife, 5. doi:10.7554/elife.21451
- Fulcher, B. D., Arnatkeviciute, A., & Fornito, A. (2021). Overcoming false-positive gene-category enrichment in the analysis of spatially resolved transcriptomic brain atlas data. Nature Communications, 12(1). doi:10.1038/s41467-021-22862-1
- Silver, M., Montana, G., & Nichols, T. E. (2011). False positives in neuroimaging genetics using voxel-based morphometry data. NeuroImage, 54(2), 992-1000. doi:10.1016/j.neuroimage.2010.08.049
- Lazic, S. E. (2010). The problem of pseudoreplication in neuroscientific studies: is it affecting your analysis? BMC Neuroscience, 11(1). doi:10.1186/1471-2202-11-5
- Amrhein, V., Korner-Nievergelt, F., & Roth, T. (2017). The earth is flat ( p > 0.05): significance thresholds and the crisis of unreplicable research. PeerJ, 5, e3544. doi:10.7717/peerj.3544
- Wicherts, J. M., Veldkamp, C. L. S., Augusteijn, H. E. M., Bakker, M., van Aert, R. C. M., & van Assen, M. A. L. M. (2016). Degrees of Freedom in Planning, Running, Analyzing, and Reporting Psychological Studies: A Checklist to Avoid p-Hacking. Frontiers in Psychology, 7. doi:10.3389/fpsyg.2016.01832
- Streiner, D. L. (2015). Best (but oft-forgotten) practices: the multiple problems of multiplicity—whether and how to correct for many statistical tests. The American Journal of Clinical Nutrition, 102(4), 721-728. doi:10.3945/ajcn.115.113548
- Lonsdorf, T. B., Klingelhöfer-Jens, M., Andreatta, M., Beckers, T., Chalkia, A., Gerlicher, A., Jentsch, V. L., Meir Drexler, S., Mertens, G., Richter, J., Sjouwerman, R., Wendt, J., & Merz, C. J. (2019). Navigating the garden of forking paths for data exclusions in fear conditioning research. eLife, 8. doi:10.7554/elife.52465
- Weiss, S., Xu, Z. Z., Peddada, S., Amir, A., Bittinger, K., Gonzalez, A., Lozupone, C., Zaneveld, J. R., Vázquez-Baeza, Y., Birmingham, A., Hyde, E. R., & Knight, R. (2017). Normalization and microbial differential abundance strategies depend upon data characteristics. Microbiome, 5(1). doi:10.1186/s40168-017-0237-y
- Bakker, M., Veldkamp, C. L. S., van Assen, M. A. L. M., Crompvoets, E. A. V., Ong, H. H., Nosek, B. A., Soderberg, C. K., Mellor, D., & Wicherts, J. M. (2020). Ensuring the quality and specificity of preregistrations. PLOS Biology, 18(12), e3000937. doi:10.1371/journal.pbio.3000937
- Simonsohn, U., Simmons, J. P., & Nelson, L. D. (2015). Better P-curves: Making P-curve analysis more robust to errors, fraud, and ambitious P-hacking, a Reply to Ulrich and Miller (2015). Journal of Experimental Psychology: General, 144(6), 1146-1152. doi:10.1037/xge0000104
- Head, M. L., Holman, L., Lanfear, R., Kahn, A. T., & Jennions, M. D. (2015). The Extent and Consequences of P-Hacking in Science. PLOS Biology, 13(3), e1002106. doi:10.1371/journal.pbio.1002106
- Bruns, S. B., & Ioannidis, J. P. A. (2016). p-Curve and p-Hacking in Observational Research. PLOS ONE, 11(2), e0149144. doi:10.1371/journal.pone.0149144
- Luck, S. J., & Gaspelin, N. (2017). How to get statistically significant effects in any ERP experiment (and why you shouldn't). Psychophysiology, 54(1), 146-157. doi:10.1111/psyp.12639
- Winkler, A. M., Webster, M. A., Brooks, J. C., Tracey, I., Smith, S. M., & Nichols, T. E. (2016). Non‐parametric combination and related permutation tests for neuroimaging. Human Brain Mapping, 37(4), 1486-1511. doi:10.1002/hbm.23115
- Lindquist, M. A., & Mejia, A. (2015). Zen and the Art of Multiple Comparisons. Psychosomatic Medicine, 77(2), 114-125. doi:10.1097/psy.0000000000000148
- Afyouni, S., Smith, S. M., & Nichols, T. E. (2019). Effective degrees of freedom of the Pearson's correlation coefficient under autocorrelation. NeuroImage, 199, 609-625. doi:10.1016/j.neuroimage.2019.05.011
Cite this page: Atlas Nova editors. (2026). Data dredging. Atlas Nova. https://velocer.io/atlas/p-hacking/