All AP Courses AP StatisticsAP Stats

Lab

Confidence Interval Capture

A confidence level is a promise about a method, not about one interval. Here you can run the method a hundred times against a population whose true value you know, and count the misses.

How to do this lab

  1. Use the Parameter menu to choose Population proportion or Population mean. In proportion mode, set True proportion p.
  2. Set Sample size n and pick a Confidence level of 80%, 90%, 95% or 99%.
  3. Predict how many of 100 intervals will miss, then press Build 20 or Build 100. Build 1 adds a single interval.
  4. Read Intervals, Captured, Last margin and Last interval. Green bars on the graph captured the true value, and red bars missed.
  5. Press Clear, change one setting, and build again to see its effect on the capture rate and the widths.

What you will learn

  • Explain a confidence level as the long-run success rate of a method, not a probability for one interval.
  • Describe how a higher confidence level widens the intervals.
  • Show that a larger sample size narrows the intervals and shrinks the margin of error.
  • Recognize that a missed interval came from an ordinary random sample, not a mistake.

Common mistakes

  • Saying there is a 95% chance that an interval you already built contains the true value. Once built, it either captured the truth or it did not.
  • Expecting exactly 95 of 100 intervals to capture. Batches wander a few points either way.
  • Thinking a higher confidence level gives a narrower interval. It gives a wider one.
  • Using a small n with a proportion far from one half. When a sample has fewer than 10 successes or failures, the capture rate drifts below the confidence level.

Check your work

  • Build several hundred intervals. The Captured percentage should settle near the confidence level.
  • In proportion mode, estimate the margin of error from Last margin: it should be close to z* times the square root of p-hat times (1 - p-hat) over n.
  • Quadruple n and confirm the margin of error roughly halves.

Challenges

  1. At 95% confidence, build 100 intervals several times. How far does the capture rate wander from 95%?
  2. Raise the confidence level to 99%. What happens to the width of the intervals and to the capture rate?
  3. Keep 95% confidence and quadruple the sample size. What happens to the margin of error?
  4. Find an interval that missed. Is there anything wrong with the sample that produced it?

Topics this lab supports