P-Values

A p-value distills a hypothesis test into a single number: how surprising the data are, measured as a probability under the null hypothesis.

Definition

Let be a test statistic whose null distribution is known when holds, and let be its observed value. The p-value is

In words: the probability of obtaining a result as extreme as, or more extreme than, the one observed if the null hypothesis is true. Three features of the definition carry the whole interpretation:

  • It is a conditional probability about data, with the null fixed — not a probability about the null hypothesis itself. Because conditioning is not symmetric, need not resemble ; see Probability.
  • “As or more extreme” makes it a tail probability. Every outcome at least as far from the null expectation as the observed one contributes.
  • It assumes the full null model — parameter values, distributional form, sampling design — not just the point statement .

Point probabilities are not p-values

The probability of observing exactly the obtained result is not the p-value. For a continuous test statistic (such as or ), the probability of any exact value is zero, so only tail regions are meaningful. For a discrete statistic (such as a count), exact values have positive probability, but the evidential question remains “how often would a result show at least this much evidence against ,” not “how likely is this exact count.” The Sign Test works through both aspects.

One-sided and two-sided p-values

Which outcomes count as “extreme” depends on the alternative chosen in advance (see Hypothesis Testing):

  • With a directed alternative, one tail defines extremeness.
  • With a nondirected alternative, both tails count. When the null distribution is symmetric about its center, a common two-sided p-value is twice the smaller one-sided probability, capped at for discrete statistics. When the distribution is not symmetric, the two-sided p-value can instead be the sum of the probabilities of all outcomes at least as extreme as the observed one under a suitable distance measure. Doubling the smaller tail remains a common convention, but it need not match that probability-ordering sum.

Doubling is justified by symmetry of the sampling distribution under the null, never by any symmetry of the raw measurements.

p versus

The significance level is a decision cutoff fixed before data collection; the p-value is a property of the observed data computed after. The rule compares the two. A p just above and one just below are evidentially almost identical, so reporting the exact p-value (e.g. , not ) preserves information that a reject/fail-to-reject label destroys.

Common misinterpretations

The following readings are all incorrect, however natural they feel:

  1. “The probability that is true.” The p-value conditions on ; it never assigns probability to . Assigning a probability requires prior probabilities and a fully specified alternative — the machinery of Bayesian inference, which the p-value is not.
  2. “The probability that the data are due to chance alone.” This appears to restate the definition but changes the conditioning event, collapsing into ; see item 1.
  3. “The probability of replicating the result.” Replicability depends on the true effect size, sampling variability, and the power of the replication, none of which a p-value measures. Under some conditions significant results replicate at rates well above chance and well below ; that is an empirical regularity, not a definition.
  4. “A significant result is important or meaningful.” With a large enough sample, a trivial effect yields a small p-value. Statistical significance addresses compatibility with the null; practical importance is the domain of Effect Sizes and confidence intervals.

Statements 1 and 2 fail on the same formal ground: the reversal of a conditional probability.

Analytic flexibility and exploratory results

The definition above presumes an analysis procedure whose null distribution accounts for every analytic choice. Undisclosed or data-dependent choices that are not accounted for change the meaning of a p-value:

  • Undisclosed flexibility inflates false positives. When researchers can stop data collection at will, choose among dependent variables, add covariates, or select subsamples after peeking at results, the probability of obtaining under a true null rises far above the nominal — simulations show it can exceed (Simmons, Nelson, & Simonsohn, 2011). A p-value is only as interpretable as the analysis plan that produced it.
  • Exploratory analysis is legitimate but must be labeled. Searching data for patterns and generating hypotheses is valuable science; presenting results found by exploration as if they had been predicted in advance (retrofitted hypotheses) destroys the calibration of the test. Honest reporting distinguishes confirmatory tests, which follow a pre-specified plan, from exploratory findings, which are candidates for confirmation in new data (Fife & Rodgers, 2022).
  • Transparent reporting protects the reader. Report exact p-values, all measured outcomes and analyses (not only significant ones), any deviations from the plan, and evidence about magnitude alongside the test — Effect Sizes, Confidence Intervals, and the design’s sensitivity via Statistical Power.

Exploratory and confirmatory research. The two modes differ in when the hypothesis and analysis plan are fixed, and in what their tests then mean:

  • Confirmatory research specifies hypotheses, predictions, and the analysis plan before examining the data, ideally by preregistration. Its p-values keep their calibration because the null distribution accounts for every analytic choice, and the results speak directly to the tested predictions.
  • Exploratory research searches data for patterns in order to generate hypotheses: questions and analyses are formed or revised in contact with the data, analytic flexibility is part of the method, and any p-values are descriptive rather than calibrated tests. Its findings are candidates for confirmation in new data, not confirmations themselves (Fife & Rodgers, 2022).

The modes are endpoints of a continuum, not a moral dichotomy; the requirement is honest labeling of where each reported result lies on it.

Questionable research practices (QRPs). Between the modes sit practices that quietly dress exploratory results as confirmatory ones. The recurring forms:

  • Optional stopping: peeking at results and continuing or stopping data collection depending on significance.
  • Outcome flexibility: measuring several dependent variables and reporting the significant one(s) as if planned.
  • Covariate flexibility: adding or removing covariates until the result clears .
  • Selective subsamples or exclusions: dropping participants or conditions after seeing their effects.
  • HARKing (hypothesizing after the results are known): presenting a hypothesis formed from the results as if it were a prior prediction.

Identifying a QRP in a study description means asking one question of each choice: was the reported hypothesis, outcome, sample, and analysis fixed before the data were seen, or selected because of what the data showed? Any of these adjusted after peeking, without disclosure, describes a QRP — and each inflates false positives even when the individual choice looks defensible in isolation (Simmons et al., 2011).

References

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. doi:10.1177/0956797611417632

Fife, D. A., & Rodgers, J. L. (2022). Understanding the exploratory/confirmatory data analysis continuum: Moving beyond the “replication crisis”. American Psychologist, 77(3), 453-466. doi:10.1037/amp0000886