8.3: Confidence Interval for Population Proportion
 Page ID
 16264
\( \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}}} \)
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 ~ B(n, p) 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, . (Sometimes the random variable is denoted as , 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.
~
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:
P′ follows a normal distribution for proportions:
The confidence interval has the form (p′ – EBP, p′ + EBP) given that EBP is error bound for the proportion.
The confidence interval can be used only if the number of successes np′ and the number of failures nq′ are both greater than five. 
The confidence interval can be used only if the number of successes np′ and the number of failures nq′ are both greater than five.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 .
For a proportion, the appropriate standard deviation is .
However, in the error bound formula, we use as the standard deviation, instead of .
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.
NoteFor the normal distribution of proportions, the zscore formula is as follows. If (p, ) then the zscore formula is z = 
Example 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.
[revealanswer q=”269947″]Solution A (StepbyStep Solution)[/revealanswer] [hiddenanswer a=”269947″]Let X = the number of people in the sample who have cell phones.To calculate the confidence interval, you must find p′, q′, and EBP.n = 500, x = the number of successes = 421p’= = = 0.842p′ = 0.842 is the sample proportion; this is the point estimate of the population proportion.q′ = 1 – p′ = 1 – 0.842 = 0.158 Since CL = 0.95, then α = 1 – CL = 1 – 0.95 = 0.05. = 0.025 Then = 1.96 Use the TI83, 83+, or 84+ calculator command invNorm(0.975,0,1) to find Z0.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 = = (1.96) = 0.032 p’ − EBP = 0.842 − 0.032 = 0.81 p′ + EBP = 0.842 + 0.032 = 0.874 The 95% confidence interval for the true binomial population proportion is ( p′ – EBP, p′ + EBP) = (0.810, 0.874).[/hiddenanswer] 
[revealanswer q=”850187″]Solution B (Using TICalculator)[/revealanswer] [hiddenanswer a=”850187″]
The 95% confidence interval is (0.81003, 0.87397).[/hiddenanswer] 
Try It
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.
[practicearea rows=”1″][/practicearea]
[revealanswer q=”546168″]Show Answer[/revealanswer]
[hiddenanswer a=”546168″](0.3315, 0.4525)[/hiddenanswer]
Example 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.
[revealanswer q=”154949″]Solution A (StepbyStep Solution)[/revealanswer] [hiddenanswer a=”154949″]x = 300 and n = 500p’ = = 0.600Since CL = 0.90, then α = 1 – CL = 1 – 0.90 = 0.10 = 0.05 = = 1.645 Use the TI83, 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 = = (1.645) = 0.036 p’ – EBP = 0.600 – 0.036 = 0.564 p’ + EBP = 0.600 + 0.036 = 0.636 The confidence interval for the true binomial population proportion is (p′ – EBP, p′ + EBP) = (0.564,0.636).[/hiddenanswer]
 
[revealanswer q=”842375″]Solution B (Using TICalculator)[/revealanswer] [hiddenanswer a=”842375″]
The confidence interval is (0.564, 0.636).[/hiddenanswer] 
Try It
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.
Compute a 90% confidence interval for the true percent of students who are against the new legislation, and interpret the confidence interval.
[practicearea rows=”2″][/practicearea]
[revealanswer q=”222469″]Show Answer[/revealanswer]
[hiddenanswer a=”222469″]
(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%.[/hiddenanswer]
Example 3
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.
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.
[revealanswer q=”868481″]Solution A (StepbyStep Solution)[/revealanswer] [hiddenanswer a=”868481″]Sixtyeight percent (68%) of students own an iPod and a smart phone.p′ = 0.68, q′ = 1 – p’ = 1 – 0.68 = 0.32.Since CL = 0.97, we know α = 1 – 0.97 = 0.03.The area to the left of Z_{0.015} is 0.015, and the area to the right of Z_{0.015} is 1 – 0.015 = 0.985. Using the TI 83, 83+, or 84+ calculator function InvNorm( 0.985, 0, 1 ) / Standard Normal Table, the zscore Z_{0.015} = 2.17 EBP = = (1.645) = 0.0269 p’ – EBP = 0.68 – 0.0269 = 0.6531 q’ – EBP = 0.68 + 0.0269 = 0.7069 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.[/hiddenanswer] 
[revealanswer q=”809574″]Solution B (Using TICalculator)[/revealanswer] [hiddenanswer a=”809574″]
The confidence interval is (0.6531, 0.7069).[/hiddenanswer] 
“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 4
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 “plusfour” method to find a 95% confidence interval for the true proportion of statistics students who smoke.
[revealanswer q=”795345″]Solution A (StepbyStep Solution)[/revealanswer] [hiddenanswer a=”795345″] Six students out of 25 reported smoking within the past week, so x = 6 and n = 25. Because we are using the “plusfour” method, we will use x = 6 + 2 = 8 and n = 25 + 4 = 29. p’ = = 0.276 q’ = 1 – p’ – 1 – 0.276 = 0.724 Since CL = 0.95, we know = 1 – CL = 1 – 0.95 = 0.05 Use the TI83, 83+, or 84+ calculator command invNorm(0.975,0,1) / Standard Normal probability table 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. EBP = = (1.96) = 0.1627 p’ − EBP = 0.276 − 0.1627 = 0.1133 p′ + EBP = 0.276 + 0.1627 = 0.4387 We are 95% confident that the true proportion of all statistics students who smoke cigarettes is between 0.1133 and 0.4387.[/hiddenanswer] 
[revealanswer q=”831559″]Solution B (Using TICalculator)[/revealanswer] [hiddenanswer a=”831559″]
The confidence interval is (0.113, 0.439).[/hiddenanswer] 
Example 5
Out of a random sample of 65 freshmen at State University, 31 students have declared a major. Use the “plusfour” method to find a 96% confidence interval for the true proportion of freshmen at State University who have declared a major.
[revealanswer q=”852237″]Solution A (StepbyStep Solution)[/revealanswer] [hiddenanswer a=”852237″]Using “plus four,” we have x = 31 + 2 = 33 and n = 65 + 4 = 69.p’ = = q’ = 1 – = 1 – =Since CL = 0.96, we know = 1 – CL = 1 – 0.96 = 0.04 Remember that the area to the right of Z_{0.02} is 0.02 and the area to the left of Z_{0.02} is 0.98. Use the TI83, 83+, or 84+ calculator command invNorm(0.98,0,1) / Standard Normal probability table to find Z_{0.02}. = EBP = = (2.0537)* = 0.1235 p’ − EBP = − 0.1235 = 0.3548 p′ + EBP = + 0.1235 = 0.6018 We are 96% confident that between 35.48% and 60.18% of all freshmen at State U have declared a major.[/hiddenanswer] 
[revealanswer q=”984316″]Solution B (Using TICalculator)[/revealanswer] [hiddenanswer a=”984316″]
The confidence interval is (0.3548, 0.6018).[/hiddenanswer] 
Example 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.
[revealanswer q=”546471″]Solution A (StepbyStep Solution)[/revealanswer] [hiddenanswer a=”546471″]Using “plusfour,” we have x = 13 + 2 = 15 and n = 50 + 4 = 54.p’ = = q’ = 1 – = 1 – =Since CL = 0.90, we know = 1 – CL = 1 – 0.90 = 0.10 Remember that the area to the right of Z0.05 is 0.05 and the area to the left of Z0.05 is 0.95. Use the TI83, 83+, or 84+ calculator command invNorm(0.95,0,1) / Standard Normal probability table to find Z_{0.05}. = EBP = = (1.6449)* = 0.1003 p’ − EBP = − 0.1003 = 0.1775 p′ + EBP = + 0.1003 = 0.3781 We are 90% confident that between 17.75% and 37.81% of all teens would report having more than 500 friends on Facebook.[/hiddenanswer]

[revealanswer q=”540385″]Solution B (Using TICalculator)[/revealanswer]
The confidence interval is (0.1775, 0.3781).[/hiddenanswer] 
Example 7
The Berkman Center Study referenced in Example 6 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 “plusfour” 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 6.
[revealanswer q=”654788″]Solution A (StepbyStep Solution)[/revealanswer] [hiddenanswer a=”654788″] p’ = = q’ = 1 – = 1 – = Since CL = 0.90, we know = 1 – CL = 1 – 0.90 = 0.10 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. Use the TI83, 83+, or 84+ calculator command invNorm(0.95,0,1) / Standard Normal probability table to find Z_{0.05}. = EBP = = (1.6449)* = 0.0301 p’ − EBP = − 0.0301 = 0.2418 p′ + EBP = + 0.0301 = 0.3021 We are 90% confident that between 24.18% and 30.21% of all teens would report having more than 500 friends on Facebook.[/hiddenanswer] 
[revealanswer q=”18501″]Solution B (Using TICalculator)[/revealanswer] [hiddenanswer a=”18501″]
The confidence interval is (0.242, 0.302).[/hiddenanswer] 
Conclusion
The confidence interval for the larger sample is narrower than the interval from Example 6. 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 plusfour 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 =
Solving for n gives you an equation for the sample size.
Example 8
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.
Solution:
From the problem, we know that EBP = 3% = 0.03 and 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.
 = = 1.645
 p′q′ = (0.5)(0.5) = 0.25
 EBP = 3% = 0.03
n = [late]\frac{1.645^{2 }* 0.25}{0.03^{2}}[/latex] = 751.6736 = 752 (Round the answer to the next whole number.)
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.
Try It
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?
[revealanswer q=”202364″]Show Answer[/revealanswer]
[hiddenanswer a=”202364″]271 customers should be surveyed.[/hiddenanswer]
References
Jensen, Tom. “Democrats, Republicans Divided on Opinion of Music Icons.” Public Policy Polling. Available online at http://www.publicpolicypolling.com/Day2MusicPoll.pdf (accessed July 2, 2013).
Madden, Mary, Amanda Lenhart, Sandra Coresi, Urs Gasser, Maeve Duggan, Aaron Smith, and Meredith Beaton. “Teens, Social Media, and Privacy.” PewInternet, 2013. Available online at http://www.pewinternet.org/Reports/2...dPrivacy.aspx (accessed July 2, 2013).
Prince Survey Research Associates International. “2013 Teen and Privacy Management Survey.” Pew Research Center: Internet and American Life Project. Available online at http://www.pewinternet.org/~/media//...al%20Media.pdf (accessed July 2, 2013).
Saad, Lydia. “Three in Four U.S. Workers Plan to Work Pas Retirement Age: Slightly more say they will do this by choice rather than necessity.” Gallup® Economy, 2013. Available online at http://www.gallup.com/poll/162758/th...ementage.aspx (accessed July 2, 2013).
The Field Poll. Available online at http://field.com/fieldpollonline/subscribers/ (accessed July 2, 2013).
Zogby. “New SUNYIT/Zogby Analytics Poll: Few Americans Worry about Emergency Situations Occurring in Their Community; Only one in three have an Emergency Plan; 70% Support Infrastructure ‘Investment’ for National Security.” Zogby Analytics, 2013. Available online at http://www.zogbyanalytics.com/news/2...analyticspoll (accessed July 2, 2013).
“52% Say BigTime College Athletics Corrupt Education Process.” Rasmussen Reports, 2013. Available online at http://www.rasmussenreports.com/publ...cation_process (accessed July 2, 2013).
Concept Review
Some statistical measures, like many survey questions, measure qualitative rather than quantitative data. In this case, the population parameter being estimated is a proportion. It is possible to create a confidence interval for the true population proportion following procedures similar to those used in creating confidence intervals for population means. The formulas are slightly different, but they follow the same reasoning.
Let p′ represent the sample proportion, x/n, where x represents the number of successes and n represents the sample size. Let q′ = 1 – p′. Then the confidence interval for a population proportion is given by the following formula:
(lower bound, upper bound)
The “plus four” method for calculating confidence intervals is an attempt to balance the error introduced by using estimates of the population proportion when calculating the standard deviation of the sampling distribution. Simply imagine four additional trials in the study; two are successes and two are failures. Calculate , and proceed to find the confidence interval. When sample sizes are small, this method has been demonstrated to provide more accurate confidence intervals than the standard formula used for larger samples.
Formula Review
p′ = x / n where x represents the number of successes and n represents the sample size.
The variable p′ is the sample proportion and serves as the point estimate for the true population proportion.
q′ = 1 – p′
The variable p′ has a binomial distribution that can be approximated with the normal distribution shown here.
EBP =
Confidence interval for a proportion:
(lower bound, upper bound) = (p’ – EBP, p’ + EBP) = (p’ – , p’+ )
n = provides the number of participants needed to estimate the population proportion with confidence 1 – α and margin of error EBP.
Use the normal distribution for a single population proportion p′ =
EBP = (p’+q’) = 1
The confidence interval has the format (p′ – EBP, p′ + EBP).
is a point estimate for μ
p′ is a point estimate for ρ
s is a point estimate for σ
 Stepbystep solutions for Example 4,5,6,7. Authored by: Eng Hong Sin. License: CC BY: Attribution
 A Population Proportion. Provided by: OPenStax. Located at: http://cnx.org/contents/3018944269984686ac05ed152b91b9de@17.44:53/Introductory_Statistics. License: CC BY: Attribution
 Introductory Statistics . Authored by: Barbara Illowski, Susan Dean. Provided by: Open Stax. Located at: http://cnx.org/contents/3018944269984686ac05ed152b91b9de@17.44. License: CC BY: Attribution. License Terms: Download for free at http://cnx.org/contents/30189442699...2b91b9de@17.44
 Confidence Intervals for Population Proportions. Authored by: StatisticsLectures.com. Located at: https://youtu.be/3ReWri_jh3M. License: All Rights Reserved. License Terms: Standard YouTube License