What Is a P-Value? Understand Its Conditions and Limits
A p-value is the probability, assuming the null hypothesis and the test’s assumptions hold, of obtaining a test statistic at least as extreme as the observed one. It is therefore a conditional measure of how well the data fit a specified statistical model—not the probability that the null hypothesis is true. A small p-value does not by itself show that an effect is large or practically important.
What probability does a p-value calculate?
A test first specifies a reference model from the null hypothesis and assumptions about how the data were generated. It then determines how a test statistic would vary under that model; this is its null distribution. The p-value is the probability in the part of that distribution at least as extreme as the observed statistic. What counts as “extreme,” and which tail or tails count, depends on the research question and alternative hypothesis.
A two-sided test of whether a mean differs from zero counts extreme values in both tails. A prespecified one-sided test of whether the mean is greater than a reference counts the upper tail. The same observed statistic can therefore yield different p-values for different questions and procedures. A p-value cannot be interpreted apart from the test that produced it.
See the tail probability in a simple example
The following is an illustrative example, not a measurement or study result. Suppose a test statistic Z follows a standard normal distribution under the null model, and the observed value is Z = 2.00.
| Question set in advance | Calculation | Approximate p-value | Meaning |
|---|---|---|---|
| Does the result differ in either direction? | P( | Z | ≥ 2.00) = 2P(Z ≥ 2.00) |
| Is the result greater than the reference? | P(Z ≥ 2.00) | 0.0228 | Upper-tail probability, only for a one-sided question chosen in advance |
Under the standard normal distribution, P(Z ≥ 2) is about 0.0228, so the two-sided probability is about twice that, or 0.0455. This calculation depends on the stated null distribution and test definition. Choosing the one-sided value only after seeing the result is not the p-value from a prespecified analysis; set the direction before examining the data.
How is a p-value different from a significance level?
The significance level α is a decision threshold chosen before examining data. It also sets the test procedure’s Type I error rate—the long-run rate of rejecting a true null under the stated conditions. The p-value is calculated from the observed data. If the test and its assumptions are appropriate and the threshold was prespecified, p ≤ α leads to rejecting H₀ under that procedure; p > α means fail to reject H₀.
For example, if α = 0.05 was set in advance, the illustrative two-sided p-value of 0.0455 falls below that threshold. This means the procedure rejects H₀ at that level; it does not mean there is a 95.45% probability that H₀ is false. Also, p = 0.049 and p = 0.051 are close values on opposite sides of a cutoff. Treating them as entirely different kinds of evidence discards information in the numbers.
What can’t a p-value tell you?
First, a p-value is not the probability that H₀ or Hₐ is true. It asks about the extremeness of data conditional on a hypothesis and model; it does not reverse that conditional probability. Second, it is not the probability that the result happened “by chance alone.” Random sampling may be part of a model, but one number cannot summarize every plausible alternative explanation, study assumption, or analytic choice.
Third, a p-value does not measure effect size or decision value. With a large sample, a small difference can produce a low p-value; with a small sample or high variability, an important difference can produce a high one. Consider the effect estimate, confidence interval, sample size, measurement quality, study design, and context together. A high p-value does not establish H₀ or prove that there is no difference.
Report p-values responsibly
If you run many analyses or change the test direction, outcome, or exclusion rules after seeing results, a single p-value may no longer reflect the error rate of the original plan. Reporting only the smallest value among many outcomes can exaggerate the evidence. Distinguish confirmatory from exploratory analyses, and disclose whether hypotheses and tests were set in advance, how multiple comparisons were handled, and whether any choices changed.
A useful report states the research question and H₀/Hₐ, one- or two-sided direction, test method and key assumptions, sample size, significance level, and p-value. When possible, give the numerical p-value rather than only a “significant/not significant” label. Also report the effect estimate and confidence interval, and keep conclusions within what the data and model support.
References
Stanford STATS 200: null distributions and one- and two-sided p-values
NIST Engineering Statistics Handbook: critical values and p-values
American Statistical Association: Statement on Statistical Significance and P-Values
Penn State STAT 200: power, effect size, and interpreting non-rejection