Skip to main content
Mathematics LibreTexts

6.5: Estimating Population Proportion

  • Page ID
    92679
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    SECTION OBJECTIVES

    By the end of this chapter, the student should be able to:

    • Calculate and interpret confidence intervals for estimating a population proportion.
    • Calculate the sample size required to estimate a population proportion given a desired confidence level and margin of error.

    During an election year, we see articles in the newspaper that state confidence intervals in terms of proportions or percentages. For example, a poll for a particular candidate running for president might show that the candidate has 40% of the vote within three percentage points (if the sample is large enough). Often, election polls are calculated with 95% confidence, so, the pollsters would be 95% confident that the true proportion of voters who favored the candidate would be between 0.37 and 0.43: (0.40 – 0.03,0.40 + 0.03).

    Investors in the stock market are interested in the true proportion of stocks that go up and down each week. Businesses that sell personal computers are interested in the proportion of households in the United States that own personal computers. Confidence intervals can be calculated for the true proportion of stocks that go up or down each week and for the true proportion of households in the United States that own personal computers.

    The procedure to find the confidence interval, the sample size, the error bound, and the confidence level for a proportion is similar to that for the population mean, but the formulas are different. How do you know you are dealing with a proportion problem? There is no mention of a mean or average!

    To form a proportion, take \(X\), the random variable for the number of successes and divide it by \(n\), the number of trials (or the sample size). The random variable \(\hat{P} \) (read "P hat") is that proportion,

    \[\hat{P} = \dfrac{X}{n}\nonumber \]

    When \(n\) is large and \(p\) is not close to zero or one, we can use the normal distribution to approximate the number of successes.

    \[X \sim N(np, \sqrt{npq})\nonumber \]

    If we divide the random variable, the mean, and the standard deviation by \(n\), we get a normal distribution of proportions with \(P′ \), called the estimated proportion, as the random variable. (Recall that a proportion as the number of successes divided by \(n\).)

    \[\dfrac{X}{n} = \hat{P} \sim N\left(\dfrac{np}{n}, \dfrac{\sqrt{npq}}{n}\right)\nonumber \]

    Using algebra to simplify:

    \[\dfrac{\sqrt{npq}}{n} = \sqrt{\dfrac{pq}{n}}\nonumber \]

    \(\hat{P}\) follows a normal distribution for proportions:

    \[\dfrac{X}{n} = \hat{P} \sim N\left(\dfrac{np}{n}, \dfrac{\sqrt{npq}}{n}\right)\nonumber \]

    Calculating the Error Bound

    The error bound (EBP) for a proportion is

    \[EBP = \left(z_{\frac{\alpha}{2}}\right)\left(\sqrt{\dfrac{\hat{p}\hat{q}}{n}}\right)\nonumber \]

    where \(\hat{q}\ = 1 - \hat{p}\).

    This formula is similar to the error bound formula for a mean, except that the "appropriate standard deviation" is different. For a mean, when the population standard deviation is known, the appropriate standard deviation that we use is \(\dfrac{\sigma}{\sqrt{n}}\). For a proportion, the appropriate standard deviation is

    \[\sqrt{\dfrac{pq}{n}}.\nonumber \]

    However, in the error bound formula, we use

    \[\sqrt{\dfrac{\hat{p}\hat{q}}{n}}\nonumber \]

    as the standard deviation, instead of

    \[\sqrt{\dfrac{pq}{n}}.\nonumber \]

    In the error bound formula, the sample proportions \(\hat{p}\) and \(\hat{q}\) are estimates of the unknown population proportions p and q. The estimated proportions \(\hat{p}\) and \(\hat{q}\) are used because \(p\) and \(q\) are not known. The sample proportions \(\hat{p}\) and \(\hat{q}\) are calculated from the data: \(\hat{p}\) is the estimated proportion of successes, and \(\hat{q}\) is the estimated proportion of failures.

    Which Calculator to Use?

    There are many online calculators that can be used to compute the Margin of Error. For example, you can use this one:

    Also, you are encouraged to ask your instructor about which calculator is allowed/recommended for this course.

    Example \(\PageIndex{1}\)

    Use the calculator provided above to verify the following statements:

    When \(\alpha=0.1, n=200, \hat{p}=0.43\) the EBP is \(0.0577\)

    When \(\alpha=0.05, n=100, \hat{p}=0.81\) the EBP is \(0.0768\)

    When \(\alpha=0.01, n=250, \hat{p}=0.57\) the EBP is \(0.0806\)

    Exercise \(\PageIndex{1}\)

    Find EBP when \(\alpha=0.07, n=168, \hat{p}=0.82\).

    Answer

    0.0806

    Interactive Exercise \(\PageIndex{1}\)

    Constructing the Confidence Interval

    The confidence interval has the form

    \[(\hat{p} – EBP, \hat{p} + EBP).\nonumber \]

    where

    • \(EBP\) is error bound for the proportion.
    • \(\hat{p} = \dfrac{x}{n}\)
    • \(\hat{p} =\) the estimated proportion of successes (\hat{p} is a point estimate for p, the true proportion.)
    • \(x =\) the number of successes
    • \(n =\) the size of the sample

    The confidence interval can be used only if the number of successes \(n\hat{p}\) and the number of failures \(n\hat{q}\) are both greater than five.

    The graph gives a picture of the entire situation.

    \[CL + \dfrac{\alpha}{2} + \dfrac{\alpha}{2} = CL + \alpha = 1.\nonumber \]

    This is a normal distribution curve. The peak of the curve coincides with the point x-bar on the horizontal axis. The points x-bar - EBM and x-bar + EBM are labeled on the axis. Vertical lines are drawn from these points to the curve, and the region between the lines is shaded. The shaded region has area equal to 1 - a and represents the confidence level. Each unshaded tail has area a/2.
    Figure 8.2.2.
    Which Calculator to Use?

    There are many online calculators that can be used to compute the confidence intervals. For example, you can use this one:

    Also, you are encouraged to ask your instructor about which calculator is allowed/recommended for this course.

    Example \(\PageIndex{2}\)

    Use the calculator provided above to verify the following:

    Confidence Level (%): \(95\)

    Sample Size: \(197\)

    Number of Successes: \(61\)

    95% Confidence Interval: \((0.2450, 0.3742)\)

    Exercise \(\PageIndex{2}\)

    Find a 90% confidence interval when the sample size is 250 and the number of successes is 85.

    Answer

    (0.2907, 0.3893)

    Interactive Exercise \(\PageIndex{2}\)

    Writing the Interpretation

    The interpretation should clearly state the confidence level (\(CL\)), explain what population parameter is being estimated (here, a population proportion), and state the confidence interval (both endpoints). "We estimate with ___% confidence that the true population proportoin (include the context of the problem) is between ___ and ___ ."

    Example \(\PageIndex{3}\)

    Suppose that a market research firm is hired to estimate the percent of adults living in a large city who have cell phones. Five hundred randomly selected adult residents in this city are surveyed to determine whether they have cell phones. Of the 500 people surveyed, 421 responded yes - they own cell phones. Using a 95% confidence level, compute a confidence interval estimate for the true proportion of adult residents of this city who have cell phones.

    Solution

    To calculate the confidence interval, you must find \(\hat{p}\), \(\hat{q}\), and \(EBP\).

    • \(n = 500\)
    • \(x =\) the number of successes \(= 421\)

    \[\hat{p} = \dfrac{x}{n} = \dfrac{421}{500} = 0.842\nonumber \]

    • \(\hat{p} = 0.842\) is the sample proportion; this is the point estimate of the population proportion.

    \[\hat{q} = 1 – \hat{p} = 1 – 0.842 = 0.158\nonumber \]

    Since \(CL = 0.95\), then

    \[\alpha = 1 – CL = 1 – 0.95 = 0.05\left(\dfrac{\alpha}{2}\right) = 0.025.\nonumber \]

    Then

    \[z_{\dfrac{\alpha}{2}} = z_{0.025 = 1.96}\nonumber \]

    Use the TI-83, 83+, or 84+ calculator command invNorm(0.975,0,1) to find \(z_{0.025}\). Remember that the area to the right of \(z_{0.025}\) is \(0.025\) and the area to the left of \(z_{0.025}\) is \(0.975\). This can also be found using appropriate commands on other calculators, using a computer, or using a Standard Normal probability table.

    \[EBP = \left(z_{\dfrac{\alpha}{2}}\right)\sqrt{\dfrac{\hat{p}\hat{q}}{n}} = (1.96)\sqrt{\dfrac{(0.842)(0.158)}{500}} = 0.032\nonumber \]

    \[\hat{p} – EBP = 0.842 – 0.032 = 0.81\nonumber \]

    \[\hat{p} + EBP = 0.842 + 0.032 = 0.874\nonumber \]

    The confidence interval for the true binomial population proportion is \((\hat{p} – EBP, \hat{p} +EBP) = (0.810, 0.874)\).

    Interpretation: We estimate with 95% confidence that between 81% and 87.4% of all adult residents of this city have cell phones.

    Explanation of 95% Confidence Level: Ninety-five percent of the confidence intervals constructed in this way would contain the true value for the population proportion of all adult residents of this city who have cell phones.

    Exercise \(\PageIndex{3}\)

    Suppose 250 randomly selected people are surveyed to determine if they own a tablet. Of the 250 surveyed, 98 reported owning a tablet. Using a 95% confidence level, compute a confidence interval estimate for the true proportion of people who own tablets.

    Answer

    (0.3315, 0.4525)

    Interactive Exercise \(\PageIndex{3.1}\)

    Interactive Exercise \(\PageIndex{3.2}\)

    Example \(\PageIndex{4}\)

    For a class project, a political science student at a large university wants to estimate the percent of students who are registered voters. He surveys 500 students and finds that 300 are registered voters. Compute a 90% confidence interval for the true percent of students who are registered voters, and interpret the confidence interval.

    Answer

    \(x = 300\) and \(n = 500\)

    \[\hat{p} = \dfrac{x}{n} = \dfrac{300}{500} = 0.600\nonumber \]

    \[\hat{q} = 1 − \hat{p} = 1 − 0.600 = 0.400\nonumber \]

    Since \(CL = 0.90\), then

    \[\alpha = 1 – CL = 1 – 0.90 = 0.10\left(\dfrac{\alpha}{2}\right) = 0.05\]

    \[z_{\dfrac{\alpha}{2}} = z_{0.05} = 1.645\nonumber \]

    Use the TI-83, 83+, or 84+ calculator command invNorm(0.95,0,1) to find \(z_{0.05}\). Remember that the area to the right of \(z_{0.05}\) is 0.05 and the area to the left of \(z_{0.05}\) is 0.95. This can also be found using appropriate commands on other calculators, using a computer, or using a standard normal probability table.

    \[EBP = \left(z_{\dfrac{\alpha}{2}}\right)\sqrt{\dfrac{\hat{p}\hat{q}}{n}} = (1.645)\sqrt{\dfrac{(0.60)(0.40)}{500}} = 0.036\nonumber \]

    \[\hat{p} – EBP = 0.60 − 0.036 = 0.564\nonumber \]

    \[\hat{p} + EBP = 0.60 + 0.036 = 0.636\nonumber \]

    The confidence interval for the true binomial population proportion is \((\hat{p} – EBP, \hat{p} +EBP) = (0.564,0.636)\).

    Interpretation

    • We estimate with 90% confidence that the true percent of all students that are registered voters is between 56.4% and 63.6%.
    • Alternate Wording: We estimate with 90% confidence that between 56.4% and 63.6% of ALL students are registered voters.

    Explanation of 90% Confidence Level: Ninety percent of all confidence intervals constructed in this way contain the true value for the population percent of students that are registered voters.

    Exercise \(\PageIndex{4}\)

    A student polls his school to see if students in the school district are for or against the new legislation regarding school uniforms. She surveys 600 students and finds that 480 are against the new legislation.

    1. Compute a 90% confidence interval for the true percent of students who are against the new legislation, and interpret the confidence interval.
    2. In a sample of 300 students, 68% said they own an iPod and a smart phone. Compute a 97% confidence interval for the true percent of students who own an iPod and a smartphone.
    Answer

    (0.7731, 0.8269); We estimate with 90% confidence that the true percent of all students in the district who are against the new legislation is between 77.31% and 82.69%

    Interactive Exercise \(\PageIndex{4.1}\)

    Interactive Exercise \(\PageIndex{4.2}\)

    Example \(\PageIndex{5}\)

    A random sample of 29 statistics students was asked: “Have you smoked a cigarette in the past week?” Eight students reported smoking within the past week. Find a 95% confidence interval for the true proportion of statistics students who smoke.

    Solution

    Eight students out of 29 reported smoking within the past week, so \(x = 8\) and \(n = 29\).

    \[\hat{p} = \dfrac{x}{n} = \dfrac{8}{29} \approx 0.276\nonumber \]

    \[\hat{q} = 1 – \hat{p} = 1 – 0.276 = 0.724\nonumber \]

    Since \(CL = 0.95\), we know \(\alpha = 1 – 0.95 = 0.05\) and \(\dfrac{\alpha}{2} = 0.025\).

    \[z_{0.025} = 1.96\nonumber \]

    \(EPB = \left(z_{\dfrac{\alpha}{2}}\right)\sqrt{\dfrac{\hat{p}\hat{q}}{n}} = (1.96)\sqrt{\dfrac{0.276(0.724)}{29}} \approx 0.163\)

    \[\hat{p} – EPB = 0.276 – 0.163 = 0.113\nonumber \]

    \[\hat{p} + EPB = 0.276 + 0.163 = 0.439\nonumber \]

    We are 95% confident that the true proportion of all statistics students who smoke cigarettes is between 0.113 and 0.439.

    Exercise \(\PageIndex{5}\)

    Out of a random sample of 69 freshmen at State University, 33 students have declared a major. Find a 96% confidence interval for the true proportion of freshmen at State University who have declared a major.

    Solution

    We have \(x = 33\) and \(n = 69\).

    \[\hat{p} = 33/69 \approx 0.478\nonumber \]

    \[\hat{q} = 1 – \hat{p} = 1 – 0.478 = 0.522\nonumber \]

    Since \(CL = 0.96\), we know \(\alpha = 1 – 0.96 = 0.04\) and \(\dfrac{\alpha}{2} = 0.02\).

    \[z_{0.02} = 2.054\nonumber \]

    \[EPB = \left(z_{\dfrac{\alpha}{2}}\right)\sqrt{\dfrac{p'q'}{n}} = (2.054)\left(\sqrt{\dfrac{(0.478)(0.522)}{69}}\right) - 0.124\nonumber \]

    \[\hat{p} – EPB = 0.478 – 0.124 = 0.354\nonumber \]

    \[\hat{p} + EPB = 0.478 + 0.124 = 0.602\nonumber \]

    We are 96% confident that between 35.4% and 60.2% of all freshmen at State U have declared a major.

    Interactive Exercise \(\PageIndex{5.1}\)

    Interactive Exercise \(\PageIndex{5.2}\)

    Example \(\PageIndex{6}\)

    The Berkman Center for Internet & Society at Harvard recently conducted a study analyzing the privacy management habits of teen internet users. In a group of 50 teens, 13 reported having more than 500 friends on Facebook. Use the “plus four” method to find a 90% confidence interval for the true proportion of teens who would report having more than 500 Facebook friends.

    Solution A

    Using “plus-four,” we have \(x = 13 + 2 = 15\) and \(n = 50 + 4 = 54\).

    \[p′ = 1554 \approx 0.278\nonumber \]

    \[q′ = 1 – p′ = 1 − 0.241 = 0.722\nonumber \]

    Since \(CL = 0.90\), we know \(\alpha = 1 – 0.90 = 0.10\) and \(\dfrac{\alpha}{2} = 0.05\).

    \[z_{0.05} = 1.645\nonumber \]

    \[EPB = \left(z_{\dfrac{\alpha}{2}}\right)\left(\sqrt{\dfrac{p'q'}{n}}\right) = (1.645)\left(\sqrt{\dfrac{(0.278)(0.722)}{54}}\right) \approx 0.100\nonumber \]

    \[p′ – EPB = 0.278 – 0.100 = 0.178\nonumber \]

    \[p′ + EPB = 0.278 + 0.100 = 0.378\nonumber \]

    We are 90% confident that between 17.8% and 37.8% of all teens would report having more than 500 friends on Facebook.

    Solution B

    Press STAT and arrow over to TESTS.

    Arrow down to A:1-PropZint. Press ENTER.
    Arrow down to \(x\) and enter 15.
    Arrow down to \(n\) and enter 54.
    Arrow down to C-Level and enter 0.90.
    Arrow down to Calculate and press ENTER.

    The confidence interval is (0.178, 0.378).

    Calculating the Sample Size \(n\)

    If researchers desire a specific margin of error, then they can use the error bound formula to calculate the required sample size. The error bound formula for a population proportion is

    \[EBP = \left(z_{\frac{\alpha}{2}}\right)\left(\sqrt{\dfrac{\hat{p}\hat{q}}{n}}\right)\nonumber \]

    Solving for \(n\) gives you an equation for the sample size.

    \[n = \dfrac{\left(z_{\frac{\alpha}{2}}\right)^{2}(\hat{p}\hat{q})}{EBP^{2}}\nonumber \]

    Example \(\PageIndex{6}\)

    Suppose a mobile phone company wants to determine the current percentage of customers aged 50+ who use text messaging on their cell phones. How many customers aged 50+ should the company survey in order to be 90% confident that the estimated (sample) proportion is within three percentage points of the true population proportion of customers aged 50+ who use text messaging on their cell phones.

    Answer

    From the problem, we know that \(\bf{EBP = 0.03}\) (3%=0.03) and \(z_{\dfrac{\alpha}{2}} z_{0.05} = 1.645\) because the confidence level is 90%.

    However, in order to find \(n\), we need to know the estimated (sample) proportion \(\hat{p}\). Remember that \(\hat{q} = 1 – \hat{p}\). But, we do not know \(\hat{p}\) yet. Since we multiply \(\hat{p}\) and \(\hat{q}\) together, we make them both equal to 0.5 because \(\hat{p}\hat{q} = (0.5)(0.5) = 0.25\) results in the largest possible product. (Try other products: \((0.6)(0.4) = 0.24\); \((0.3)(0.7) = 0.21\); \((0.2)(0.8) = 0.16\) and so on). The largest possible product gives us the largest \(n\). This gives us a large enough sample so that we can be 90% confident that we are within three percentage points of the true population proportion. To calculate the sample size \(n\), use the formula and make the substitutions.

    \[n = \dfrac{z^{2}\hat{p}\hat{q}}{EBP^{2}}\nonumber \]

    gives

    \[n = \dfrac{1.645^{2}(0.5)(0.5)}{0.03^{2}} = 751.7\nonumber \]

    Round the answer to the next higher value. The sample size should be 752 cell phone customers aged 50+ in order to be 90% confident that the estimated (sample) proportion is within three percentage points of the true population proportion of all customers aged 50+ who use text messaging on their cell phones.

    Exercise \(\PageIndex{6}\)

    Suppose an internet marketing company wants to determine the current percentage of customers who click on ads on their smartphones. How many customers should the company survey in order to be 90% confident that the estimated proportion is within five percentage points of the true population proportion of customers who click on ads on their smartphones?

    Answer

    271 customers should be surveyed. Check the Real Estate section in your local

    Interactive Exercise \(\PageIndex{6}\)


    This page titled 6.5: Estimating Population Proportion is shared under a CC BY license and was authored, remixed, and/or curated by OpenStax.

    • Was this article helpful?