Mystery Bag Sampling

Draw with replacement, compare samples, and estimate a hidden bag composition.

Grades 4 to 5 · Statistics

Save resource to class

Loading your classrooms…

Sign in to save

Bookmark this page so you can find it later.

LivePhysics staff accounts use their usual sign-in provider below.

Sign in to save

Bookmark this page so you can find it later.

LivePhysics staff accounts use their usual sign-in provider below.

Report an Error

Reported page · Simulation

Mystery Bag Sampling

/simulations/mystery-bag-sampling/

This helps us reproduce what you saw. Clear the link to leave it out.

or drop them here

Up to 3 images or PDFs, 5 MB per file. 0 of 3 attached.

Explore one idea

Mystery Bag Sampling

Your goal

Draw at least 10 times with replacement, save a snapshot after at least 10 draws, estimate the circle percentage within 5 percentage points of your current sample, then reveal the bag.

1 of 3
0 replacement draws: Circle 0 (0%), Triangle 0 (0%), Square 0 (0%). No snapshot yet. Bag composition hidden.The mystery bag • draw, replace, repeat?Replace every tokenCircle0Triangle0Square0Draws: 0/100 • each draw is an independent seeded random choice

Reduced motion is on. The controls still update the scene.

0 replacement draws: Circle 0 (0%), Triangle 0 (0%), Square 0 (0%). No snapshot yet. Bag composition hidden.

%

The same bag and seed reproduce the same sequence. Samples fluctuate; a larger sample does not guarantee a closer estimate. Your goal uses the observed sample percentage, not the hidden true percentage.

Learn with Mystery Bag Sampling

A mystery bag makes sampling concrete: take one token, record its shape, and put it back before drawing again. Watch circle, triangle, and square counts accumulate without changing the hidden population. Save an early snapshot and compare its percentages with a larger sample, then enter a circle estimate and reveal the true bag composition. Reproducible random draws let students revisit the same evidence. Discuss why samples fluctuate and why collecting more evidence often helps without promising that every larger sample is closer to the truth.

What to look for

Replacement matters

Putting each token back keeps the population proportions fixed.

Compare proportions

Use counts divided by the total when sample sizes differ.

Expect variation

Larger samples can still move away from the true proportion by chance.

For teachers and curious learners

Use observed sample counts to estimate a categorical population. Ask students to predict what will happen, change one setting, and explain what they observe. Learn gives a starting point. Practice and Challenge offer new goals with the same scene.

Independent pseudorandom draws with replacement from a fixed ten-token categorical population. Seeds make results reproducible; no forced balancing or guaranteed convergence.

← All simulations