Research Toolkit

Z-test

One-sample and two-sample z-tests for means.

Test
Standard deviation you have
The value stated in H₀.
Alternative hypothesis (H₁)

Choose H₁ before you calculate.

Notes

With a population standard deviation (σ), the z-test applies at any sample size, provided the data are approximately normal.

With a sample standard deviation (s), the z-test needs n ≥ 30 in each sample. Below that, use the t-test.