Key ideas

  • Unbiased estimates: x̄ for μ; s² = Σ(x − x̄)²/(n − 1) for σ².
  • Central Limit Theorem (CLT): for a large sample (n ≥ 50 is a common guide), X̄ is approximately normal, X̄ ~ N(μ, σ²/n), whatever the distribution of X.
  • Hypothesis test steps:
  • State H₀ and H₁ (in terms of μ, with context).
  • State the distribution of the test statistic under H₀.
  • Find the p-value (or compare with the critical region).
  • Conclude in context: reject H₀ if p-value ≤ significance level.

Worked example: one-tailed z-test

A bottle should contain 500 ml on average. A sample of 40 bottles has x̄ = 496 ml and s = 12 ml. Test at the 5% level whether the mean is less than 500 ml.
H₀: μ = 500; H₁: μ < 500.
Under H₀, X̄ ~ N(500, 12²/40) approximately (by CLT, n large).
z = (496 − 500)/(12/√40) ≈ −2.11; p-value ≈ 0.0175 < 0.05.
Reject H₀. There is sufficient evidence at the 5% level that the mean volume is less than 500 ml.

Common mistakes

  • Writing hypotheses with x̄ instead of μ.
  • Saying "accept H₀" or "H₀ is true" (say there is insufficient evidence to reject it).
  • Forgetting to mention the CLT when the population isn't known to be normal.

Try these

  1. Why is s² divided by (n − 1)?
  2. What does a p-value of 0.03 mean in a test at the 5% level?
  3. When is the CLT needed?
Show answers
  1. To give an unbiased estimate of the population variance
  2. If H₀ were true, the probability of a result at least this extreme is 0.03; since 0.03 ≤ 0.05, reject H₀
  3. When the population distribution is unknown or not normal and the sample is large, to justify that X̄ is approximately normal