# 7.5 Behavior of Confidence Intervals for a Proportion

for p behave similarly to intervals for μ, however there are a few subtleties.

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

Recall the for a population proportion is:

- Solving for
*n*gives you an equation for the sample size.

Recall the objective of a CI. If we are looking to estimate p, then we do not know what is, however it appears in this formula. So what do we plug in for p? We have a few options:

- If you have prior information such as a previous sample and can calculate a point estimate plug it in!
- You can use your best guess at p
- You can use a “conservative” estimate of p, 0.5.
*****

* *Note:* Remember that . But, we do not know yet. Since we multiply and together, we make them both equal to 0.5 because 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 CL% confident that we are within three percentage points of the true population proportion.

Example

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?

Your turn!

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?

# “Plus Four” Confidence Interval for *p. *

This is an alternative ** optional** method for constructing a CI for p

**,**stemming from the continuity correction of the binomial approximation .

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

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.

Your turn!

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.

An interval built around a point estimate for an unknown population parameter

How much a point estimate can be expected to differ from the true population value; made up of the standard error multiplied by the critical value