◀ CONTENTSSTA503 · VOL.2EP.4 · Binomial test for a proportionMISSIONS 0/3LV 10 XP
VOL.2 · EP.4 · §2.2

Binomial test for a proportion

/StatsMadeFun/sta503/vol-2/proportion
SENSEI RANK
Then the normal approximation works, provided np₀ and n(1 − p₀) both exceed 5. The book turns z into a critical number of successes.
Binomial test for a proportion
UiTM cafeteria. A poster claims 30% of students skip breakfast.
FARAH
FARAH
Aku tanya 18 orang dalam kelas. Sembilan skip sarapan. Separuh tu!
MIKEY
MIKEY
Each student either skip or tak. Two outcomes, fixed n, independent people. Confirm binomial setup.
SENSEI RANK
SENSEI RANK
So the test statistic is just S, the number of successes. Under H₀ it is Binomial(n, p₀), and you compute the exact tail probability.
NORMY
NORMY
Kalau n besar, macam mana?
ゴゴゴ
GOGOGO
SENSEI RANK
SENSEI RANK
Then the normal approximation works, provided np₀ and n(1 − p₀) both exceed 5. The book turns z into a critical number of successes.
READ THE NOTES

Use it when

Testing whether a population proportion equals a hypothesised value p₀, from n independent yes/no trials. The sign test is the special case p₀ = 0.5.

Assumptions

  • n independent Bernoulli trials.
  • Each trial has the same probability p of success.

Hypotheses

A. H₀: p = p₀ vs H₁: p ≠ p₀ B. H₀: p ≤ p₀ vs H₁: p > p₀ C. H₀: p ≥ p₀ vs H₁: p < p₀

Test statistic

S = number of successes, S ~ Binomial(n, p₀) under H₀

Decision rule

  • H₁: p > p₀: p-value = P(S ≥ s) = 1 − P(S ≤ s − 1).
  • H₁: p < p₀: p-value = P(S ≤ s).
  • Two-sided: double the smaller tail.

Large-sample approximation

When np₀ > 5 and n(1 − p₀) > 5, find a critical number of successes:

s* = np₀ + z·√[np₀(1 − p₀)] (Equation 2.8)

For H₁: p > p₀ use +z_α and reject if S > s*. For H₁: p < p₀ use −z_α and reject if S ≤ s*.

START THE MISSIONS
MISSION 1 OF 3

Exact binomial test

+30 XP
HOW TO PLAY

Work the procedure by hand on the data shown. Fill every box, then press CHECK. NEW DATA deals a fresh problem; SHOW SOLUTION gives the full working.

CLEARS WHENEvery box correct on one set of data.
Loading mission engine...

ALL MISSIONS IN THIS EPISODE