Letβs say we want to construct a \(99\%\) confidence interval to estimate the average GPA of students at UCCS. However, we donβt want the margin of error to be too big, and we want to know how many students to survey to get the margin of error that we want.
The more confident we want to be, the wider we want our interval, but there is a tradeoff. If an interval is too wide, it provides little information. On the other hand, a narrow interval requires a larger sample size and sampling can be a costly procedure. Hence it is handy to be able to be able to calculate ahead of time the sample size required to achieve a specified margin of error. With a bit of algebra on the appropriate margin of error from the confidence interval formula, we can determine the sample size.
\begin{equation*}
ME_{\overline{x}}=z_{\alpha/2}\cdot\left(\frac{\sigma}{\sqrt{n}}\right)\text{ and } ME_{\overline{p}}=z_{\alpha/2}\cdot\sqrt{\frac{\overline{p}(1-\overline{p})}{n}}
\end{equation*}
Determine the sample size needed to construct a \(99\%\) confidence interval to estimate the average GPA for the student population at a college with a margin of error equal to \(0.5\text{.}\) Assume the standard deviation of the GPA for the student population is \(2.5\text{.}\)
Using the formula, weβll get \(n\approx 165.87\text{.}\) We always need to round up to guarantee the desired margin of error. So here, we need a sample size of at least \(\boxed{166}\text{.}\)
A certain region would like to estimate the proportion of voters who intend to participate in upcoming elections. A pilot sample of 50 voters found that 39 of them intended to vote in the election. Determine the additional number of voters that need to be sampled to construct a \(96\%\) interval with a margin of error equal to \(0.08\) to estimate the proportion.
Using the formula (and rounding up), weβll get that \(n\) needs to be at least \(114\text{.}\) Since the pilot sample included \(50\) voters, to get to \(114\) voters, we need to sample
\begin{equation*}
114-50=\boxed{64\text{ more voters.}}
\end{equation*}