A brief note on Confidence Intervals for Proportions and Means . Read it before a test. Try each question at the end before you open its answer.
Rules Point estimate: a single number used for a parameter, such as p ^ \hat p p ^ for p p p or x ˉ \bar x x ˉ for μ \mu μ . Margin of error at 95%: 1.96 1.96 1.96 standard errors. Interval for a proportion: p ^ ± 1.96 p ^ ( 1 − p ^ ) n \hat p \pm 1.96\sqrt{\dfrac{\hat p(1 - \hat p)}{n}} p ^ ± 1.96 n p ^ ( 1 − p ^ ) . Conditions: a random sample, at least 10 10 10 successes and 10 10 10 failures, a sample under a tenth of the population. Sample size: n ≥ ( 1.96 m ) 2 p ^ ( 1 − p ^ ) n \ge \left(\dfrac{1.96}{m}\right)^2 \hat p(1 - \hat p) n ≥ ( m 1.96 ) 2 p ^ ( 1 − p ^ ) , rounded up; use p ^ = 0.5 \hat p = 0.5 p ^ = 0.5 with no guess. Interval for a mean (large sample): x ˉ ± 1.96 s n \bar x \pm 1.96\dfrac{s}{\sqrt n} x ˉ ± 1.96 n s . Small samples use the Student t multiplier. Other levels: 1.645 1.645 1.645 for 90 % 90\% 90% and 2.576 2.576 2.576 for 99 % 99\% 99% . What the level means The method catches the true value in about 95 % 95\% 95% of samples. It is not a 95 % 95\% 95% chance for one interval, not a range for single values, and not a forecast of other samples. A worked example A made-up survey of 400 400 400 people finds that 180 180 180 read a paper every day.
Conditions. 180 180 180 successes and 220 220 220 failures, both at least 10 10 10 . Estimate and margin. p ^ = 0.45 \hat p = 0.45 p ^ = 0.45 , and the margin is 1.96 0.45 × 0.55 400 ≈ 0.0488 1.96\sqrt{\dfrac{0.45 \times 0.55}{400}} \approx 0.0488 1.96 400 0.45 × 0.55 ≈ 0.0488 . Interval. From about 0.401 0.401 0.401 to about 0.499 0.499 0.499 . Practice with new numbers
A program to try The program checks the conditions and works out the interval of the worked example.
Run it. Does the interval match step 3?
1. Change count, n = 180, 400 to count, n = 720, 1600. What happens to the margin?
Mistakes to avoid Using the standard error as the margin. Multiply by 1.96 1.96 1.96 . Rounding a sample size down. Always round up. Saying "a 95% chance" for one interval. Skipping the conditions, especially the 10 10 10 successes and 10 10 10 failures. Check yourself A sample share is 0.5 0.5 0.5 from 100 100 100 people. Find the margin of error at 95 % 95\% 95% . Stuck? Show a hint Show the answerAn interval runs from 0.22 0.22 0.22 to 0.30 0.30 0.30 . Find the estimate and the margin. Stuck? Show a hint Show the answerWhich is wider for the same data, the 95% or the 90% interval? Stuck? Show a hint Show the answerA survey of 50 50 50 people has 8 8 8 successes. Can the formula be used? Stuck? Show a hint Show the answerA sample of 36 36 36 has s = 12 s = 12 s = 12 g. Find the margin of the 95% interval for the mean. Stuck? Show a hint Show the answerSources OpenStax, Introductory Statistics , Chapter 8, confidence intervals for a population mean and a population proportion.