A p-value (short for probability value) shows us how likely it is some event would have happened under the “null hypothesis” (the case where what’s being tested does not exist. In other words, it helps answer the question: “If there really is no effect, how surprising is this data?”
p-values range from 0 to 1:
- A value close to 1 means the observed result is very likely under the null hypothesis.
- A value closer to 0 means the result is very unlikely without some change.
\[ p = P(\text{data} \mid H_0 \text{ is true}) \]