Lorem ipsum dolor sit amet, consectetur adipisicing elit. Odit molestiae mollitia laudantium assumenda nam eaque, excepturi, soluta, perspiciatis cupiditate sapiente, adipisci quaerat odio voluptates consectetur nulla eveniet iure vitae quibusdam? Excepturi aliquam in iure, repellat, fugiat illum voluptate repellendus blanditiis veritatis ducimus ad ipsa quisquam, commodi vel necessitatibus, harum quos a dignissimos.
Close Save changesHelp F1 or ? Previous Page ← + CTRL (Windows) ← + ⌘ (Mac) Next Page → + CTRL (Windows) → + ⌘ (Mac) Search Site CTRL + SHIFT + F (Windows) ⌘ + ⇧ + F (Mac) Close Message ESC
A pollster wants to estimate \(p\), the true proportion of all Americans favoring the Democratic candidate with 95% confidence and error \(\epsilon\) no larger than 0.03.
How many people should he randomly sample to achieve his goals?
We'll tackle this problem just as we did for finding the sample size necessary to estimate a population mean. First, note that the pollster's goal is to estimate the population proportion \(p\) so that the error is no larger than 0.03. That is, the goal is to calculate a 95% confidence interval such that:
\(\hat
\pm \epsilon=\hat
\pm 0.03\)
But, we know the formula for a \((1-\alpha)100\%\) confidence interval for a population proportion is:
So, just as we did on the previous page, we'll proceed by equating the terms appearing after each of the above \(\pm\) signs, and solve for \(n\). That is, equate:
and solve for \(n\). Multiplying through by the square root of \(n\), we get:
And, dividing through by \(\epsilon\) and squaring both sides, we get:
Again, before we make the calculation for our particular example, let's take a step back and summarize the formula that we have just derived.
Estimating a population proportion \(p\)The sample size necessary for estimating a population proportion \(p\) of a large population with ((1-\alpha)100\%\) confidence and error no larger than \(\epsilon\) is:
Just as we needed to have a decent estimate, \(s^2\), of the population variance when calculating the sample size necessary for estimating a population mean \(\mu\), we need to have a good estimate, \(\hat
\), of the population proportion when calculating the sample size necessary for estimating a population proportion \(p\). Strange, I know. but there are at least two ways out of this conundrum.
(1-\hat
)\) Section
\).
(1-\hat
)=\dfrac\) , its maximum when \(\hat
=\dfrac\)
A pollster wants to estimate \(p\), the true proportion of all Americans favoring the Democratic candidate with 95% confidence and error \(\epsilon\) no larger than 0.03.
How many people should he randomly sample to achieve his goals?
If the maximum error \(\epsilon\) is 0.03, and the sample proportion is 0.8, we need to survey:
or 683 people to estimate \(p\) with 95% confidence. Again, when making sample size calculations such at this one, it is a good idea to change all of the factors to see what the "cost" is in sample size for achieving certain errors \(\epsilon\) and confidence levels \((1-\alpha)\). Doing that here, we get:
\( \hat = 0.8\) | \( \epsilon \)= 1 | \( \epsilon \)= 3 | \( \epsilon \)= 5 |
---|---|---|---|
90% \((z_ = 1.645)\) | 4330 | 482 | 174 |
95% \((z_ = 1.96)\) | 6147 | 683 | 246 |
99% \((z_ = 2.576)\) | 10618 | 1180 | 425 |
We, of course, can also change the sample proportion. For example, if we change the sample proportion to 0.5, then we need to survey:
or 1068 people to estimate \(p\) with 95% confidence. The two calculations in this example illustrate how useful it is to have some idea of the magnitude of the sample proportion. In one case, if the proportion is close to 0.80, then we'd need as few as 680 people. On the other hand, if the proportion is close to 0.50, then we'd need as many as 1070 people. That difference in necessary sample size sure argues for a small pilot study in advance of the larger survey.
By the way, just as we did for the case in which the sample proportion was 0.8, we can change the factors to see what the "cost" is in sample size for achieving certain errors \(\epsilon\) and confidence levels \((1-\alpha)\). Doing that here, we get:
\( \hat = 0.5\) | \( \epsilon \)= 1 | \( \epsilon \)= 3 | \( \epsilon \)= 5 |
---|---|---|---|
90% \((z_ = 1.645)\) | 6766 | 752 | 271 |
95% \((z_ = 1.96)\) | 9604 | 1068 | 385 |
99% \((z_ = 2.576)\) | 16590 | 1844 | 664 |