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 t_{obs}\mid )) 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
- 1State the null and alternative hypotheses clearly
- 2Choose a significance level before looking at the data
- 3Compute the test statistic and its p‑value
- 4If p , 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 . 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 . 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
| Threshold | Interpretation |
|---|---|
| p < 0.01 | very strong evidence against the null |
| 0.01 p < 0.05 | moderate evidence against the null |
| p 0.05 | insufficient 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 , 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 itNo account needed to try it.
What people ask next
- How do I choose an appropriate significance level?Ask
- What is the difference between a p‑value and a confidence interval?Ask
- What is a Type I error and how does it relate to the p‑value?Ask
- when do you use a t-test instead of a z-test
- what is the difference between a type I and type II error
- what is the difference between standard deviation and standard error
- why do you divide by n-1 for sample variance
