Statistical inference - TCE Mathematics Specialised (Tasmania)
“Use the distribution of the sample mean and the central limit theorem to construct confidence intervals.”
The sample mean has mean and standard deviation . The central limit theorem says is approximately normal for large , which lets you build a confidence interval for the population mean.
What this dot point is asking
Statistical inference uses a sample to make justified statements about an entire population. The bridge is the sampling distribution of the sample mean.
If a sample of size is drawn from a population with mean and standard deviation , then the sample mean has
The quantity is the standard error.
So is an unbiased estimator of , and it becomes more precise as grows, since the standard error shrinks like .
For a sufficiently large sample size, the distribution of the sample mean is approximately normal,
regardless of the shape of the original population distribution.
This is what makes inference possible even when the population itself is not normal. As a rule of thumb is enough for the approximation to be good.
Confidence intervals
A confidence interval gives a range of plausible values for . Using the normal model for , a confidence interval for the population mean is
where is the critical value for the chosen confidence level. The common values are for 95 percent and for 99 percent confidence.
Worked example
A machine fills bottles whose contents have known standard deviation mL. A random sample of bottles has mean mL. Construct a 95 percent confidence interval for the true mean fill .
The standard error is
For 95 percent confidence, . The margin of error is
The confidence interval is
We are 95 percent confident the true mean fill lies between about 501.0 mL and 503.0 mL.
The margin of error and choosing a sample size
The term added and subtracted, , is the margin of error. It is half the width of the interval. Because it depends on only through , you can solve for the sample size needed to meet a target precision.
To guarantee a margin of error of at most at a given confidence level (critical value ),
Always round the result up to the next whole number, because a smaller would give a larger margin than allowed.
Worked example
A quality inspector knows the fill volumes of a drink have standard deviation mL. How large a sample is needed so that a 95% confidence interval for the mean has a margin of error no more than mL?
Use , , :
Round up: bottles. Taking only would push the margin just above mL, so the minimum acceptable sample size is .
Interpreting the interval correctly
The confidence level describes the long-run reliability of the method: if we repeated the sampling many times and built an interval each time, about 95 percent of those intervals would contain the true . It is not a probability statement about for one fixed interval.
To halve the width of an interval you must quadruple the sample size, because the width depends on . This square-root law is why doubling precision is expensive: cutting the margin of error to a quarter needs sixteen times the data.
Reading a given interval backwards
Exam questions often hand you a completed interval and ask you to recover the sample mean, the standard error, or the confidence level. Two facts make this routine. The sample mean is the midpoint of the interval, , and the margin of error is the half-width, . Once you have and , the implied critical value is , which tells you the confidence level ( for 95%, for 99%).
A frequent error is using instead of in the interval. The sample mean varies far less than an individual measurement, so you must divide by . A related slip is the wrong interpretation: saying there is a 95 percent probability that lies in one computed interval. Once the interval is fixed, either is or is not inside it; the 95 percent refers to the procedure, not that single interval.
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.
Practice6 marksA population has standard deviation . A random sample of values has mean . (a) Construct a 95% confidence interval for the population mean . (b) State the smallest sample size needed so that the margin of error for a 95% interval is at most .Show worked answer →
(a) The standard error is . For 95% confidence, , so the margin of error is . The interval is . (3 marks)
(b) We need . Rearranging, , so . Since must be a whole number and the margin must be at most , round up to . Markers reward the standard error, the correct , and rounding the sample size up. (3 marks)
Practice5 marksThe lifetimes of a brand of battery have standard deviation hours. A sample of batteries gives a 99% confidence interval of hours for the mean lifetime. (a) Find the sample mean . (b) Verify the interval is consistent with .Show worked answer →
(a) The sample mean is the midpoint of the interval: hours. (2 marks)
(b) The standard error is . The half-width of the interval is . The implied value is , which matches the 99% critical value. Markers reward the midpoint as the mean and the consistency check of half-width against . (3 marks)