What a P-Value Means in a Biology Study, and What It Does Not
A plain explanation of p-values with worked calculations, the common misreadings, and what to look at alongside them in a study.
Key takeaways
- A p-value is calculated assuming the null hypothesis, so it cannot be the probability that the null hypothesis is true.
- The threshold of 0.05 is a convention, and results just above and just below it are not meaningfully different.
- Statistical significance does not measure the size or importance of an effect.
- Testing many things produces small p-values by chance unless the analysis accounts for it.
- Effect sizes, confidence intervals, study design and replication belong beside every p-value.
A p-value is the probability of getting results at least as extreme as the ones observed, if a particular "no effect" assumption and the rest of the statistical model were true. A small p-value says the data would be unusual under that assumption. That is all it says.
It does not give the probability that your hypothesis is right, the size of an effect or whether the result matters biologically. Those need other information.
The idea in one thought experiment
A statistical test starts with a null hypothesis, usually a statement of no difference or no relationship. For example: "this light treatment does not change the direction seedlings bend." The test asks how surprising the observed data would be in a world where that statement holds.
You choose a test statistic, a number that summarizes how far the data are from what the null predicts. You then work out how often chance alone would give a value that far out or farther. That frequency is the p-value.
A calculation you can check by hand
Suppose, hypothetically, that you test 10 matched pairs of plants, one treated and one not in each pair, and the treated plant grows taller in 9 pairs. If treatment does nothing, and there are no ties, each pair is like a fair coin flip.
total equally likely outcomes of 10 flips = 2¹⁰ = 1024
ways to get exactly 9 "treated taller" = 10
ways to get exactly 10 = 1
one-sided p = (10 + 1) ÷ 1024 ≈ 0.0107
two-sided p = 2 × 11 ÷ 1024 ≈ 0.0215 A one-sided value counts only results in the predicted direction. A two-sided value also counts equally extreme results the other way (0 or 1 pairs). Two-sided testing is the usual default, and the choice must be made before seeing the data.
Now suppose only 8 of the 10 pairs favor treatment.
ways to get 8, 9 or 10 = 45 + 10 + 1 = 56
two-sided p = 2 × 56 ÷ 1024 ≈ 0.109 One pair changing sides moved the result from "significant" at 0.05 to "not significant". The evidence changed by degree, not in kind. This method, called the sign test, ignores how much taller each plant was; other tests use that information, as discussed in choosing a statistical test.
Shuffling the labels
Another way to see where a p-value comes from is the permutation test. Suppose three treated cultures give values of 7, 9 and 11, and three untreated ones give 2, 4 and 6, in arbitrary units.
treated mean = (7 + 9 + 11) ÷ 3 = 9
untreated mean = (2 + 4 + 6) ÷ 3 = 4
observed difference = 9 − 4 = 5 If treatment does nothing and was assigned at random, any three of the six values were equally likely to carry the "treated" label. There are 20 ways to choose three from six. Only one gives a difference as high as 5, and one mirror-image choice gives −5.
two-sided p = 2 ÷ 20 = 0.10 The groups do not even overlap, yet p cannot go lower than 0.10 with this method and three per group. A small experiment limits how surprising any result can be. A different test that assumes a bell-shaped distribution may give a smaller value, because it brings in that extra assumption.
Two kinds of error and statistical power
A threshold turns a p-value into a decision, and decisions can go wrong in two ways. A false positive, or type I error, flags an effect when the null is true. A false negative, or type II error, misses an effect that exists.
Power is the probability that a study will detect an effect of a stated size, if it is there. It rises with larger effects, more independent units and less variable measurements. It falls when you demand a stricter threshold with nothing else changed.
Low power has a second consequence. When a small study of a modest effect does reach significance, it is often because chance pushed the estimate upward. Later, larger studies then tend to find a smaller effect.
Calculating power after the fact from the observed effect adds nothing new, since it is closely tied to the p-value you already have. Plan it beforehand, using the smallest effect that would matter.
What a p-value does not mean
| Misreading | Why it is wrong |
|---|---|
| "p = 0.03 means a 3% chance the null is true" | The calculation assumes the null is true |
| "There is a 97% chance the effect is real" | That depends on how plausible the effect was beforehand |
| "p = 0.20 shows there is no effect" | The study may be too small or noisy to tell |
| "Smaller p means a bigger effect" | Large samples give tiny p-values for trivial effects |
| "p < 0.05 means it will replicate" | A repeat can easily give a different value |
The p-value also depends on the model's assumptions, such as independent observations. Counting repeated readings of one animal as separate animals can produce a very small and quite meaningless number. See biological versus technical replicates.
Why prior plausibility matters
Imagine a research field that tests 1,000 hypotheses, of which 100 are really true. Suppose each study has 80 percent power, the chance of detecting a real effect, and uses a threshold of 0.05.
true effects detected: 100 × 0.80 = 80
false alarms: 900 × 0.05 = 45
all "significant" results: 80 + 45 = 125
share that are false: 45 ÷ 125 = 0.36 (36%) Invented numbers: 80% power and a 0.05 threshold.
In this invented field more than a third of the significant findings are false, even though everyone followed the 0.05 rule. If ideas were more speculative or studies had less power, the share would be higher.
Many tests, many flukes
When the null is true, a threshold of 0.05 gives a false alarm about one time in twenty. Run 20 independent tests where nothing is going on and the chance of at least one false alarm is large.
chance all 20 stay quiet = 0.95²⁰ ≈ 0.36
chance of at least one alarm = 1 − 0.36 = 0.64 One simple remedy, the Bonferroni correction, divides the threshold by the number of tests: 0.05 ÷ 20 = 0.0025. Other methods control the false discovery rate, the expected share of false results among those declared significant. Genome-wide studies, which test enormous numbers of variants, commonly require p below about 5 × 10⁻⁸.
Hidden multiplicity is harder to correct. Trying several outcomes, subgroups, exclusion rules or time points and reporting the one that worked is often called p-hacking. Writing the analysis plan down in advance guards against it.
Effect size and confidence intervals
An effect size says how big the difference is, in units that mean something: millimeters of growth, percent of cells, fold change in an enzyme's rate. A confidence interval shows the range of values reasonably compatible with the data under the model.
Suppose a treatment raises growth by 0.2 mm with a 95 percent interval of 0.1 to 0.3 mm in a huge study. The effect is clearly distinguishable from zero but may be unimportant. A small study might report 5 mm with an interval of −1 to 11 mm. It includes no effect, yet also effects large enough to care about. "Not significant" describes the second badly; "uncertain" is better.
Strictly, "95 percent" describes the method: across many repetitions, intervals built this way would contain the true value about 95 percent of the time, if the assumptions held. How to show such uncertainty is covered in error bars explained.
Using p-values sensibly
In 2016 the American Statistical Association issued a statement cautioning that scientific conclusions should not rest only on whether a p-value passes a threshold. Many researchers now report exact values with effect sizes and intervals. Some fields favor other approaches, including Bayesian methods, which combine prior information with data to give probabilities about hypotheses, at the cost of having to state that prior.
When reading a paper, ask:
- What exactly was the null hypothesis?
- How many independent units were studied?
- How large is the effect, and how precise is the estimate?
- How many comparisons were tried, and were they planned?
- Has anyone repeated it?
For the last two, see the replication problem and reading a research paper. A significant result in a single study is no basis for changing a medication or treatment; ask a clinician.
Writing a result that informs
Compare two reports of the same hypothetical finding. "The treatment had a significant effect (p < 0.05)" leaves out almost everything. "Treated seedlings were on average 4 mm taller than controls (95 percent interval 1 to 7 mm; 24 independent pots; p = 0.01)" tells you the direction, size, uncertainty and amount of evidence.
Report non-significant results in the same way. Readers can then see whether the interval rules out important effects or merely fails to pin anything down.
Common questions
Why is 0.05 used?
It became customary in the twentieth century, associated especially with the statistician R. A. Fisher's writing. Nothing in nature picks it. Particle physics, for example, demands far stricter evidence before announcing a discovery.
Can a p-value be zero?
Under most models, no. Software may print 0.000, which should be read as smaller than the display can show and reported as, for example, p < 0.001.