What is a p-value?
Use tail areas under the normal curve to understand one of the most common statistical results in data analysis software
If the population mean really is 175 cm, how extreme is the sample result?
Assume H₀:μ = 175 cm,H₁:μ ≠ 175 cm; σ = 6 cm and n = 100 are known. Drag the sample mean and observe the corresponding Z and hatched tail areas.
Definition of a p-value: The probability, assuming the null hypothesis H₀ is true, of obtaining a test statistic as extreme as or more extreme than the current sample result is called the p-value.In the two-sided test below, the sum of the hatched areas in both tails of the normal curve is the p-value. Move the sample mean slider and observe how the area changes.
This sample’s Z = −3.33
Tail area = p-value 0.0009
Sum of the hatched areas in both tails = two-sided p-value. The farther from 0, the smaller the corresponding combined area in the two tails usually is.
First locate the sample result using the Z statistic we have learned
- Current Z
- −3.33
- Two-sided p-value
- 0.0009
The p-value is neither "the probability that the null hypothesis is true" nor "the probability that this particular test is wrong."
Which area represents the p-value for each of the three test directions?
Use the three case studies from the previous lesson. Select the research question, then drag the sample mean and observe how Z, the p-value, and the hatched area under the normal curve change together.
This sample’s Z = −3.33
Tail area = p-value 0.0009
The hatched area represents the probability of the current or a more extreme test statistic at the null hypothesis boundary. The research question determines the test direction in advance.
How do we decide after statistical software reports a p-value?
We have already learned about the significance level α. Here we compare the p-value from the current data with the α selected in advance.
This sample’s Z = 2.00Two-sided critical values ±1.960
Tail area = p-value 0.0455
This page uses a two-sided test throughout. The solid blue line marks the test statistic; the hatched areas in both tails correspond to the p-value.
- Two-sided p-value
- 0.0455
- Prespecified α
- 0.05
"Fail to reject" does not mean "prove H₀ true"; statistical significance also does not automatically imply great practical significance.
How should we interpret a p-value in a software report?
Below is a teaching example modeled on the SPSS "One-Sample Test" output format, showing two different p-value results. Select a row, then change the significance level α to observe how the decision changes.
| Analysis example | t | df | Sig. (2-tailed) · Two-sided p-value |
|---|---|---|---|
| Example A · Statistically significant | 2.170 | 99 | 0.032 |
| Example B · Not statistically significant | 1.086 | 99 | 0.280 |
In the table, Sig. (2-tailed) is the two-sided test p-value. These are simulated teaching data, rather than a screenshot from an actual software run. If software rounds to three decimal places and displays 0.000, this does not mean the p-value is 0. Based on the output precision, report it as p < 0.001 (or the more precise actual value).
Remember two decisions
The sample result is sufficiently rare under H₀ to meet the prespecified criterion for statistical significance.
p-value > α: Fail to reject H₀The current sample evidence is insufficient to reject H₀; this does not prove H₀ true.
One-minute check
When p = 0.032, which statement is correct?
View P, α, and Z on the same plot
This page uses a two-sided test to connect three quantities: Z is the sample result's position on the standard normal curve; the p-value is the hatched area in both tails; α sets the criterion for rejecting the null hypothesis through the critical values ±zα/2.
This sample’s Z = 2.00Two-sided critical values ±1.960
Tail area = p-value 0.0455
Hatching represents the p-value; the dashed gray lines mark the critical values determined by α; the solid blue line marks the test statistic Z from the sample.
- Two-sided p-value
- 0.0455
- Significance level α
- 0.05
- Two-sided critical values ±zα/2
- ±1.960
- |Z|
- 2.00
In a two-sided test, a p-value less than α and |Z| greater than the critical value zα/2 express the same statistical decision: reject H₀.
Conversely, if the p-value is greater than α, then |Z| does not exceed the critical value, meaning that the sample result is not yet extreme enough to reject the null hypothesis.
To connect a p-value decision to a statistic's critical boundaries, read about rejection regions and critical values and compare left-, right-, and two-sided rejection regions.
Then explore the connection between confidence intervals and hypothesis tests to see why a matching two-sided test and interval give consistent decisions under the same model.
References and further reading
These primary sources in English explain the definitions, decision rules, and limits of interpretation used in this lesson.
- NIST/SEMATECH e-Handbook: Critical values and p values — Explains the p-value conditional on the null hypothesis being true and its relationship to a significance level chosen in advance and to critical values.
- American Statistical Association (ASA): Statement on statistical significance and p-values (2016, PDF) — Emphasizes that a p-value is neither the probability that a hypothesis is true nor a measure of effect size or importance; decisions also need the research context.