Carrying Out a Test for a Population Proportion
Turn a sample result into a complete statistical argument. Calculate a one-proportion -test, compare its -value with a chosen significance level, and explain what the evidence says about the population.
By the end of this lesson, you should be able to:
- Carry out a one-sample -test for a population proportion.
- Use the null proportion to check conditions and calculate the test statistic.
- Find the correct -value for a right-, left- or two-tailed alternative.
- Compare a -value with a predetermined significance level, .
- Write a decision and a cautious conclusion in the context of the population.
- Explain why failing to reject does not prove that is true.
Before you start: Topic 3.5 covers hypotheses and conditions. Topic 3.6 explains -values and tail areas. You should know and be able to find normal probabilities with a table or technology.
First time learning this? Follow the school example through each step, then try Worked Example 2 before looking at its calculation.
Here to revise? Use the complete-test checklist, then attempt the practice with the solutions closed.
The concept in 60 seconds
A school wants to know whether more than of its students prefer an earlier lunch. It takes a simple random sample of students from its students, without replacement. Of those sampled, say yes, so .
The observed is above , but a sample can land above a population value just through random variation. We need to ask: is the result far enough above to provide convincing evidence for the school’s claim?
A hypothesis test compares the observed sample with a null model. A complete answer connects the setup, the conditions, the calculation and the conclusion.
For this example, the one-proportion -test gives and a right-tailed . The school chose before collecting the data. Since , we reject and find convincing statistical evidence that more than of all students at this school prefer an earlier lunch.
That conclusion is evidence, not certainty. It does not say that every student prefers the change or that a policy decision has been settled.
All contexts on this page are fictional teaching examples. Reported -values use the approximate standard normal model for a one-proportion -test.
Quick check: is “ is bigger than ” a complete reason to reject ?
No. We need to account for sampling variability, justify the model, find the correct -value, and compare it with the chosen significance level. A sample proportion can be above without providing convincing evidence that the population proportion is above .
The complete test workflow
The familiar State, Plan, Do, Conclude organization is useful because it makes your reasoning easy to follow. Each part answers a different question.
Define , , and . Identify the method and justify its conditions.
Calculate , the null SD, and the correct tail probability.
Compare -value with . Give the decision and a cautious population statement.
A calculator’s and -value supply only the calculation phase. A complete response includes all three phases.
- State the population parameter. Let be the proportion of all students at this school who prefer an earlier lunch.
- State the hypotheses and . ; . The predetermined significance level is .
- Plan and justify the method. Use a one-sample -test for a population proportion, after checking random sampling, the condition when needed, and the expected counts under .
- Do the calculation. Find , the null standard deviation, and the -value for the alternative’s tail.
- Make the formal decision. Explicitly compare the -value with , then reject or fail to reject .
- Conclude in context. Say whether the data provide convincing statistical evidence for , naming the parameter and population.
Write the hypotheses about , the unknown population proportion. The observed is evidence used to test those hypotheses; it is not the parameter being tested.
| Symbol | Role | School example |
|---|---|---|
| Unknown population proportion | Proportion of all school students who prefer earlier lunch | |
| Null benchmark | ||
| and | Observed success count and sample size | yes responses out of |
| Observed sample proportion | ||
| Standard deviation assumed under | Approximately | |
| Observed standardized departure | Approximately | |
| -value | Null probability of the specified extreme region | Approximately |
| Predetermined rejection threshold |
Choose before looking: the research question determines , and the significance level is selected before the data are examined. Do not change either one to obtain a preferred decision.
Quick check: which hypothesis matches “Has the proportion changed from ?”
, a two-sided alternative. “Changed” includes both an increase and a decrease. Use .
Check the conditions before calculating
For a categorical response with outcomes, record a success count out of observations. “Success” is simply the outcome you are counting; a defective item can be a success for the calculation even though a defect is undesirable.
The stated simple random sample supports the random-sampling condition.
The sample is no more than of the -student population.
Under , both expected counts are at least .
Check these before using the normal -test. The expected-count check uses the hypothesized , not the observed .
1. Random sampling
The data should come from a random sample of the population being studied. In the school example, the stated SRS supplies this condition. A voluntary online poll is not an SRS, even if it has thousands of responses.
2. The condition, when sampling without replacement
Check , where is the population size. This supports treating sampled outcomes as approximately independent when calculating the usual standard deviation.
School: . The condition is met.
If is not supplied, give a reasonable contextual justification where appropriate. Do not silently invent a population size.
3. Large expected counts under the null
Check and . These expected counts justify the approximate normal null distribution used by the proportion -test.
School: expected successes and expected failures. Both are at least .
The counts are based on , because the test model assumes is true. They need not equal the observed counts and . Conditions for a confidence interval use in the success–failure check; the hypothesis test uses .
If a condition fails: do not present the normal -test as justified. State the problem. Depending on the situation, a different method, a larger planned sample or a better sampling design may be needed. A calculator output cannot repair the conditions.
Quick check: a sample has successes, but . Does automatically invalidate the -test?
No. The test’s expected-success condition uses , not the observed . Check the expected failures too, as well as the sampling conditions. The quality-control example later has observed defects and satisfies both expected-count checks.
Calculate the -statistic
The test statistic tells us how far the sample proportion is from the null benchmark, measured in standard deviations under .
The sample is percentage points above the null benchmark.
Expected sample-to-sample variation under the null model.
The sample sits about null standard deviations above the benchmark.
Use the unrounded denominator and for the tail probability. The statistic is unitless; it is not the -value.
The school calculation, one line at a time
- Observed proportion: .
- Departure from the benchmark: . This is a difference of percentage points.
- Null standard deviation: .
- Standardize: .
The sample proportion is approximately null standard deviations above . A negative would place it below the null benchmark. The -statistic is unitless; it is not a percentage or a probability.
Why use in the denominator?
A test asks how unusual the data would be if the null population proportion were . That is why both factors in the standard deviation use .
For a confidence interval, the estimated standard error is . That expression estimates variability from the sample. It serves a different purpose. Do not copy the interval formula into the hypothesis test.
Keep precision: use unrounded , the unrounded denominator and the unrounded for the tail calculation. Round the values you report at the end. Early rounding matters most when the -value is close to .
Quick check: if , what sign should have?
Negative. The numerator is negative and the square-root denominator is positive. The -value still lies between and ; its tail is determined by .
Find the -value from the standard normal model
When the conditions are justified, use as the null reference for the standardized statistic. The -value measures results at least as extreme as the observed , in the direction specified by .
| Alternative | -value region | Using left-area function |
|---|---|---|
Here denotes the unrounded observed test statistic. The function means the standard normal area to the left of . For the school’s , use the right area:
Interpret it conditionally: if the school’s true preference proportion is , the approximate probability of a random sample of producing a proportion of or higher is .
Using a standard normal table
A common -table reports left-tail areas. If you round the school statistic to , that table gives an area near . Subtract from to get a right-tail estimate near . The small difference from is due to rounding for the table. For this example, both lead to the same decision at .
For a two-sided normal -test, add both equally distant outer tails. A convenient equivalent is . Do not multiply a large left-tail area by . The rule here applies to this symmetric normal test.
Using technology
A built-in one-proportion -test typically needs entries: , the success count , the sample size , and the alternative , or . For the school, enter , . The test output should show and .
Alternatively, calculate first and use a standard normal cumulative-probability tool with mean and standard deviation . Specify the required left tail, right tail or both tails. Menu names differ across calculators, so check what area your tool returns.
Technology reports the calculation; you supply the reasoning. Write the hypotheses, justify the conditions, compare with and conclude in context. Do not enter in the field or enter the number of failures as unless failures are your defined success outcome.
Quick check: , but . Which area is the -value?
The right area, . The result points opposite to the greater-than claim. The negative sign does not change the alternative to a left-tailed test.
Use to make the formal decision
The significance level, written and read “alpha,” sets the rejection threshold before the data are examined. Common choices include . Use the value specified for the study or question; is not an automatic choice for every test.
Under the null model, is the predetermined probability of rejecting when is true. For a proportion -test this calibration uses an approximate continuous normal model, so the actual probability for discrete sample counts need not equal exactly. We examine the consequences of test errors in Topic 3.8.
If : reject . The result is statistically significant at that level.
If : fail to reject . The result is not statistically significant at that level.
and the -value have different jobs
is selected in advance. It states the decision rule. The -value is calculated from the observed data using the specified null model and alternative.