Hypothesis tests for a population proportion
From counts meeting a condition to a complete understanding of the z-test for a population proportion
Test settings
Try it
What does a test for a population proportion test?
Unlike a test for a population mean, this test concerns the proportion of individuals in the population with a particular characteristic. For example: how many survey respondents are satisfied, how many orders arrive on time, or how many products are defective.
A random survey or inspection gives a sample of size 200 (people); the number satisfied is 134. The sample proportion is 0.670, or 67.0%.
First convert the count into a sample proportion
p̂ = 134 / 200 = 0.670 = 67.0%
H₀: p = 0.60
H₁: p ≠ 0.60
Test settings
Try it
Population proportion Z statistic: formula first, then numerical substitution
We have already studied the z-test for a population mean. We can also construct a Z statistic for a population proportion, but its standard error must be calculated using the null proportion p₀.
- Original formula
- Calculate the sample proportion and null standard error (SE) first
- Substitute the values and calculate Z
- Standard normal distribution
- Sample Z position
- Sample proportion p̂
- 0.670
- Standard error under H₀
- 0.03464
- Z statistic
- 2.021
Test settings
Try it
Critical-value method: which region contains Z?
The research question and alternative hypothesis determine the test direction; the significance level α determines the critical value. We now only need to decide whether this Z falls in the rejection region.
H₀: p = 0.60
H₁: p ≠ 0.60
p̂ = 67.0%
- Standard normal distribution
- Sample Z position
- Rejection region
- Critical value
- Z statistic
- 2.021
- Critical value
- ±1.960
- Significance level
- 0.05
Reject H₀. Z = 2.021, critical value ±1.960; this Z falls in the rejection region.
The critical-value method and the p-value method on the next page should give the same statistical conclusion.
Test settings
Try it
p-value method: how large is the shaded area?
The hatched area under the normal curve is the p-value for this test: when the null hypothesis holds at its boundary, the probability of a statistic at least as extreme as the current one.
H₀: p = 0.60
H₁: p ≠ 0.60
p̂ = 67.0%
- Standard normal distribution
- Sample Z position
- Tail area corresponding to the p-value
- Z statistic
- 2.021
- p-value
- 0.04331
- Significance level
- 0.05
P ≤ α: 0.04331 ≤ 0.05. Reject H₀.
Test settings
Try it
A complete z-test for a population proportion
Choose any applied question and adjust the number of sample observations meeting the condition and the significance level. Observe how the formula, plot, p-value, and final conclusion agree.
H₀: p = 0.60
H₁: p ≠ 0.60
p̂ = 67.0%
- Standard normal distribution
- Sample Z position
- Critical value
- Tail area corresponding to the p-value
- Z statistic
- 2.021
- p-value
- 0.04331
- Significance level
- 0.05
- Research question and hypothesesDoes the population proportion satisfied with a service differ from 60%?
H₀: p = 0.60
H₁: p ≠ 0.60
- Calculate the sample proportion, standard error, and ZFirst calculate p̂ = 134/200 = 0.670; at the boundary of H₀, p₀=0.60, SE = 0.03464.
- Calculate the p-value and compare with αP ≤ α: 0.04331 ≤ 0.05. Reject H₀.
- State the statistical conclusionReject H₀. The sample provides statistical evidence for the alternative hypothesis, supporting the conclusion that there is a statistically significant difference between the population proportion satisfied and 60%.