Hypothesis Testing

Set up H₀ and H₁, compute the test statistic or p-value, compare with the significance level, and conclude in context.

Key points

Worked example

Question. A coin is tossed 20 times with 15 heads. Test at 5% if biased toward heads.

  1. H₀: p = 0.5, H₁: p > 0.5.
  2. P(X ≥ 15) = 1 − P(X ≤ 14) ≈ 0.021 < 0.05.
  3. Reject H₀.

Answer. Reject H₀ — evidence of bias toward heads

Common mistakes

Related topics