P-hacking occurs when flexible decisions in data collection, analysis or reporting produce apparently statistically significant findings that overstate the evidence. A familiar form involves searching for an analysis that pushes a p-value below 0.05, then reporting it without making the wider search visible.
This does not always mean deliberate fraud. Unconscious choices can combine with publication pressure, career incentives and expectations of “significant results”. The resulting literature may make findings look stronger or more certain than the research process justifies.
For decades, p-values have often been treated as a dividing line between having a finding and having nothing worth publishing. Results below 0.05 receive attention, while those above it may be dismissed. That rigid culture can direct attention towards crossing a threshold rather than answering a scientific question well.
P-hacking is therefore a structural problem in knowledge production as well as a statistical issue. Funding, promotion, journal preferences, small samples, unavailable data, absent preregistration and the neglect of null findings all contribute. Understanding it matters to researchers, students, journalists, managers and anyone interpreting claims based on data.
The consequences include false-positive findings, exaggerated effects and decisions founded on unreliable evidence. The purpose of examining these problems is to improve science, rather than assume that every scientific result is untrustworthy.
What Is P-Hacking?
P-hacking involves trying or selecting different analyses in a way that makes an apparently significant result easier to obtain, without adequately accounting for those choices. The “p” refers to the p-value used in hypothesis testing.
Imagine a study testing whether a teaching method improves examination performance. The first analysis gives p = 0.08. The researcher then examines one age group, removes some extreme observations, changes the achievement measure and analyses groups separately by sex. Eventually one analysis produces p = 0.049, which becomes the prominent result in the paper.
The example is hypothetical. Its problem is not that every alternative analysis is illegitimate. It is that readers may see only the successful route and mistake it for a single planned test. The undisclosed search changes how the result should be interpreted.
The finding can then appear more robust, general or conclusive than it is. This can happen in psychology, medicine, economics, nutrition, education, biology, neuroscience, business and engineering. It is not restricted to one discipline or to researchers who deliberately fabricate data.
What Is a P-Value?
A p-value is the probability, under a specified null hypothesis and statistical model, of obtaining a test statistic at least as extreme as the observed one. Its interpretation depends on the model and sampling or testing procedure used.
It is not the probability that the null hypothesis is true. Nor is it the probability that the finding “happened by chance”. A result of p = 0.03 does not mean the research hypothesis is 97% likely to be correct, or that there is only a 3% probability of a chance explanation.
A small p-value indicates incompatibility between the data and the specified model under its assumptions. It does not establish the size, importance or cause of an effect. Bias, measurement problems, model assumptions and the analysis process remain relevant.
Treating p < 0.05 as “a real effect” and p > 0.05 as “no effect” erases these distinctions. A p-value of 0.049 is not separated by a scientific cliff from 0.051. P-hacking gains force when a conventional decision threshold is mistaken for a boundary between truth and falsehood.
How Does P-Hacking Arise?
The process often consists of several individually plausible choices rather than one dramatic decision. Researchers must decide who to include, which outcome to prioritise, whether observations are erroneous, what covariates to use, which subgroups to examine and when to stop collecting data.
Each choice may have a legitimate rationale. The problem arises when decisions respond to observed results but the final report presents the selected path as though it had been fixed beforehand. Readers cannot assess the effective search over alternatives.
Gelman and Loken’s “garden of forking paths” captures an important point: a researcher does not have to consciously run every possible test. An analysis plan can depend on the observed data in ways that create unacknowledged flexibility.
P-values are calibrated for particular testing procedures. If an analyst chooses a procedure because it produced an appealing result, the nominal p-value from that procedure does not automatically describe the error behaviour of the whole selection process. The issue is statistical validity as well as ethics.
Is P-Hacking Always Deliberate Cheating?
No. Fabricating observations, altering records dishonestly and knowingly misreporting results are clear forms of misconduct. P-hacking can involve deliberate manipulation, but it can also emerge through motivated reasoning and ordinary analytical habits.
A researcher may sincerely believe an effect exists. An initial null result may prompt a plausible subgroup explanation. There may be reasonable arguments for excluding an observation or trying another model. Without transparent reporting, however, these choices can produce unjustified confidence.
It is therefore inadequate to explain the problem solely through individual character. Journals may prefer novel positive findings, promotion systems may reward publication counts, funders may expect clear outcomes and media coverage may favour dramatic conclusions.
These incentives do not excuse misleading reporting. They explain why institutions must support good practice rather than rely only on personal good intentions. A culture that makes inconclusive but careful work difficult to publish encourages selective presentation.
What Are Researcher Degrees of Freedom?
Researcher degrees of freedom are choices available during study design, conduct, analysis and reporting. They include decisions about:
- When the sample is large enough.
- When to stop collecting observations.
- Which participants to exclude.
- Which outcome is primary.
- Which subgroups to analyse.
- Which control variables to include.
- Which statistical test or model to use.
- How to transform variables.
- How to handle missing values.
- How to define outliers.
- Whether and how to adjust for multiple comparisons.
- Which findings to emphasise in the paper.
These decisions are a normal part of research. They become problematic when their dependence on results is hidden or when a selected analysis is given the evidential status of a prespecified test.
Exploratory and confirmatory analysis are both valuable, but answer different questions. Exploration looks for patterns and develops hypotheses. Confirmation tests specified predictions under an appropriate design. The problem is presenting exploratory discoveries as if they had already passed an independent confirmatory test.
Common Forms of P-Hacking
Stopping When Significance Appears
Repeatedly checking a conventional fixed-sample test and stopping when p falls below 0.05 can inflate false-positive rates. A promising result among the first 30 participants may disappear as a sample grows towards 100.
Sequential monitoring is not inherently wrong. Proper sequential designs and valid stopping rules can account for repeated looks. The concern is using an unadjusted procedure while concealing the data-dependent stopping decision.
Trying Multiple Outcomes
A teaching intervention might measure motivation, examination results, attention, confidence, attendance and classroom participation. Testing many outcomes creates more opportunities for an apparently significant result.
Reporting only the successful outcome hides the broader set of tests. Prespecifying primary outcomes and transparently reporting the others helps readers interpret the evidence.
Searching Across Subgroups
After an overall result is unconvincing, an analyst may examine age, sex, income, location or education groups. A subgroup result can reflect a genuine difference, but searching many groups increases opportunities for noise to appear meaningful.
A significant result in one group and a non-significant result in another does not by itself demonstrate that the groups differ. The relevant interaction or comparison needs an appropriate analysis.
Selectively Excluding Outliers
An extreme observation may be a measurement error, but exclusion rules should not be chosen simply because they improve significance. Removing a few observations can move p from 0.06 to 0.04.
Explain the criteria, timing and consequences of exclusions. Where appropriate, show sensitivity analyses with and without disputed observations rather than concealing the choice.
Adjusting Covariates Until a Result Appears
Regression results can change when age, income, education, location, prior achievement or health variables enter a model. Different specifications may answer different questions or introduce different assumptions.
Trying many models and reporting only the one with the preferred p-value hides selection. Covariates should be chosen through substantive and causal reasoning, not significance alone.
Choosing Tests According to Their Results
Parametric and non-parametric tests, one-sided and two-sided alternatives, transformations and different models can produce different p-values. The choice should fit the question, design and assumptions.
Switching methods after inspecting results without disclosure undermines the claim that a finding came from one planned test. A sophisticated method is not automatically the appropriate one.
Recoding Variables
Analysts can split continuous measurements into categories, merge groups, calculate scale scores differently or remove questionnaire items. Such decisions may be defensible, but result-driven selection can create misleading evidence.
Document the rationale and consider whether conclusions depend on a convenient cut-off. A threshold discovered in one dataset generally needs validation rather than immediate treatment as a universal boundary.
Ignoring Multiple Comparisons
When many hypotheses are tested, the probability of at least one false positive can increase. Under the illustrative assumptions of 20 independent true null hypotheses and valid tests at the 0.05 level, that probability is 1 − 0.95²⁰, approximately 64%.
The calculation is not the false-discovery probability of every individual result. Dependence between tests and the inferential objective matter. Suitable family-wise error or false-discovery controls, or other justified approaches, should match the research design.
Rebranding Borderline Results
Values such as p = 0.051 or 0.06 are sometimes called “marginally significant” or a “trend”. Such wording can invite a preferred interpretation without resolving the actual uncertainty.
Report the estimate, uncertainty and context honestly. Neither stretching the label nor treating 0.049 and 0.051 as fundamentally different states improves scientific understanding.
Reporting Only Significant Findings
Selective reporting makes a paper appear cleaner than the research process. Readers see the successful analyses while unreported attempts remain invisible.
This can distort both individual findings and the accumulated literature. Transparent supplementary material and clear distinctions between planned and exploratory work help reveal the full picture.
P-Hacking, HARKing and Publication Bias
P-hacking concerns analytical or reporting flexibility that produces an apparently significant result without appropriate accounting for the selection.
HARKing, or “hypothesising after the results are known”, presents an explanation developed after seeing results as though it were a prior prediction. Generating a new hypothesis is legitimate; disguising its timing is the problem.
Publication bias occurs when the likelihood of publication depends on the result, often favouring positive, significant or striking findings. Null studies may remain in the “file drawer”.
These processes can reinforce one another. Publication preferences encourage significant findings, analytical searching helps produce them, and retrospective hypotheses make them appear predicted. Suppressed null results then leave the literature looking more consistent than the underlying research.
The terms describe different stages and mechanisms. They should not be used as interchangeable accusations against a particular paper without evidence.
Why Is P-Hacking a Problem for Science?
An important consequence is an increase in false positives: apparent evidence for effects that are not present under the question and model being tested. Decisions may then rely on claims that will not hold up under stronger examination.
In health research, an ineffective treatment may look promising, a dietary association may be overstated or a risk factor may appear larger than it is. Public-health decisions can suffer when weak evidence is presented as decisive.
Education programmes, workplace interventions, behavioural policies and psychological techniques face similar problems. Overstated findings can waste resources, create unrealistic expectations and damage confidence when later studies disagree.
Even where a real effect exists, selecting the strongest-looking results can exaggerate its size. Larger or better controlled follow-up work may find a smaller effect. That does not necessarily mean the later study disproves all earlier insight; it can reveal how selection and uncertainty shaped the first estimate.
P-Hacking and the Replication Crisis
The replication debate concerns published findings that do not reproduce consistently in independent studies. It has been prominent in psychology, biomedical research, economics and other fields.
A finding selected through undisclosed flexibility may fail when a later team uses a larger sample, preregistered plan and fewer result-dependent decisions. However, a failed replication does not by itself prove p-hacking. Sampling variation, measurement, population differences, implementation and contextual effects also require consideration.
The debate demonstrates the importance of science’s corrective processes. Preregistration, open materials, shared code, registered reports, adequate power and independent replication make findings more assessable.
The useful conclusion is not “science cannot be trusted”, but that trust should respond to the design, transparency and accumulated evidence. Research becomes more reliable when uncertainty and failure can be examined rather than hidden.
Can P-Hacking Be Detected?
It is often difficult to establish from one paper alone. Readers may not know how many analyses were attempted or when decisions were made. Warning signs warrant investigation, not automatic accusations.
Questions arise when there are:
- Numerous tests without a clear multiplicity strategy.
- Unexplained decisions about when data collection stopped.
- Repeated emphasis on values just below 0.05.
- Subgroups replacing the original central question without explanation.
- Unclear outlier-exclusion rules.
- Only one successful model among apparently plausible alternatives.
- Undisclosed departures from a preregistered plan.
- No accessible data or code where sharing would be appropriate.
- Large effects in small samples with weak theoretical support.
At the literature level, researchers can examine distributions of p-values and patterns of selective reporting. An unusual concentration just below a threshold may be informative, but interpretation depends on sample sizes, true effects, publication selection and the way values were extracted.
Neither a p-curve nor a suspicious-looking p-value can identify an individual researcher’s intention with certainty. Multiple practices can produce similar patterns. Methodological criticism should distinguish evidence about a process from speculation about motives.
How Can P-Hacking Be Reduced?
Preregister Research Plans
Preregistration records hypotheses, sampling plans, primary outcomes and analysis procedures before relevant results are known. Its value is making the timing of choices visible.
Plans may change for legitimate reasons. Researchers should explain deviations and distinguish new exploratory work from prespecified confirmation. Preregistration does not prohibit discovery, and a vague or retrospectively completed record provides limited protection.
Use Registered Reports
Registered Reports assess the research question and methods before results are available. Following in-principle acceptance, publication is conditional on meeting agreed standards, rather than obtaining p < 0.05.
This can reduce incentives to search for significance and discourage suppression of null outcomes. The acceptance is not an unconditional promise regardless of study quality or compliance with the approved protocol.
Share Data and Code Responsibly
Accessible data and code allow others to reproduce analyses, inspect assumptions and identify errors. Transparency also enables examination of alternative reasonable specifications.
Open release is not always ethical or lawful. Health records, personal information and sensitive community data may require controlled access, consent restrictions or protected sharing. Transparency must respect those obligations.
Report the Analysis Process
Make relevant planned and exploratory analyses visible, including unconvincing results, alternative models and sensitivity checks. The objective is an understandable account of the inferential process, not an unfiltered dump of every accidental computation.
Supplementary materials and analysis logs can help readers see how the final conclusions were reached. Honest reporting includes paths that did not support the preferred story.
Examine Effect Sizes and Intervals
Statistical significance does not establish practical importance. Report the magnitude of an effect, uncertainty, measurement quality and substantive relevance.
Confidence intervals also depend on assumptions and can be affected by selection. They are not a magic replacement for p-values, nor do they assign a frequentist probability to a fixed parameter lying in the observed interval. Used appropriately, they make uncertainty more visible.
Improve Study Design
Adequate sample planning, justified power or precision targets, sound measurement, good experimental controls and independent validation improve inference. Larger samples alone do not prevent p-hacking or remove bias.
A very large dataset can make a trivial effect statistically significant. Design quality and transparent analysis remain necessary at every scale.
Change Publication Incentives
Journals and institutions should value well-designed null studies, replication, shared materials, methodological quality and transparency. Rewarding only striking positive findings creates pressure that individual good intentions may not overcome.
P-Hacking and Data Science
The underlying selection problem also appears outside conventional academic hypothesis testing. Large datasets, many predictors, multiple models and numerous metrics create opportunities to discover patterns that will not generalise.
A business may examine hundreds of customer variables, try dozens of models and present only the best score. An analyst may search segments until finding an impressive but unstable association. More data does not remove the opportunity for selective inference.
Useful protections include genuine training/test separation, cross-validation, external validation, analysis logs, reproducible code and prespecified evaluation criteria where appropriate. Repeatedly consulting the same test set can itself turn it into part of model selection.
The general concern is broader than one statistic: conclusions should reflect the full process by which they were selected and assessed.
Reading Research Critically
When reading a paper or news report, ask:
- Were the hypotheses specified before the results were known?
- Is there a relevant preregistration?
- How was the sample size justified?
- Is the primary outcome clearly defined?
- How many analyses were performed?
- Are subgroup findings being presented as the main discovery?
- Is the effect practically meaningful?
- How much uncertainty do the intervals show?
- Are data and code available under appropriate conditions?
- Has independent work tested the finding?
- Does the argument rely almost entirely on a p-value?
- Are null and contrary results also reported?
These questions shift attention from the apparent authority of a number to the integrity of the research. No single answer settles the case; the whole design and evidence matter.
P-Hacking and Research Ethics
Ethical discussion should include both individual conduct and supporting institutions. Honest researchers need clear reporting standards, statistical education, suitable preregistration systems and a culture that permits inconclusive results.
Readers should be able to understand which analyses were performed, which results did not emerge, which choices came before seeing data and which came afterwards. They should also know whether a claim tests a prior hypothesis or proposes a new one.
Research ethics involves more than avoiding fabricated data. It includes disclosing uncertainty, not concealing inconvenient findings, explaining flexibility and acknowledging the limits of generalisation.
Criticism should follow the same standards. A methodological concern deserves careful examination, while allegations of deliberate misconduct require evidence beyond a result that looks surprising.
Open-Science Practices That Help
Modern reforms include:
- Preregistration: Record hypotheses and analysis plans before relevant results are known.
- Registered Reports: Assess methods before results determine publication appeal.
- Responsible data sharing: Enable scrutiny where ethics and law permit.
- Open code: Make analyses reproducible and reviewable.
- Replication: Test findings independently in new samples.
- Sensitivity analysis: Show how reasonable choices affect conclusions.
- Multiplicity control: Address the inferential consequences of multiple tests.
- Effect-size reporting: Explain magnitude rather than significance alone.
- Interval reporting: Communicate uncertainty under stated assumptions.
- Reporting guidelines: Make important decisions visible in a consistent format.
These practices do not eliminate every error. Their value is making research easier to evaluate and correct. They should support thoughtful inquiry rather than become another set of superficial badges.
Frequently Asked Questions
What Does P-Hacking Mean?
It is using flexible collection, analysis or reporting decisions to obtain apparently significant findings without properly accounting for the selection process. Searching for p < 0.05 is a familiar form.
Is It Always Scientific Fraud?
No. It can be intentional misconduct, but can also arise from incentives, cognitive biases and poorly managed analytical flexibility. Its consequences still require attention even when the researcher acts in good faith.
Why Does the P-Value Matter?
It measures how extreme a test statistic is under a specified hypothesis and model. It does not directly state the probability that a hypothesis is true or how important an effect is.
What Does P < 0.05 Mean?
Under the stated null model and testing assumptions, the probability of a test statistic at least as extreme as observed is below 5%. It does not establish certainty, causation or a 95% probability that the research claim is correct.
How Can the Risk Be Reduced?
Use appropriate preregistration, registered reports, transparent analyses, responsible sharing, multiplicity strategies, effect estimates and independent replication. These controls work together rather than offering an automatic guarantee.
Which Disciplines Are Affected?
Any field using flexible data analysis can encounter the problem. Psychology, medicine, economics, education, biology, nutrition, social science and data science all provide relevant settings.
How Does P-Hacking Differ from HARKing?
P-hacking concerns selecting analytical routes to appealing results. HARKing presents a hypothesis formed after seeing results as a prior prediction. They can occur together, but describe different practices.
Conclusion
P-hacking can distort knowledge without fabricated data or an openly altered result. Numerous reasonable-looking choices can be reduced to a single successful analysis, leaving readers unaware of the selection behind it.
The problem combines statistical practice, incentives, reporting and publication culture. Its consequences can extend from a journal article into health advice, educational programmes, policy and commercial decisions.
The response should strengthen science. Transparent plans, responsible sharing, registered reports, independent replication and careful interpretation make findings more assessable. Neither a small p-value nor a confidence interval substitutes for understanding the design and analysis.
The decisive questions are how the result was obtained, which alternatives were explored, which findings were not emphasised, when the hypothesis was formed and whether independent evidence supports it. Statistical significance has value only within that wider account of scientific reasoning.
References
- Gelman, A., & Loken, E. (2013). The garden of forking paths: Why multiple comparisons can be a problem, even when there is no “fishing expedition” or “p-hacking” and the research hypothesis was posited ahead of time. Columbia University. http://www.stat.columbia.edu/~gelman/research/unpublished/p_hacking.pdf
- Gelman, A., & Loken, E. (2014). The statistical crisis in science. American Scientist, 102(6), 460–465. https://doi.org/10.1511/2014.111.460
- 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), Article e1002106. https://doi.org/10.1371/journal.pbio.1002106
- Ioannidis, J. P. A. (2005). Why most published research findings are false. PLOS Medicine, 2(8), Article e124. https://doi.org/10.1371/journal.pmed.0020124
- John, L. K., Loewenstein, G., & Prelec, D. (2012). Measuring the prevalence of questionable research practices with incentives for truth telling. Psychological Science, 23(5), 524–532. https://doi.org/10.1177/0956797611430953
- Nosek, B. A., Ebersole, C. R., DeHaven, A. C., & Mellor, D. T. (2018). The preregistration revolution. Proceedings of the National Academy of Sciences, 115(11), 2600–2606. https://doi.org/10.1073/pnas.1708274114
- Simmons, J. P., Nelson, L. D., & Simonsohn, U. (2011). False-positive psychology: Undisclosed flexibility in data collection and analysis allows presenting anything as significant. Psychological Science, 22(11), 1359–1366. https://doi.org/10.1177/0956797611417632
- Wagenmakers, E.-J., Wetzels, R., Borsboom, D., van der Maas, H. L. J., & Kievit, R. A. (2012). An agenda for purely confirmatory research. Perspectives on Psychological Science, 7(6), 632–638. https://doi.org/10.1177/1745691612463078
- Wasserstein, R. L., & Lazar, N. A. (2016). The ASA statement on p-values: Context, process, and purpose. The American Statistician, 70(2), 129–133. https://doi.org/10.1080/00031305.2016.1154108
- 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, Article 1832. https://doi.org/10.3389/fpsyg.2016.01832
Further reading
- Amrhein, V., Greenland, S., & McShane, B. (2019). Scientists rise up against statistical significance. Nature, 567, 305–307. https://doi.org/10.1038/d41586-019-00857-9
- Benjamin, D. J., Berger, J. O., Johannesson, M., Nosek, B. A., Wagenmakers, E., Berk, R., Bollen, K. A., Brembs, B., Brown, L., Camerer, C., Cesarini, D., Chambers, C. D., Clyde, M., Cook, T. D., De Boeck, P., Dienes, Z., Dreber, A., Easwaran, K., Efferson, C., … Johnson, V. E. (2018). Redefine statistical significance. Nature Human Behaviour, 2, 6–10. https://doi.org/10.1038/s41562-017-0189-z
- Chambers, C. D. (2017). The seven deadly sins of psychology: A manifesto for reforming the culture of scientific practice. Princeton University Press.
- Gigerenzer, G. (2004). Mindless statistics. The Journal of Socio-Economics, 33(5), 587–606. https://doi.org/10.1016/j.socec.2004.09.033
- Munafò, M. R., Nosek, B. A., Bishop, D. V. M., Button, K. S., Chambers, C. D., Percie du Sert, N., Simonsohn, U., Wagenmakers, E.-J., Ware, J. J., & Ioannidis, J. P. A. (2017). A manifesto for reproducible science. Nature Human Behaviour, 1, Article 0021. https://doi.org/10.1038/s41562-016-0021
- Nuzzo, R. (2014). Scientific method: Statistical errors. Nature, 506, 150–152. https://doi.org/10.1038/506150a
- Open Science Collaboration (2015). Estimating the reproducibility of psychological science. Science, 349(6251), Article aac4716. https://doi.org/10.1126/science.aac4716
- Simonsohn, U., Nelson, L. D., & Simmons, J. P. (2014). P-curve: A key to the file-drawer. Journal of Experimental Psychology: General, 143(2), 534–547. https://doi.org/10.1037/a0033242
- Stefan, A. M., & Schönbrodt, F. D. (2023). Big little lies: A compendium and simulation of p-hacking strategies. Royal Society Open Science, 10(2), Article 220346. https://doi.org/10.1098/rsos.220346
- Wasserstein, R. L., Schirm, A. L., & Lazar, N. A. (2019). Moving to a world beyond “p < 0.05”. The American Statistician, 73(sup1), 1–19. https://doi.org/10.1080/00031305.2019.1583913
🗓️ Publication date: November 19, 2026
🔄 Last updated: November 19, 2026
🎯 Who this is for: Readers interested in p-hacking, p-values, statistical significance, replication, open science, research ethics, academic publishing and scientific method. It also offers a reference for academics, postgraduate students, journalists, data analysts, health researchers, social scientists, policymakers and anyone wanting to read research reports more critically.

IW is a collective byline representing the Invictus Wiki editorial team. Articles published under the IW byline are prepared through research drawing on multiple sources and editorial review, guided by the principle of impartiality.
