Test whether a sample mean differs from a hypothesized population mean when the population standard deviation σ is known.
Example: IQ scores have σ = 15. A sample of 50 students has mean 103.2. Then z = (103.2 − 100) ÷ (15/√50) = 1.51 and the two-tailed p = 0.131, so there is not enough evidence that their mean differs from 100.
z = (x̄ − μ₀) ÷ (σ ÷ √n)
The test assumes a known σ and either normal data or a large sample (n ≥ 30) so the central limit theorem applies. If σ is estimated from the sample, use the one-sample t-test.