Confidence Intervals for a Population Proportion | Cambridge A Level Maths notes

Free preview: Confidence Intervals for a Population Proportion

Estimating a Proportion

9709 Paper 6: Probability & Statistics 2 (A Level)

Watch: 1-minute explainer

Let's start with a poll. In a random sample of 400 voters, 120 support a new park. What can we say about the proportion p of all voters who support it?

  • The sample proportion is p^=xn=120400=0.3, where x is the number in the sample with the feature. It is the obvious estimate of p. (Read p^ as "p hat".)
  • But another sample would give a different p^: maybe 0.28, maybe 0.33. Just as with means, we want an interval that shows how accurate the estimate is.
  • To build one, we first need to know how much p^ varies from sample to sample.

How the sample proportion varies

You already know the binomial distribution. Let's use it.

  • The number of supporters in the sample is X~B(n,p), with mean np and variance np(1 โˆ’ p).
  • The proportion is P^=Xn. Dividing a random variable by n divides its mean by n and its variance by n2.
  • So E(P^)=npn=p and Var(P^)=np(1−p)n2=p(1−p)n.
  • For large n the binomial is close to normal, so P^≈N(p,p(1−p)n).

๐Ÿ’ก In plain words

  • On average the sample proportion hits the true proportion: E(P^)=p.
  • Its spread shrinks as n grows, because n is on the bottom of the variance.
  • The square root of the variance, p(1−p)n, is the standard error of the proportion.

๐Ÿ‘€ Watch me do it: the spread of the sample proportion when p = 0.3 and n = 400

What I writeWhy I do it
Var(P^)=0.3×0.7400=0.000525Use p(1−p)n.
Standard error =0.000525=0.02291Take the square root.
About 95% of samples give p^ within 1.96×0.02291=0.045 of p.A normal variable is within 1.96 standard deviations of its mean 95% of the time.

โœ๏ธ YOUR TURN 1

Try this first:

X ~ B(n, p) with n = 100 and p = 0.6. Find the mean and the standard deviation of the sample proportion P^=X100.

Answer:

  • Mean =p=0.6.
  • Variance =0.6×0.4100=0.0024, so standard deviation =0.0024=0.0490 (3 s.f.).

The Confidence Interval for p

  • The standard error p(1−p)n contains p, which we don't know. That's annoying, because p is what we're trying to estimate!
  • For a large sample, p^ is close to p, so we replace p by p^ in the standard error:

approximate confidence interval for p:p^±zp^(1−p^)n

๐Ÿ’ก In plain words

  • Same recipe as for a mean: estimate plus or minus z standard errors.
  • The standard error of a proportion is p^(1−p^)n.
  • z is the same as before: 1.645 (90%), 1.960 (95%), 2.326 (98%), 2.576 (99%).

The recipe

  1. Find p^=xn. Why: it is the centre of the interval.
  2. Find the standard error p^(1−p^)n. Keep 4 or more significant figures.
  3. Choose z for the confidence level from the critical-value table.
  4. Work out p^±z×SE, and give the ends to 3 s.f.
  5. Interpret it in context.

๐Ÿ‘€ Watch me do it: the park poll: 120 of 400 voters, 95% interval

What I writeWhy I do it
p^=0.3, n = 400.Step 1.
Standard error 0.3×0.7400=0.02291.Step 2: 1−p^=0.7.
95%, so z = 1.960.Step 3.
0.3±1.960×0.02291=0.3±0.0449Step 4: the margin is z times the standard error.
The interval is (0.255, 0.345) (3 s.f.).Subtract and add the margin.
We are 95% confident that between about 25.5% and 34.5% of all voters support the park.Step 5: in context.

Unlock the full note: start 7 days free.

Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.

Log in ยท Subscribe ยท Start free trial

All notes in Sampling and estimation (6.4)

  1. Populations, Samples and the Census: Why We Sample
  2. Random Sampling and Random Numbers
  3. The Distribution of the Sample Mean
  4. The Sample Mean and Unbiased Estimates
  5. The Central Limit Theorem: Why Sample Means Become Normal
  6. Confidence Intervals for a Mean When the Variance Is Known
  7. Large-Sample Confidence Intervals and Sample Size
  8. Confidence Intervals for a Population Proportion

Video

What's inside for this topic

8 teacher notes, 136 practice questions, 40 flashcards, 2 quizzes.

Get the full notes, every practice question, flashcards, quizzes and mock papers.

Start your free 7-day trial

Questions? Chat with us on WhatsApp ยท Try one live lesson

Previous note: Large-Sample Confidence Intervals and Sample Size

All Cambridge A Level Maths topics ยท A Level Maths