When a whole population cannot be surveyed, statistical estimation uses the values from a single sample to judge the range where the population mean is likely to be. The sample mean wobbles around the population mean with standard deviation σ/√n, so a confidence interval is built by putting the sample mean in the middle and attaching a margin of error z × σ/√n on each side. Raising the confidence level makes z larger and the interval wider, while a larger sample makes σ/√n smaller and the interval narrower, so there is a trade-off. Move the sample-size and confidence sliders and the interval really widens and narrows on a fixed scale; below it you also see how many of eight intervals, each from a fresh sample, contain the population mean.
Last updated