9.5. Confidence Intervals for Estimates#
9.5.1. Algorithm for Generating Bootstrap Confidence Intervals#
Choose a number of simulated values, which is the number of values in the bootstrap distribution.
Create an empty array or empty list to store the values in the bootstrap distribution.
For each simulated value:
Draw a bootstrap sample from the data. The bootstrap sample should be the same size as the original data and be drawn with replacement.
Compute the parameter estimate from the bootstrap sample.
Store the parameter estimate in the array of values for the bootstrap distribution.
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. \(~~~~ ~~~~ ~~~~\)