When we want to check whether an observed effect is “real” or the result of chance, we formulate a null hypothesis H0H_0 (“there is no effect”) and an alternative hypothesis H1H_1. We compute the probability of obtaining a result at least as extreme as the one observed if H0H_0 were true: this number is the pp-value.

  • small pp-value (conventionally <0,05<0,05) \Rightarrow we reject H0H_0 (the effect is “statistically significant”).
  • large pp-value \Rightarrow the data are compatible with H0H_0: we cannot conclude that there is no effect, only that the sample is not enough to reveal it.

Warning — Typical traps

p<0,05p<0,05 does not mean95%95\% probability that the effect is true”: it is the conditional probability P(dataH0)P(\text{data}\mid H_0), not P(H0data)P(H_0\mid \text{data}). Confusing them is the Bayesian muddle denounced in every course on statistical methodology. The distinction is the same one we saw in diagnostic tests (precision vs sensitivity).

Topics: Probabilita
Concepts: Ipotesi nulla · P value · Probabilita condizionata · Test di ipotesi
Skills: Interpretare grafico · Stimare