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 tobs :

p-value=P(TtobsH0 true)

for an upper-tailed test, with the inequality reversed for a lower-tailed test and a two-tailed version for Ha:θθ0 .

Symbol Meaning
α Significance level chosen before the test
tobs Observed value of the test statistic
T Test statistic under H0

Parameters / Assumptions

Essential Result

Decision rule:

A small p-value indicates that the observed result is unusual under H0 ; it does not measure the size of an effect or the posterior probability of H0 .[2]

Worked Example

Continuing the normal example with z=2 for a two-tailed test:

p-value=2P(Z>2)2(0.0228)=0.0456.

Since 0.0456<0.05 , we would reject H0 at the 5% significance level.

Common Mistakes

Connections

References


  1. OpenStax, Introductory Statistics, "p-value", https://openstax.org/details/books/introductory-statistics ↩︎

  2. NIST/SEMATECH, e-Handbook of Statistical Methods, "p-value", https://www.itl.nist.gov/div898/handbook/ ↩︎