CleverSphere

Two-Sided z Test

Compute the statistic, compare with the critical value, decide. "Do not reject H₀" does not mean "H₀ is proven".

Worked example

A maker claims μ = 50. A sample of n = 64 gives x̄ = 50.15; σ = 5 is known. Test H₀: μ = 50 two-sided at α = 5% (critical value 1.96).

Worked solution

  1. 1z = (x̄ − μ₀) / (σ / √n) = (50.15 − 50) / (5 / 8) = 0.24
  2. 2|z| = 0.24 ≤ 1.96 → do not reject H₀

Typical mistake: Reading "do not reject H₀" as "H₀ is proven".

Try it yourself with new numbers

Your turn

Three problems of exactly this type with new numbers: first one to tap, then two to work out. Comma or point; fractions like 1/6 work too.

  1. 1 · Hypothesis test
  2. 2
  3. 3

A maker claims μ = 50. A sample of n = 64 gives x̄ = 49.53; σ = 8 is known. Test H₀: μ = 50 two-sided at α = 5% (critical value 1.96).

Test statistic z

Formulas for this topic
  • 1. State H₀ and H₁, choose α
  • 2. Test statistic: z = (x̄ − μ₀) / (σ / √n) or t = (x̄ − μ₀) / (s / √n)
  • 3. Compare with the critical value (two-sided |z|, one-sided only in the direction of H₁)
  • 4. Decide: reject or do not reject H₀

Typical mistake: Reading "do not reject H₀" as "H₀ is proven".

Frequently asked questions

What is the typical mistake in "Two-sided z test: worked example"?

Reading "do not reject H₀" as "H₀ is proven".

What is a type I error?

Rejecting H₀ although it is true; its probability is at most α.