Skip to main content
Statistics LibreTexts

8.3: Estimating Proportions

  • Page ID
    26087
  • \( \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}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    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? First, the underlying distribution is a binomial distribution. (There is no mention of a mean or average.) If \(X\) is a binomial random variable, then

    \[X \sim B(n, p)\nonumber \]

    where \(n\) is the number of trials and \(p\) is the probability of a success.

    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 \(P′ \) (read "P prime") is that proportion,

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

    (Sometimes the random variable is denoted as \(\hat{P}\), read "P hat".)

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

    \[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\).)

     

    Using algebra to simplify:

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

    P′ follows a normal distribution for proportions:

     

    The confidence interval has the form

    \[(p′ – EBP, p′ + EBP).\nonumber \]

    where

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

    The error bound (EBP) for a proportion is

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

    where \(q\ = 1 - 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{p'q'}{n}}\nonumber \]

    as the standard deviation, instead of

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

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

    The confidence interval can be used only if the number of successes \(np′\) and the number of failures \(nq′\) are both greater than five.

    Normal Distribution of Proportions

    For the normal distribution of proportions, the \(z\)-score formula is as follows.

    If

     

    then the \(z\)-score formula is

    \[z = \dfrac{p'-p}{\sqrt{\dfrac{pq}{n}}} \]

    Example \(\PageIndex{1}\)

    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

    • The first solution is step-by-step (Solution A).

    Let \(X =\) the number of people in the sample who have cell phones. \(X\) is binomial.

    \[X \sim B(500,\dfrac{421}{500}).\nonumber \]

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

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

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

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

    \[q′ = 1 – 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{p'q'}{n}} = (1.96)\sqrt{\dfrac{(0.842)(0.158)}{500}} = 0.032\nonumber \]

    \[p' – EBP = 0.842 – 0.032 = 0.81\nonumber \]

    \[p′ + EBP = 0.842 + 0.032 = 0.874\nonumber \]

    The confidence interval for the true binomial population proportion is \((p′ – EBP, 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{1}\)

    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)

    Example \(\PageIndex{2}\)

    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

    • The first solution is step-by-step (Solution A).

    Solution

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

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

    \[q′ = 1 − 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{p'q'}{n}} = (1.645)\sqrt{\dfrac{(0.60)(0.40)}{500}} = 0.036\nonumber \]

    \[p′ – EBP = 0.60 − 0.036 = 0.564\nonumber \]

    \[p′ + EBP = 0.60 + 0.036 = 0.636\nonumber \]

    The confidence interval for the true binomial population proportion is \((p′ – EBP, 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{2}\)

    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 a

    (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%.

    Answer b

    Sixty-eight percent (68%) of students own an iPod and a smart phone.

    \[p′ = 0.68\nonumber \]

    \[q′ = 1–p′ = 1 – 0.68 = 0.32\nonumber \]

    Since \(CL = 0.97\), we know

    \[\alpha = 1 – 0.97 = 0.03\nonumber \]

    and

    \[\dfrac{\alpha}{2} = 0.015.\nonumber \]

    The area to the left of \(z_{0.05}\) is 0.015, and the area to the right of \(z_{0.05}\) is 1 – 0.015 = 0.985.

    Using the TI 83, 83+, or 84+ calculator function InvNorm(0.985,0,1),

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

    \[EPB = \left(z_{\dfrac{\alpha}{2}}\right)\sqrt{\dfrac{p'q'}{n}} = 2.17\sqrt{\dfrac{0.68(0.32)}{300}} \approx 0.0269\nonumber \]

    \[p′ – EPB = 0.68 – 0.0269 = 0.6531\nonumber \]

    \[p′ + EPB = 0.68 + 0.0269 = 0.7069\nonumber \]

    We are 97% confident that the true proportion of all students who own an iPod and a smart phone is between 0.6531 and 0.7069.

    "Plus Four" Confidence Interval for \(p\)

    There is a certain amount of error introduced into the process of calculating a confidence interval for a proportion. Because we do not know the true proportion for the population, we are forced to use point estimates to calculate the appropriate standard deviation of the sampling distribution. Studies have shown that the resulting estimation of the standard deviation can be flawed.

    Fortunately, there is a simple adjustment that allows us to produce more accurate confidence intervals. We simply pretend that we have four additional observations. Two of these observations are successes and two are failures. The new sample size, then, is \(n + 4\), and the new count of successes is \(x + 2\). Computer studies have demonstrated the effectiveness of this method. It should be used when the confidence level desired is at least 90% and the sample size is at least ten.

    Example \(\PageIndex{3}\)

    A random sample of 25 statistics students was asked: “Have you smoked a cigarette in the past week?” Six students reported smoking within the past week. Use the “plus-four” method to find a 95% confidence interval for the true proportion of statistics students who smoke.

    Solution

    Six students out of 25 reported smoking within the past week, so \(x = 6\) and \(n = 25\). Because we are using the “plus-four” method, we will use \(x = 6 + 2 = 8\) and \(n = 25 + 4 = 29\).

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

    \[q′ = 1 – 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{p'q'}{n}} = (1.96)\sqrt{\dfrac{0.276(0.724)}{29}} \approx 0.163\)

    \[p′ – EPB = 0.276 – 0.163 = 0.113\nonumber \]

    \[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.

    REMINDER

    Remember that the plus-four method assume an additional four trials: two successes and two failures. You do not need to change the process for calculating the confidence interval; simply update the values of x and n to reflect these additional trials.

    The confidence interval is (0.113, 0.439).

    Exercise \(\PageIndex{3}\)

    Out of a random sample of 65 freshmen at State University, 31 students have declared a major. Use the “plus-four” method to find a 96% confidence interval for the true proportion of freshmen at State University who have declared a major.

    Solution

    Using “plus four,” we have \(x = 31 + 2 = 33\) and \(n = 65 + 4 = 69\).

    \[p′ = 3369 \approx 0.478\nonumber \]

    \[q′ = 1 – 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 \]

     

    \[p′ – EPB = 0.478 – 0.124 = 0.354\nonumber \]

    \[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.

    The confidence interval is (0.355, 0.602).

    Example \(\PageIndex{4}\)

    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).

    Exercise \(\PageIndex{4}\)

    The Berkman Center Study referenced in Example talked to teens in smaller focus groups, but also interviewed additional teens over the phone. When the study was complete, 588 teens had answered the question about their Facebook friends with 159 saying that they have more than 500 friends. Use the “plus-four” method to find a 90% confidence interval for the true proportion of teens that would report having more than 500 Facebook friends based on this larger sample. Compare the results to those in Example.

    Answer

    Solution

    Using “plus-four,” we have \(x = 159 + 2 = 161\) and \(n = 588 + 4 = 592\).

    \[p′ = 161592 \approx 0.272\nonumber \]

    \[q′ = 1 – p′ = 1 – 0.272 = 0.728\nonumber \]

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

    \[EPB = \left(z_{\dfrac{\alpha}{2}}\right)\left(\sqrt{\dfrac{p'q'}{n}}\right) = (1.645)\left(\sqrt{\dfrac{(0.272)(0.728)}{592}}\right) \approx 0.030\nonumber \]

    \[p′ – EPB = 0.272 – 0.030 = 0.242\nonumber \]

    \[p′ + EPB = 0.272 + 0.030 = 0.302\nonumber \]

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

    • The confidence interval is (0.242, 0.302).

    Conclusion: The confidence interval for the larger sample is narrower than the interval from Example. Larger samples will always yield more precise confidence intervals than smaller samples. The “plus four” method has a greater impact on the smaller sample. It shifts the point estimate from 0.26 (13/50) to 0.278 (15/54). It has a smaller impact on the EPB, changing it from 0.102 to 0.100. In the larger sample, the point estimate undergoes a smaller shift: from 0.270 (159/588) to 0.272 (161/592). It is easy to see that the plus-four method has the greatest impact on smaller samples.

    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{p'q'}{n}}\right)\nonumber \]

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

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

    Example \(\PageIndex{5}\)

    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 \(p′\). Remember that \(q′ = 1 – p′\). But, we do not know \(p′\) yet. Since we multiply \(p′\) and \(q′\) together, we make them both equal to 0.5 because \(p′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}p'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.

    Glossary

    Binomial Distribution
    a discrete random variable (RV) which arises from Bernoulli trials; there are a fixed number, \(n\), of independent trials. “Independent” means that the result of any trial (for example, trial 1) does not affect the results of the following trials, and all trials are conducted under the same conditions. Under these circumstances the binomial RV \(X\) is defined as the number of successes in \(n\) trials. The notation is: \(X \sim B(\mathbf{n},\mathbf{p})\). The mean is \(\mu = np\) and the standard deviation is \(\sigma = \sqrt{npq}\). The probability of exactly \(x\) successes in \(n\) trials is \(P(X = x = \left(\binom{n}{x}\right))p^{x}q^{n-x}\).
    Error Bound for a Population Proportion (\(EBP\))
    the margin of error; depends on the confidence level, the sample size, and the estimated (from the sample) proportion of successes.

    Contributors and Attributions

    • Barbara Illowsky and Susan Dean (De Anza College) with many other contributing authors. Content produced by OpenStax College is licensed under a Creative Commons Attribution License 4.0 license. Download for free at http://cnx.org/contents/30189442-699...b91b9de@18.114.


    This page titled 8.3: Estimating Proportions is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by OpenStax via source content that was edited to the style and standards of the LibreTexts platform.