A confidence interval is a range of values that is likely to contain an unknown population parameter. It is calculated from a sample of data and provides a measure of the uncertainty associated with an estimate.
The formula for a confidence interval for a population proportion is:
\[CI = p \pm z \times \sqrt{\frac{p(1-p)}{n}} \times \sqrt{\frac{N-n}{N-1}}\]
Where:
Let's calculate a 95% confidence interval for a population proportion with these parameters:
Plugging these values into our formula:
\[CI = 0.3 \pm 1.96 \times \sqrt{\frac{0.3(1-0.3)}{100}} \times \sqrt{\frac{10000-100}{10000-1}}\]
\[CI = 0.3 \pm 1.96 \times 0.0458 \times 0.9950\]
\[CI = 0.3 \pm 0.0891\]
\[CI = (0.2109, 0.3891)\]
Therefore, we can be 95% confident that the true population proportion falls between 21.09% and 38.91%.
This diagram illustrates the 95% confidence interval for our example. The blue shaded area represents the interval (21.09% to 38.91%), while the red dashed line shows the sample proportion (30%).
We can create a free, personalized calculator just for you!
Contact us and let's bring your idea to life.