Statistics 5.2 - Hypothesis test for a binomial proportion
A high sample proportion can be evidence of a population change, but how high is high enough? You will carry out exact binomial tests, choose inclusive tails, find critical regions and explain their actual significance. You will also check whether the sampling and binomial assumptions support the conclusion.
From sample count to population proportion
A delivery company claims that of parcels arrive late. If out of arrive late, is that enough evidence of an increase? The observed is a starting point, not yet a verdict.
You already know
Under a binomial model there are a fixed number of independent trials, each with two outcomes and the same success probability. A hypothesis test calculates probabilities assuming , then judges the evidence in the direction of .
Call an arrival “success” when it is late. The word success is just a label for the outcome being counted.
Population proportion
The population proportion describes the whole population, or the probability of success on one trial under the model. The observed sample proportion estimates ; it is not the parameter in the hypotheses.
If the null value is , the sample count has model under . Define what counts, rather than listing calculator inputs without a distribution.
[DIAGRAM: asset_slug: p3_5_2_conduct_a_statistical_hypothesis_test_for_proportion_in_a_binomial_model__diagram_01; asset_name: Statistics 5.2 - Hypothesis test for a binomial proportion - diagram 01; caption: Sample evidence is judged under a population claim.; description: A flow diagram distinguishes the population parameter p, observed sample proportion x/n, null binomial distribution and contextual decision.]

Worked example 1: define the claim and evidence
Question. Set up an increased-lateness test for the delivery company and its random sample of parcels, containing late arrivals.
Plan. Define the population proportion, then use the claimed value in the count distribution.
Why use in the model? The test asks whether would be unusually high if the old proportion still applied.
Answer. Test the unknown population , using observed count .
Check. The distribution's count runs from to ; both and have different roles.
Change only the sample size to , keeping late arrivals. This changes the statistic's distribution and the sample proportion, but not the population claim.
Worked example 2: a larger sample with the same count
Question. Set up the same increased-lateness test after late arrivals among sampled parcels.
Plan. Keep and the hypotheses, and replace the number of trials.
Why not change to a decrease? The investigator's original claim determines the alternative, not whichever direction this sample happens to take.
Answer. The observed proportion is now below the null value and does not point towards the suspected increase.
Check. The expected null count rises from to .
A representative random sample is needed to carry the evidence back to the intended population.
Watch out
Do not write after observing the sample. That would make the data define the claim they are meant to test.
Set up a lower-tail test in a new context.
Choosing the correct tail
If a new process is meant to reduce defects, a very small defective count supports its claim. A very large count does not support that claim, however unusual it is.
| Wording | Alternative | Evidence to calculate |
|---|---|---|
| reduced, fewer, less | ||
| increased, more, greater | ||
| changed, different | both tails, following the stated allocation |
The observed value belongs in its own tail. For an upper tail, subtract the cumulative probability ending one count before it.
Inclusive upper binomial tail
For an integer observed count ,
Not in the formula booklet: learn it.
This is the complement rule applied to whole-number counts. It avoids the most common calculator boundary slip.
Worked example 3: a reduced defect rate
Question. A factory's claimed defect rate is . A new process is intended to reduce it. There are defects in independently sampled items. State the hypotheses and the tail probability to use.
Plan. Translate “reduce” into a lower alternative and include the observed count.
Why not use ? Counts and support a reduction even more strongly and must also be counted.
Answer. This is a one-tailed lower-tail test, using .
Check. The observed count is below the null expected count .
Change only the suspected direction from reduction to increase. Even with the same observed count, the relevant probability changes.
Worked example 4: an increase uses the other tail
Question. Keep the same data, but investigate whether the defect probability has increased.
Plan. Change the alternative and take the inclusive upper tail.
Why is the probability large? Two defects is not a high count compared with the expected .
Answer. Use the upper tail, and this sample does not supply evidence of an increase at .
Check. The tails and overlap at , so their probabilities need not add to .
Choose the direction from the question before interpreting the data.
Watch out
means , not . An off-by-one error changes which sample outcomes count as evidence.
Now identify a claim with no preferred direction.
Using a tail probability as a p-value
A bakery's seeded-loaf share was . After a new display, of randomly sampled customers choose seeded loaves. The change looks promising; the null tail tells you how much evidence it provides.
For a one-tailed test, reject when the inclusive tail probability is at or below the chosen significance level. The significance level is selected in advance, not adjusted to make a preferred conclusion significant.
Worked example 5: a bakery's claim
Question. Test whether the population seeded-loaf proportion has increased, at the level. Treat customers' choices as independent with constant probability.
Plan. State population hypotheses and calculate the upper null tail.
Why use the claimed ? You judge whether these purchases would be unusual if the display had not changed the population proportion.
Answer. Reject . There is sufficient evidence at that the population proportion choosing seeded loaves has increased.
Check. The sample count exceeds the expected , agreeing with the upper-tail direction.
Change only the observed count to . Leave the significance level alone.
Worked example 6: stronger evidence from one more purchase
Question. Repeat the same test with seeded-loaf purchases among customers.
Plan. Move the inclusive tail boundary by one count.
Why is this stronger evidence? A still larger count is less likely under the unchanged null model.
Answer. Reject ; there is sufficient evidence of an increased population seeded-loaf proportion.
Check. Both tests reject at , but only the second rejects at : .
The evidence concerns a proportion, not an assertion that a particular future customer will buy the loaf.
Exam tip
Write the probability statement beside the calculator result, then compare it with the correct threshold. Finish with “sufficient” or “insufficient evidence” and the population claim in context.
Carry out a test using a supplied probability.
Continue this lesson.
You’re previewing NovaLearn without an account. Create a free account to read the rest.
Create free account