Skip to main content

Interval estimates and confidence intervals - TCE Mathematics Methods (Tasmania)

Syllabus dot point

“Use the distribution of sample proportions to construct and interpret confidence intervals for a population proportion.”

TCEMath MethodsUnit 49 min read

Quick answer

Sample proportions vary around the true proportion pp and are approximately normal for large samples. A confidence interval, p^±zp^(1−p^)n\hat{p} \pm z\sqrt{\dfrac{\hat{p}(1-\hat{p})}{n}}, gives a plausible range for pp; for example a 95% interval uses z≈1.96z \approx 1.96.

What this dot point is asking

When you cannot survey a whole population, you estimate a proportion from a sample. The sample proportion p^=number of successesn\hat{p} = \dfrac{\text{number of successes}}{n} is a point estimate of the true population proportion pp. Because a different sample would give a slightly different p^\hat{p}, we describe the variability and report an interval.

Distribution of the sample proportion

For a large sample, p^\hat{p} is approximately normally distributed with mean pp and standard deviation p(1−p)n\sqrt{\dfrac{p(1-p)}{n}}, called the standard error. This approximation underpins the confidence interval.

Constructing a confidence interval

A confidence interval takes the point estimate and adds and subtracts a margin of error.

Confidence interval for a proportion

p^±zp^(1−p^)n\hat{p} \pm z\sqrt{\frac{\hat{p}(1-\hat{p})}{n}}

The margin of error is E=zp^(1−p^)nE = z\sqrt{\dfrac{\hat{p}(1-\hat{p})}{n}}. The multiplier zz depends on the confidence level: z≈1.645z \approx 1.645 for 90%, z≈1.96z \approx 1.96 for 95%, and z≈2.576z \approx 2.576 for 99%.

Since pp is unknown, we use p^\hat{p} inside the standard error, which is why the formula contains p^(1−p^)\hat{p}(1-\hat{p}) rather than p(1−p)p(1-p).

What "95% confidence" means

If you repeated the whole sampling process many times and built an interval each time, about 95% of those intervals would contain the true proportion pp. It is a statement about the long-run reliability of the method, not the probability that one particular interval is right.

The trade-offs

Higher confidence uses a larger zz, which widens the interval. A larger sample size nn shrinks the standard error and narrows the interval. So precision (a narrow interval) and confidence pull in opposite directions, and you buy precision by increasing nn.

Choosing a sample size for a target margin

A common design question reverses the formula: given a required margin of error EE, find the sample size nn needed. Rearranging E=zp^(1−p^)nE = z\sqrt{\dfrac{\hat{p}(1-\hat{p})}{n}} gives

n=z2 p^(1−p^)E2.n = \frac{z^{2}\,\hat{p}(1-\hat{p})}{E^{2}}.

When no prior estimate of p^\hat{p} is available, use p^=0.5\hat{p} = 0.5, because p^(1−p^)\hat{p}(1-\hat{p}) is largest there and so gives the safest (largest) sample size. Always round nn up to the next whole number, since a fractional person cannot be surveyed and rounding down would leave the margin slightly too wide. For example, a 95%95\% interval with margin 0.030.03 and p^=0.5\hat{p} = 0.5 needs n=1.962×0.250.032≈1067.1n = \dfrac{1.96^{2}\times 0.25}{0.03^{2}} \approx 1067.1, so survey 10681068 people.

Finding the confidence level from a given interval

Some questions hand you a completed interval and ask which confidence level produced it. Take half the interval width as the margin EE, divide by the standard error to recover zz, then identify the confidence level from the standard zz-values (1.6451.645 for 90%90\%, 1.961.96 for 95%95\%, 2.5762.576 for 99%99\%). This reverses the construction and is a favourite TASC twist on the standard interval question.

Worked example: a 95% confidence interval

In a survey of 400400 voters, 220220 said they support a proposal. Construct a 95% confidence interval for the true proportion of supporters.

Point estimate:

p^=220400=0.55.\hat{p} = \frac{220}{400} = 0.55.

Standard error:

p^(1−p^)n=0.55×0.45400=0.2475400=0.00061875≈0.02487.\sqrt{\frac{\hat{p}(1-\hat{p})}{n}} = \sqrt{\frac{0.55 \times 0.45}{400}} = \sqrt{\frac{0.2475}{400}} = \sqrt{0.00061875} \approx 0.02487.

For 95% confidence, z≈1.96z \approx 1.96, so the margin of error is

E=1.96×0.02487≈0.04875.E = 1.96 \times 0.02487 \approx 0.04875.

The confidence interval is

0.55±0.0488,that is(0.501, 0.599).0.55 \pm 0.0488, \quad \text{that is} \quad (0.501,\ 0.599).

We are 95% confident that between about 50.1%50.1\% and 59.9%59.9\% of all voters support the proposal.

Saying there is a 95% probability p lies in this interval

Once you have computed a specific interval such as (0.501,0.599)(0.501, 0.599), the true proportion pp either is or is not inside it; there is no probability attached to the fixed interval. The 95% refers to the method: 95% of intervals built this way over many samples capture pp. State the interpretation as confidence in the procedure, not probability about this one interval.

Summary

Compute p^\hat{p}, then the standard error p^(1−p^)/n\sqrt{\hat{p}(1-\hat{p})/n}, then multiply by the zz for your confidence level to get the margin of error, and add and subtract it from p^\hat{p}. Remember that increasing confidence widens the interval while increasing the sample size narrows it, and always interpret the interval as a statement about the long-run reliability of the method.

Exam-style questions

Questions in the style of TASC exam questions on this dot point, each with a worked answer. They are written by ExamExplained unless tagged "Past paper"; the year shows the paper a question is modelled on.

Practice4 marks
Calculator-assumed. 200200 random people are surveyed and 7070 say they prefer honey to jam. A confidence interval for the true proportion who prefer honey is (0.2945,0.4055)(0.2945, 0.4055). Find the level of confidence that generates this interval. Show full working.
Show worked answer →

The sample proportion is p^=70200=0.35\hat{p} = \dfrac{70}{200} = 0.35, the centre of the interval.

The margin of error is half the interval width: 0.4055−0.35=0.05550.4055 - 0.35 = 0.0555.

The standard error of the sample proportion is p^(1−p^)n=0.35×0.65200=0.0011375=0.033727\sqrt{\dfrac{\hat{p}(1 - \hat{p})}{n}} = \sqrt{\dfrac{0.35\times 0.65}{200}} = \sqrt{0.0011375} = 0.033727.

The zz-value used is marginstandard error=0.05550.033727=1.645\dfrac{\text{margin}}{\text{standard error}} = \dfrac{0.0555}{0.033727} = 1.645.

A zz-value of 1.6451.645 corresponds to a 90%90\% confidence level (it leaves 5%5\% in each tail). So the interval was generated at 90%90\% confidence. Marks reward finding p^\hat{p}, the margin, the standard error, and identifying z=1.645z = 1.645 as 90%90\%.

Practice2 marks
Calculator-free. A survey of 10001000 people found 50%50\% own a puffer jacket. Show that the 95%95\% confidence interval is approximately (46.90%,53.10%)(46.90\%, 53.10\%), i.e. a margin of error of 3.10%3.10\%, to two decimal places.
Show worked answer →

Here p^=0.5\hat{p} = 0.5 and n=1000n = 1000. For 95%95\% confidence the zz-value is 1.961.96.

Margin=1.96p^(1−p^)n=1.960.5×0.51000=1.96×0.015811=0.03099,\text{Margin} = 1.96\sqrt{\frac{\hat{p}(1 - \hat{p})}{n}} = 1.96\sqrt{\frac{0.5\times 0.5}{1000}} = 1.96\times 0.015811 = 0.03099,

i.e. about 3.10%3.10\%.

Confidence interval =0.5±0.0310=(0.4690,0.5310)=(46.90%,53.10%)= 0.5 \pm 0.0310 = (0.4690, 0.5310) = (46.90\%, 53.10\%). Showing the substitution into the margin formula and the final interval earns both marks.

Practice3 marks
Calculator-assumed. A marketing company samples 500500 people, with 53%53\% in favour of Party A. (a) Calculate the 95%95\% confidence interval for the true support. (b) Explain why the company cannot claim majority support.
Show worked answer →

(a) With p^=0.53\hat{p} = 0.53, n=500n = 500 and z=1.96z = 1.96 for 95%95\% confidence:

Margin=1.960.53×0.47500=1.96×0.022321=0.04375≈4.38%.\text{Margin} = 1.96\sqrt{\frac{0.53\times 0.47}{500}} = 1.96\times 0.022321 = 0.04375 \approx 4.38\%.

Confidence interval =0.53±0.0438=(0.4862,0.5738)= 0.53 \pm 0.0438 = (0.4862, 0.5738), i.e. about (48.6%,57.4%)(48.6\%, 57.4\%).

(b) The interval extends below 0.50.5 (its lower bound is 48.6%48.6\%), so values under 50%50\% are plausible for the true proportion. The company cannot claim majority support at 95%95\% confidence. One mark each for the margin, the interval, and the interpretation.

Practise this

Sources & how we know this

ExamExplained