The p-value is the probability, calculated under \(H_0\), of obtaining a test statistic at least as extreme in the direction specified by \(H_1\) as the observed statistic.
| Alternative | p-value |
|---|---|
| \(H_1:\mu<\mu_0\) | \(p=P(Z\leq z_{\rm obs})\) |
| \(H_1:\mu>\mu_0\) | \(p=P(Z\geq z_{\rm obs})\) |
| \(H_1:\mu\ne\mu_0\) | \(p=2P(Z\geq |z_{\rm obs}|)\) |
Reject \(H_0\) when \(p\leq\alpha\). Do not reject \(H_0\) when \(p>\alpha\). Equality belongs to the rejection boundary under this convention.
Deducing inequalities
Always use \(|z_{\rm obs}|\) in a symmetric two-tailed p-value. The formula \(1-P(-z_{\rm obs}<Z<z_{\rm obs})\) fails when \(z_{\rm obs}<0\).
Need help? Join our JC Math tuition classes.
Learn more