Sampling Distribution Slider: A 40-Minute Lesson

By Jude Wallis · Published

This 40-minute lesson runs the sampling distribution and CLT visualizer as predict-then-reveal across shape, sample size n, and number of samples drawn. Only n narrows the spread, by a square root, while more draws just sharpen a picture of a spread that was already fixed.

AP Statistics: Unit 2 (topics 2.12 Sampling Distributions and the Central Limit Theorem). This lesson is built around the interactive for CED topic 2.12 (Sampling Distributions and the Central Limit Theorem), aligned to skill 4.C, and previews the sampling distribution of the mean that returns for inference in Unit 4.

Objective and materials

By the end of the period, students can state which of three controls on the interactive, population shape, sample size, or number of samples drawn, actually changes the spread of a sampling distribution, and can explain why drawing more samples smooths a histogram without narrowing it.

  • A shared screen or projector open to the sampling distribution and CLT visualizer, left untouched at its default settings until Move 1
  • One notecard or half sheet per student for written predictions
  • A whiteboard, or one shared document, where the class prediction gets recorded before every reveal
  • Optional for the no-tech variant: one six-sided die per student or pair, and a number line taped to the board from 1 to 6

Nothing needs to be built ahead of time. The tool already opens with the right-skewed population selected, sample size n set to 10, and no samples drawn yet, so the empty bottom plot is itself the hook: a blank histogram waiting to be filled in.

The hook, 4 minutes

Point at the two stacked plots before touching anything. The top one shows a right-skewed population that piles up near zero and thins into a long right tail, with a dashed line at its mean. The bottom one is empty. Ask the class: if you draw one random sample of 10 values from that population and average them, where will that single average land, close to the population's dashed mean, or could it land almost anywhere?

Take a quick show of hands for "close to the mean" versus "could be almost anywhere," then click draw 1 sample. Ten dots rain onto the population plot one at a time, landing exactly where the theory says they should since they were drawn from that population's own shape, and a single larger dot marks their mean, labeled with its value. Ask which side of the show of hands got it right, and move straight into Move 1 without resolving the general case yet.

Move 1: one sample is not the story, 4 minutes

Before clicking anything else, ask students to write a private prediction: if you clicked draw 1 sample nine more times, would the ten resulting dots in the bottom plot land in a neat pile, or scatter widely with no visible pattern yet?

Click draw 1 sample nine more times, one click at a time, pausing on each so the class can watch a single new mean rain in. Have them watch above the plot too: an observed SD of those means appears as soon as the second mean lands, since the tool needs at least two accumulated means to compute one, and by the time all ten have landed it has had time to settle. After ten total clicks, the bottom plot holds ten dots with some shape starting to suggest itself, but not yet a clean pile. Ask the class to compare their prediction against what actually happened: the sample count now reads 10 samples drawn. Name the real lesson out loud: a single sample mean tells you almost nothing on its own, which is exactly why the next two moves are about drawing thousands of them, not one.

Move 2: shrink the sample size, 8 minutes

Click reset to clear the ten dots. State the change coming next before making it: sample size n is about to drop from 10 down to 2, staying on the same right-skewed population. Ask every student to write a prediction: after drawing 2,000 samples of size 2, will the histogram of their means look symmetric like a bell, or will it still lean to one side the way the population does?

Drag the n slider down to 2, which silently clears the plot again since changing n always resets the count to zero. Click draw 2,000. The histogram fills in fast, and it visibly leans right, the same direction as the population above it. Ask students to read the two numbers printed above the plot: predicted SE, sigma over the square root of n, now shows about 1.288, next to whatever the observed SD of the 2,000 means actually came out to. Push on the gap between the two readouts and the shape: the SE formula already predicts this spread correctly at n equals 2, but nothing in that formula promises a bell curve, and the histogram is the proof that a small n does not deliver one from a skewed population.

Move 3: quadruple the sample size, 10 minutes

Before touching the slider, tell the class exactly what is coming: n is about to go from 10 up to 40, four times as large, same right-skewed population. Ask for a written prediction of what happens to the printed predicted SE: does it get four times smaller, twice as small, or does it barely move?

Reset, then drag n to 10 and click draw 2,000 to reestablish a baseline: predicted SE reads about 0.576. Reset again, drag n to 40, and click draw 2,000 once more. Predicted SE now reads about 0.288, exactly half of 0.576, not a quarter of it. Also point at the histogram's shape, which now sits close to the indigo curve overlaid on it rather than leaning to one side. Have the class state the rule in their own words before you say it: quadrupling n cuts the spread in half, because the spread scales by the square root of n, and a bigger n also gives a skewed population's sampling distribution enough room to round into something close to normal.

Move 4: change how many samples you draw, 6 minutes

Keep n fixed at 40 for this move so only one thing changes at a time. Ask students to predict: will clicking draw 2,000 a second time, on top of the samples already there, change the predicted SE reading at all?

Without resetting, click draw 2,000 again. The printed sample count jumps by 2,000, the histogram gets visibly smoother and fuller, and the observed SD of means creeps even closer to the predicted 0.288, but the predicted SE line itself does not move, because it was never a function of how many samples you have drawn. Name the distinction plainly: sample size n changes the actual spread of the sampling distribution, while the number of samples drawn only changes how clearly that fixed spread shows up in your histogram. A researcher who runs one more copy of the same study learns more about the truth without changing what the truth's variability actually is.

Check for understanding, 4 minutes

Ask the class, in writing, then cold-call: according to the formula printed on screen, sigma over the square root of n, which single change would cut the predicted SE in half, doubling n, quadrupling n, or doubling the number of samples drawn? The answer is quadrupling n, since the square root of 4 is 2.

Follow with a quick verbal check: does clicking draw 100 a second time ever change the predicted SE number on screen? No, and the reason is worth hearing a student say aloud: predicted SE depends only on the population's spread and on n, never on how many times you have already drawn a sample. For a class that finishes early, point at the built-in challenge chip labeled make 2,000+ skewed samples come out normal, which only checks off for the right-skewed population at n of 30 or higher, and ask a pair to find the smallest n where it lights up.

Exit ticket, 4 minutes

Hand out or project these three prompts and collect written answers before the bell.

  1. Quadrupling the sample size divides the standard error of a sampling distribution by about what number? Show the square root that gets you there.
  2. True or false, with one sentence of justification: a sampling distribution built from a skewed population will still look skewed no matter how large the sample size gets.
  3. In your own words, what is the difference between the distribution of the ten values inside one sample and the sampling distribution of the mean built from thousands of samples?

The first answer is 2, from the square root of 4. The second is false: the population itself always stays skewed, but the sampling distribution of its mean straightens toward a bell shape as n grows, which is the Central Limit Theorem's actual claim. The third answer should separate the ten raw values a single sample happened to contain from the pile of means built by repeating the sampling process thousands of times, since those are two different distributions with two different jobs.

No-tech variant: dice and a class survey

Give every student, or every pair, one six-sided die. A single die roll is a draw from a flat population running 1 through 6, with a true mean of 3.5. Have each student roll once and call out their number: tallied on a number line taped to the board, thirty rolls make a rough, flat-looking population histogram, which stands in for the right-skewed population's top plot.

Now have each student roll the die three times and record the average of their three rolls, rounded to the nearest tenth, then come place a sticky note above that value on a second number line. Even though a single die's outcomes are flat, the class's pile of thirty averages of three rolls will mound up visibly near 3.5 and thin out toward the extremes, the same rounding-toward-the-middle effect the slider shows for n equals 2 versus n equals 40. Repeat with an average of five rolls if time allows, and the class's sticky notes should mound up more tightly around 3.5 than the average-of-three round did.

For a right-skewed no-tech population, run a quick anonymous class survey instead of dice: minutes of screen time yesterday, or number of text messages sent this morning, both of which tend to pile up low with a long tail of high values. Split the survey responses into groups of three or four, compute each group's average, and plot those group averages on a number line the same way as the dice averages. The two physical activities and the on-screen tool are teaching the identical fact: averaging shrinks spread and, given enough values per average, straightens out a lopsided population.

Misconceptions this lesson targets

A sampling distribution is not the distribution inside one sample. The distribution of the ten raw values a single sample happened to contain describes that one sample. The sampling distribution is a different object entirely: it is built by repeating the whole sampling process thousands of times and plotting the resulting means, one dot per sample, never one dot per raw value. Students who mix these up will describe the top population plot, the one sample's rained-in dots, and the bottom histogram of means as though they were three versions of the same thing, when they are three distinct distributions doing three distinct jobs.

A bigger sample size shrinks spread by a square root, not by the same factor. Doubling n does not halve the spread, and quadrupling n does. The predicted SE readout on screen makes this checkable in real time: sigma over the square root of n, so spread only falls as fast as n's square root grows. A student who expects doubling n to halve the spread will be consistently surprised by the numbers the tool prints, which is exactly the moment to have them recompute the formula by hand.

The Central Limit Theorem describes the sample mean, never the raw data. No matter how many samples get drawn, the individual values inside any one sample still follow the parent population's own shape, skewed or flat or bimodal, and that never changes. What straightens toward a bell curve is the distribution of the means, and only as n grows large enough. A student who says drawing more samples makes each sample's own data look more normal has confused the two plots on screen; the fix is pointing back at the top plot, which never changes shape no matter what n or the draw count are doing.

Worked walkthrough: the quadruple-n prediction

Run Move 3 as a five-minute prediction-then-reveal that gets the class to state the square-root law in their own words before the teacher says it.

  1. With the tool reset and n at 10, click draw 2,000 and read the predicted SE aloud: about 0.576. Write that number on the board.

  2. Ask the class to predict, before touching the slider, what predicted SE will read once n is quadrupled to 40: exactly a quarter of 0.576, exactly half, or something else.

  3. Reset the tool, drag n to 40, and click draw 2,000 again. Read the new predicted SE aloud: about 0.288.

  4. Have students check the ratio themselves: 0.576 divided by 0.288 is 2, not 4, even though n itself grew by a factor of 4.

  5. Ask what number, applied to 4, gives 2. The square root. Have the class restate the rule as a full sentence: quadrupling the sample size divides the standard error by the square root of 4, which is 2.

  6. Close by asking what n would be needed to cut the original 0.576 down to about a quarter of itself, roughly 0.144. Since spread scales by the square root of n, n would need to grow by a factor of 16, to 160, which the slider cannot even reach past its cap of 100.

Predicted SE fell from about 0.576 at n equals 10 to about 0.288 at n equals 40, a reduction of exactly one half, matching the square root of the factor of 4 by which n grew. Spread scales with the square root of n, so cutting it to a quarter would require growing n by a factor of 16, not 4.

Worked walkthrough: separating sample size from number of samples

Students often treat draw 2,000 as though it makes the sampling distribution narrower. Run this comparison to show that only the n slider does that.

  1. Reset the tool, set n to 40, and click draw 100. Note the predicted SE reading and the observed SD of the 100 means, which likely sit a little apart from each other.

  2. Without touching n, click draw 2,000 on top of the existing 100 samples. The total sample count jumps to 2,100.

  3. Ask the class to compare the predicted SE reading before and after this second click. It has not moved, since it depends only on the population's sigma and on n, both unchanged.

  4. Ask the class to compare the observed SD of means before and after. It should have crept closer to the predicted SE, since more accumulated means give a steadier estimate of the true spread.

  5. Now reset, set n to 10, and click draw 2,000. Compare this predicted SE against the one from n equals 40. This one is larger, because this time n actually changed.

  6. Have the class state the full distinction: the number of samples drawn improves how well you can measure the spread, while sample size n is the only control that changes the spread itself.

Clicking draw 2,000 a second time at a fixed n changes only the observed SD, pulling it closer to a predicted SE that never moved. Changing n instead moves the predicted SE itself. The two controls answer two different questions: how many samples tells you how well you know the truth, and n tells you what the truth's own variability is.

Frequently asked questions

What if the class only has one shared screen, not one device per student?

That is the intended setup for all four moves. One shared screen with the class predicting out loud or on notecards before every click keeps the prediction public and keeps the reveal a genuine surprise. Save one-device-per-pair for an optional extension after the exit ticket, once the four moves have already been run as a whole-class demonstration.

Students finish the exit ticket early. What next?

Point them at the three built-in challenge chips on the tool: shrink the predicted SE below 0.4, make 2,000+ skewed samples come out normal, and pile up 5,000 means. The second one only checks off for the right-skewed population at n of 30 or higher, which is a quick way to have early finishers rediscover Move 3's finding on their own.

Why does the histogram sometimes look uneven even after 2,000 samples?

Each reset reseeds the random draws, so no two runs of the tool, even at the same n and shape, produce identical histograms. That randomness is real sampling variability, not a bug, and it is worth naming out loud if a student notices their group's histogram looks a little different from another group's at the same settings.

Can this lesson run in less than 40 minutes?

Drop Move 4 and shorten the exit ticket to its first two prompts for a 30 to 33 minute version. Move 4's finding, that the number of samples drawn does not change the predicted SE, is worth keeping if there is any time at all, since it is the distinction students confuse most on the free response section.

Do I need the no-tech variant if the projector works fine?

No, it is built for a day the projector or shared screen is unavailable, or as a follow-up the next day that makes the same square-root law tangible with physical dice or the class's own survey data instead of a screen.