Confidence intervals

Draw repeated samples and discover which intervals capture the true mean.

Sample size and precision

1 question · No time limit

Example

Example

Which method produces narrower intervals?

This controlled simulation has population mean μ = 40 and known standard deviation σ = 12. Each sample contains n independent normal observations. Each interval is sample mean ± z × σ/√n. Samples are independent between repetitions.

1. Predict

Method AMethod B
Sample size n1636
Multiplier z22

Interval: x̄ ± zσ/√n

Which method produces narrower intervals?

Make a prediction first. It is not scored.

2. Test your idea

Draw samples to see intervals move around the fixed population mean.

The chart shows the 12 latest intervals per method. Solid intervals contain μ; dashed intervals miss it. Simulation estimates do not determine the scored answer.

Which method produces narrower intervals?

Try the controls, then check your solution.

Help

Try the controls, then check your solution.

Your first checked solution is recorded. You can keep experimenting afterwards.

Share practice

View history

Keyboard shortcuts

Enter
Start or continue
?
Keyboard shortcuts
Esc
Close help or notes

Each practice may show additional keys.

Tab moves between controls. Enter or Space activates the focused control. Shortcuts pause while typing or viewing help.

About this practice

Draw repeated samples and discover which intervals capture the true mean.

For a broader mix of practices, explore the statistics practice test. Membership is required to start a test.

Report a problem

Leave and lose today’s round?

This is your free round for today. If you leave, it ends.