Imagine you want to know the average height of all students in a school, but you can't measure everyone. Instead, you take a sample (a smaller group) and calculate their average. This simulator shows how taking multiple samples helps us estimate the true population average—even though we never measure everyone!
🔄 What is Bootstrapping?
Bootstrapping is a statistical technique where we repeatedly take samples from a population to understand how much our estimates might vary. By collecting multiple samples and calculating their averages, we can see how close we get to the true population average—and build confidence in our predictions! This activity demonstrates the core concept of bootstrapping by showing how multiple sample averages cluster around the true mean.
Population (400 data points)
🤔 Make Your Prediction
Before collecting samples, what do you think the average height is for all 400 students? Look at the colors above (darker blue = shorter, darker red = taller) and make your best guess!
feet
🎯 Your Prediction: ft
âś… Now let's measure! Click "Measure Sample" below to start collecting samples and use statistical inference to estimate the average height.
Current Sample (40 data points selected above - faded items)
Average Height (x̄) = 0 feet
This is the average height of your 40 selected students (faded shapes). Click "Next Sample" to measure another group!
Sample 1:
Sample 2:
Sample 3:
Sample 4:
Sample 5:
📊 Review your collected samples on the chart below and click "Reveal True Mean" to see how close your sample averages are vs the actual mean if you had actually measured all 400 students!
True Average Height of All 400 Students
???
Distribution of Sample Average Heights
Samples Collected
5
Average of Sample Averages
0 ft
✨ The Big Reveal!
The red line shows the TRUE average height of all 400 students. The yellow line is your prediction. Look how close your sample averages (blue dots) came to the truth—without measuring all 400 students!
True Average Height of All 400 Students
0 feet
Your Initial Prediction
0 ft
Prediction Error
0 ft
Average of Samples
0 ft
Sample Error
0 ft
Sample Averages vs True Population Average
True Mean
This is statistical inference!
Using sample data to make educated guesses about the whole population. Notice how your sample averages clustered around the true average height—this is the power of sampling! By measuring just 40 students at a time, you got remarkably close to the true average of all 400 students.