p-values
Summary
The p-value is the probability, computed under the assumption that the null hypothesis is true, of obtaining a test statistic at least as extreme as the one observed. It measures the compatibility between the data and the null hypothesis, not the probability that the null is true.[1]
Prerequisites
Definition / Notation
For an observed test statistic
for an upper-tailed test, with the inequality reversed for a lower-tailed test and a two-tailed version for
| Symbol | Meaning |
|---|---|
|
|
Significance level chosen before the test |
|
|
Observed value of the test statistic |
|
|
Test statistic under
|
Parameters / Assumptions
- The null hypothesis is fully specified, or nuisance parameters are handled.
- The sampling distribution of the test statistic under
is known. - The test and the form of the alternative are selected before seeing the data.
Essential Result
Decision rule:
- If p-value
, reject at level . - If p-value
, do not reject at level .
A small p-value indicates that the observed result is unusual under
Worked Example
Continuing the normal example with
Since
Common Mistakes
- Saying "
is true with probability p". - Treating p-value as an effect-size measure.
- Comparing p-values across different studies or sample sizes directly.
- Treating 0.05 as an absolute boundary between truth and falsehood.
Connections
References
OpenStax, Introductory Statistics, "p-value", https://openstax.org/details/books/introductory-statistics ↩︎
NIST/SEMATECH, e-Handbook of Statistical Methods, "p-value", https://www.itl.nist.gov/div898/handbook/ ↩︎