Definition · Hypothesis tests
P-values and the ordering of outcomes
Definition from the chapter Hypothesis tests, power and chi-square of Statistics and probability, with the exercises in which it is used.
P-values and the ordering of outcomes
In the test of with standard error , the observed sample mean is , so . If were , the probability of a value of at least would be , that is, about sample in .
The p-value is the probability, calculated assuming the null hypothesis is true, of a result at least as unfavorable to as the observed . Which results are at least as unfavorable depends on the alternative, that is, on the ordering of outcomes chosen for the test: for the upper-tailed alternative the values , for the lower-tailed one the values , for the two-sided one with symmetric the values . If the null hypothesis allows several distributions, take the maximum, or supremum, of this probability over the null values; for one-sided tests for a mean the maximum is at the boundary, as for the significance level.
For a statistic with a standard normal distribution under and observed value , the formulas are
- for the upper-tailed alternative.
- for the lower-tailed alternative.
- for the symmetric two-sided test.
Reject if ; in that case the result is called significant at level . In the example , so the result is significant at level and not at level . For the continuous tests considered here, the p-value is the smallest significance level at which the observed result leads to rejection, so the p-value gives the decision at any level.
If only some quantiles are known, comparing with them places the p-value between two levels. For example, exceeds and is less than , so the two-sided test rejects at level and not at level . The two-sided p-value therefore lies between and ; the calculation gives approximately .
Read it in the chapter Hypothesis tests, power and chi-square →
Exercises where this definition is used
Worked examples
Practice exercises
All the definitions and theorems of Statistics and probability → · All the theorems on the site →