Skip to content

What does a p-value actually mean

A p‑value is the probability of obtaining data at least as extreme as the observed results, assuming the null hypothesis is true. It quantifies how compatible the data are with the null model, not the chance that the hypothesis itself is correct.

Statistics · Hypothesis testing


When you run a statistical test you start with a null hypothesis that represents no effect or no difference. The p‑value answers the question: if that null hypothesis were true, how likely would we see results as unusual as the ones we actually observed? A small p‑value means the observed data would be rare under the null, suggesting the null may not hold, while a large p‑value indicates the data are consistent with the null.

Formal definition

Formally, the p‑value is defined as (p = P(T \geq t_{obs}\mid H0H_0)) for a one‑sided test, where (T) is the test statistic and (t_{obs}) is its observed value. For a two‑sided test the probability is doubled to capture extremes in both directions. The calculation integrates the tail(s) of the sampling distribution that assumes the null hypothesis, producing a number between 0 and 1.

Common misconceptions about p‑values

  • A p‑value is the probability that the null hypothesis is true
  • A p‑value tells you the size of an effect
  • A p‑value is the same as the Type I error rate

How to interpret a p‑value in practice

  1. 1State the null and alternative hypotheses clearly
  2. 2Choose a significance level α\alpha before looking at the data
  3. 3Compute the test statistic and its p‑value
  4. 4If p \leq α\alpha, reject the null; otherwise, do not reject

Example: A researcher tests whether a new drug changes average blood pressure. The null hypothesis is that the mean change μ=0\mu = 0. A sample of n=25 patients yields a mean change of 5.3 mmHg with a known standard deviation of 1 mmHg. The test statistic is t=xˉμ0s/n=5.301/25=1.5\begin{aligned}t &= \frac{\bar{x}-\mu_0}{s/\sqrt{n}} \\ &= \frac{5.3-0}{1/\sqrt{25}} \\ &= 1.5\end{aligned}. Looking up a t‑distribution with 24 degrees of freedom gives a two‑tailed p‑value of about 0.14. Because 0.14 > 0.05, the researcher does not reject the null and concludes there is insufficient evidence that the drug changes blood pressure.

Typical p‑value thresholds used in reporting

ThresholdInterpretation
p < 0.01very strong evidence against the null
0.01 \leq p < 0.05moderate evidence against the null
p \geq 0.05insufficient evidence to reject the null

The p‑value is a tool, not a decision maker on its own. It must be considered alongside study design, effect size, and prior knowledge. Reporting the exact p‑value, the chosen α\alpha, and confidence intervals gives readers a full picture of the statistical evidence.

Check yourself

If a test returns p = 0.03, what does that tell you about the null hypothesis?

Get this as a lesson built for you

Describe what you are studying and Lernex writes the lesson and the questions around it. Free, and it takes about a minute.

Try it

No account needed to try it.

What people ask next