- What is a p-value?
- How it fits into hypothesis testing
- Simulation example
- Visual interpretation
- Common misunderstandings
2025-11-16
\[ p = P(\text{data as or more extreme than observed} \mid H_0) \]
Let’s test whether the true mean is greater than 0:
\[ H_0: \mu = 0 \] \[ H_1: \mu > 0 \]
We take a sample (\(n = 30\)) and find: \[ \bar{x} = 0.4 \]