9.5. Confidence Intervals for Estimates#

9.5.1. Algorithm for Generating Bootstrap Confidence Intervals#

  1. Choose a number of simulated values, which is the number of values in the bootstrap distribution.

  2. Create an empty array or empty list to store the values in the bootstrap distribution.

  3. For each simulated value:

    1. Draw a bootstrap sample from the data. The bootstrap sample should be the same size as the original data and be drawn with replacement.

    2. Compute the parameter estimate from the bootstrap sample.

    3. Store the parameter estimate in the array of values for the bootstrap distribution.

  4. Determine the interval that contains the center C% probability of the data.

9.5.2. Terminology Review#

Use the flashcard below to help you review the terminology introduced in this chapter. \(~~~~ ~~~~ ~~~~\)