2.05b - Testing a binomial proportion
Turn a claim about a population probability into an exact binomial test. Calculate the relevant tail, justify critical boundaries and recognise how a two-tail test changes the evidence threshold.
Calculate the relevant tail under the null hypothesis
Does three successes in twenty trials suggest that a claimed success probability of has fallen? A test makes that judgement by comparing this sample with the distribution expected under the claim.
You already know
State a null hypothesis about a population parameter and choose the alternative before sampling. A p-value includes the observed count and all outcomes more extreme in that direction.
Let be the population probability of a successful trial. A fixed number of trials, independence and a common probability must be reasonable. Success and failure must exhaust the possible outcomes; for example, “on time” and “not on time” do, even when “not on time” includes a cancellation.
Exact binomial probability
If , then for integers ,
Add the relevant terms, or use a calculator cumulative function, for a tail probability.
In the formula sheet.
The null fixes the probability entered into the calculator. We test the claim rather than fit a new model to the observed proportion.
Worked example 1: evidence for a decrease
Question. A process has claimed success probability . Three successes occur in twenty independent trials. Test for a decrease at .
Plan. Define , state the directed hypotheses and calculate the lower tail under the null.
Why this step? Counts zero, one and two would provide stronger evidence for a decrease than the observed three, so include them.
Answer. Reject . There is sufficient evidence at to suggest that the population success probability is below .
Check. The null expected count is ; three is on the correct side for the proposed decrease.
Change only the observed count from three to four. Keep the claim, sample size, alternative and level fixed.
Worked example 2: a result just outside the threshold
Question. What would four successes imply in the same test?
Plan. Recalculate the inclusive lower tail at four.
Why this step? A result that rounds to is not automatically at the threshold; keep enough digits to decide.
Answer. Do not reject . There is insufficient evidence at to suggest that the population success probability has fallen below .
Check. Four successes are less extreme than three, so their lower-tail probability is larger. The decisions fit that ordering.
A probability expression shows which event you evaluated, even when a calculator does the arithmetic.
Watch out
Using in the first test replaces the claim with the sample result. Use , and use exact binomial probabilities rather than a Normal approximation.
Practise a complete directed test with a different process.
Justify the first rejected count in an upper tail
For an increase, the rejection region consists of large counts. Find its first count by checking both an admissible tail and its neighbouring, larger-probability tail.
Inclusive upper tail
For a binomial count and an integer ,
The critical region at level is maximal when its probability is at most , but the tail starting at exceeds .
Not in the formula sheet: learn it.
A cumulative inverse function may return the first count reaching an area rather than the last acceptable boundary. Verify the two probabilities instead of relying on the calculator's naming convention.
Worked example 3: the first rejected count
Question. For twelve independent invitations, test an increase from population reply probability . Determine the upper-tail critical and acceptance regions at , and conclude for eight replies.
Plan. Use , , with under the null, and check neighbouring upper tails.
Why this step? Starting at six would reject too often when the null is true; starting above seven would discard usable evidence unnecessarily.
Answer. The critical region is ; the acceptance region is . The actual rejection probability is , below the specified level. Eight replies lie in the region: there is sufficient evidence at to suggest a population reply probability above .
Check. , so the boundary count is included.
Change only the significance level: a rule demands stronger evidence than a rule.
Continue this lesson.
You’re previewing NovaLearn without an account. Create a free account to read the rest.
Create free account