Interpret a p-value as a tail probability
Read a p-value as a tail area for a one- or two-sided alternative. The idea in plain words, a worked example, and a check with the answers shown — part of the free Statistics guides.
The p-value answers one question:
> If were true, how often would a sample at least this extreme occur?
It is an area under the null distribution, in the tail(s) the alternative names:
- right-tailed alternative: the area above the statistic; - left-tailed: the area below it (equivalently, above its mirror image, because the normal is symmetric); - two-tailed: both tails, so twice the one-tailed area.
The decision rule is then mechanical. Compare the p-value with the level chosen in advance:
Two properties matter and are easy to forget. The p-value is computed under the null, so it says nothing directly about the probability that either hypothesis is true. And it is a probability of the data, not a measure of the effect: a tiny effect measured very precisely gives a very small p-value, which is why an effect size belongs beside it.
The p-value is a probability of the data, conditional on a hypothesis:
The condition is what makes it computable. Under the parameter has a known value, so the statistic has a known distribution — standard normal,, — and the tail area can be read from a table. Under the parameter could be any of many values, so there would be no single distribution to integrate.
That asymmetry is the source of the commonest misreading. is not: the two are related by Bayes' rule and differ by the prior odds. A p-value of 0.01 does not mean a 1% chance the null is true; it means data this extreme would arise 1% of the time if the null held.
It is also why the p-value is not a measure of effect size. Doubling the sample halves the standard error, which doubles the statistic, which shrinks the p-value — with the effect itself unchanged. The number measures evidence, and evidence is a product of the effect's size and the precision of its measurement.
A bottling line is tested at against ml. A sample gives.
Step 1 — which tail? The alternative is "greater than", so the evidence is in the right tail.
Step 2 — read the area. A printed table gives.
Step 3 — compare with the level., so reject.
Step 4 — state it in the problem's words. "At the 5% level there is sufficient evidence that the mean fill exceeds 500 ml."
Now the same data against a two-sided alternative:, which exceeds 0.05, so the test does not reject. Same, opposite conclusion, because the question changed.
A check worth doing every time. If the statistic is 1.80 and the alternative points right, the p-value must be below 0.5 — the right tail above a positive is always under a half. A computed p-value above 0.5 with a positive statistic and a right-tailed alternative means the complement was taken by mistake.
- Read a p-value as a tail area for a one- or two-sided alternative
- Convert between a one-tailed and a two-tailed p-value
- State the decision rule against a chosen level
- Say what a p-value is not
- 1., right-tailed,. Give the p-value and the decision at 5%.
- 2. The same, two-tailed. Give the p-value and the decision.
- 3. Why can a p-value never be computed under?
Answers
1.; do not reject (it exceeds 0.05). 2.; do not reject. 3. Because is a set of possible values, not one value, so there is no single distribution for the statistic to have an area under.