Inference for a Single Proportion: Large-Sample CI and Hypothesis Test

Inference for a single proportion lets you estimate or test a population proportion pp using data from one random sample of size nn. The natural point estimate is p^=x/n\hat p = x/n, where xx is the number of "successes" in the sample.

Conditions for the Large-Sample (Normal) Method

The usual uncorrected standard-error formulas require observations to be reasonably independent. Random sampling supports this condition when sampling with replacement; when sampling without replacement, a common guideline is that the sample should include no more than about 10% of the population.


The count checks np^≥10n\hat p \ge 10 and n(1−p^)≥10n(1-\hat p)\ge 10 (some texts use 5) are rules of thumb supporting an approximately normal method. They do not guarantee that the sampling distribution is normal or that an interval will achieve its nominal coverage.

Sampling distribution of the test statistic z under H0, showing the ±1.96 critical values for a two-tailed test at α = 0.05 and an observed statistic of z = −2.00.

Sampling distribution of the test statistic z under H0, showing the ±1.96 critical values for a two-tailed test at α = 0.05 and an observed statistic of z = −2.00.

Confidence Interval

When independence is reasonable and the count guideline is met, a confidence interval for pp is

p^±z∗p^(1−p^)n\hat p \pm z^{*}\sqrt{\dfrac{\hat p(1-\hat p)}{n}}

where z∗z^{*} is the critical value (1.96 for 95%). The quantity under the root is the standard error of p^\hat p; it uses the sample proportion because pp is unknown when estimating it.

Margin of Error vs. Sample Size for a 95% CI (p̂ = 0.5)

Margin of Error vs. Sample Size for a 95% CI (p̂ = 0.5)

Hypothesis Test

To test H0:p=p0H_0: p=p_0 versus Ha:p≠p0H_a: p\neq p_0 (or one-sided), compute

z=p^−p0p0(1−p0)/nz = \dfrac{\hat p - p_0}{\sqrt{p_0(1-p_0)/n}}

Notice the denominator uses the hypothesized value p0p_0, not p^\hat p, this is the single most common error students make.

Worked Example

Out of n=150n=150 germinated seedlings, x=126x=126 survive transplanting. Test whether the true survival proportion equals 0.80. Here p^=0.84\hat p = 0.84, and

z=0.84−0.800.80(0.20)/150=0.040.0327=1.22.z=\dfrac{0.84-0.80}{\sqrt{0.80(0.20)/150}} = \dfrac{0.04}{0.0327}=1.22.

Since ∣z∣<1.96|z|<1.96, we fail to reject H0H_0 at α=0.05\alpha=0.05; the data are consistent with an 80% survival rate.



A biologist takes a random sample of 40 fish from a lake and finds that 6 of them carry a parasite. She wants to construct a 95% confidence interval for the population proportion infected using the large-sample (normal-approximation) method. Which statement is correct regarding whether this method is appropriate here?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

In a survey of 250 university students, a researcher calculates a 95% confidence interval for the proportion who own a car as (0.31, 0.45). Which of the following is the correct interpretation of this interval?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A public health researcher believes that 50% of adults get an annual flu vaccine. In a random sample of 400 adults, 180 reported getting vaccinated. She tests H0:p=0.5H_0: p=0.5 versus Ha:p≠0.5H_a: p\neq 0.5 at α=0.05\alpha=0.05. Using the sampling distribution and critical values shown in the figure, what is the correct conclusion?

Sampling distribution of the test statistic z under H0, showing the ±1.96 critical values for a two-tailed test at α = 0.05 and an observed statistic of z = −2.00.

Sampling distribution of the test statistic z under H0, showing the ±1.96 critical values for a two-tailed test at α = 0.05 and an observed statistic of z = −2.00.

Margin of Error vs. Sample Size for a 95% CI (p̂ = 0.5)

Margin of Error vs. Sample Size for a 95% CI (p̂ = 0.5)

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors