Challenge your conclusionLesson 23 of 30 · 6 min
A small p-value is not a verdict
Interpret a p-value without turning it into the probability that a hypothesis is true.
A p-value measures how extreme the observed statistic is relative to a specified null model, using the test's rule for extremeness. Small values indicate incompatibility with that model; they do not identify which assumption failed.
A p-value does not measure the probability that the null is true, the probability an effect will replicate, or the size of a benefit. With enough independent observations, a tiny effect can produce a small p-value.
The simulation holds the true effect and variation fixed while increasing sample size. Inspect the estimated means as well as the p-values. A decision still needs magnitude, uncertainty, design quality and practical consequences. The ASA statement linked below explains why a threshold alone is not a scientific conclusion.
| Sample size | Mean (ms) | p-value |
|---|---|---|
| 30 | 0.414 | 0.015547 |
| 3000 | 0.177 | 7.207e-22 |
| 30000 | 0.204 | 1.5526e-267 |
Can a 0.2 ms effect become statistically distinguishable with a large enough sample?
Write a prediction (optional)
Run the prepared example
This page puts the example in the Python editor. Select Run Python with the code unchanged.
Seeded simulation
A saved draft is open. To run the published example, open Editor tools and select Restore example. Recover draft brings your code back.
Execution error
Technical error details
What to compare
Compare mean and p across the rows labelled n. Does the estimate need to become practically larger for p to become smaller?
Your result
Result tools
The p-value can fall as sample size increases even when the generator keeps its effect fixed. Judge the observed size of the effect against a useful threshold.
Published example output
The site ran the original code to produce this reference. Build environment ↗
n= 30 mean=0.414 ms p=0.015547 n= 3000 mean=0.177 ms p=7.207e-22 n=30000 mean=0.204 ms p=1.5526e-267
The p-value can fall as sample size increases even when the generator keeps its effect fixed. Judge the observed size of the effect against a useful threshold.
Change and run again
In the Python editor, change effect_ms = .2 to effect_ms = .02. Select Run Python again. Compare mean and p, especially at the largest n. How small a difference would be useful, regardless of what the p-value says? Return to the Python editor
What this example supports. The simulation uses independent normal samples and a two-sided t test. Real p-values inherit the limitations of their design and model.
Try a fresh case
A report gives p=0.03. Which interpretation is defensible?
Hints for this question
- Ask what is assumed in the probability calculation.
- The calculation starts with a null model; it does not assign probabilities to hypotheses.