Statistics · Statistical sampling
1 / 11
Estimation and confidence intervals
The distribution of the sample mean and the Central Limit Theorem, unbiased estimates of a population mean and variance from sample data, and confidence intervals for a mean and for a proportion — building them, interpreting them, and choosing the sample size for a required width.
Statistics · Statistical sampling
Estimation and confidence intervals
The distribution of the sample mean and the Central Limit Theorem, unbiased estimates of a population mean and variance from sample data, and confidence intervals for a mean and for a proportion — building them, interpreting them, and choosing the sample size for a required width.
Why it works
The sample mean is itself random. Take a sample of values from a population with mean and variance and average them: a different sample would give a different average. As a random variable, the sample mean satisfies by the linear-combination rules. Averaging doesn't move the centre, but it shrinks the spread — the standard deviation of is , so quadrupling the sample size halves it.When is Normal? If the population itself is Normal, is exactly Normal for any . If the population is not Normal, the Central Limit Theorem rescues everything: for large (as a guide, ), whatever the population's shape. Quote the CLT precisely when you rely on it — it is needed exactly when the population is not known to be Normal.
Estimating and from a sample. The natural estimate of is , and it is unbiased (right on average). But the raw sample variance (dividing by ) is systematically too small — deviations are measured from , which was itself fitted to the data. Dividing by corrects this: is the unbiased estimate of the population variance. In exam data you usually receive and ; this formula is built for exactly that.
A confidence interval for . Standardising and unwinding the inequality gives the two-sided interval with swapped for () or (). Use if it is known; for a large sample replace it with . The interval's meaning is about the method, not one interval: if the sampling were repeated many times, of the intervals built this way would contain . Saying " has a chance of being in this interval" misreads it — is a fixed number, not a random one.
Width and sample size. The full width is . "How large must the sample be for the width to be at most ?" becomes , solved for — and must be rounded up (rounding down would fail the requirement by a whisker).
A confidence interval for a proportion. With successes in trials, , and for large