Get startedGet started for free

Bootstrapping by hand

To help you gain intuition about how bootstrapping works, imagine you have a data set that has only three points, [-1, 0, 1]. How many unique bootstrap samples can be drawn (e.g., [-1, 0, 1] and [1, 0, -1] are unique), and what is the maximum mean you can get from a bootstrap sample? It might be useful to jot down the samples on a piece of paper.

(These are too few data to get meaningful results from bootstrap procedures, but this example is useful for intuition.)

This exercise is part of the course

Statistical Thinking in Python (Part 2)

View Course

Exercise instructions

There are 3 unique samples, and the maximum mean is 0.,There are 10 unique samples, and the maximum mean is 0.,There are 10 unique samples, and the maximum mean is 1.,There are 27 unique samples, and the maximum mean is 0.,There are 27 unique samples, and the maximum mean is 1.

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise