Mistake Master
Student view — seeing the site as a student does
Mistake Master · AP Statistics · Unit 2 · Step-Through Animation

Estimating Probabilities Using Simulation

Six Heads That Are Never Repaid, and a Proportion That Comes Back Anyway

You'll learnwhy a long-run proportion settles down without any result ever making up for another, what that says about the very next toss, and how to build a simulation whose chances match the situation and report what it produces as the estimate it is.

A fair coin has just landed heads six times. Now suppose every toss after that splits exactly evenly — one head, one tail, forever — so the streak is never once repaid. The running proportion of heads still walks down to 0.5, and the three extra heads are still sitting there at every checkpoint, untouched. You watch that happen, and then you use it: nothing is owed on the seventh toss, and a short run cannot convict a coin any more than it can excuse one. The last three beats build a simulation instead of reading one — seven digits for a 70% shooter, not eight — and finish on the spread of the answer it gives back. Twelve short steps; press Next for each one.

12 STEPS · 6 QUICK CHECKS · LONG-RUN RELATIVE FREQUENCY · DILUTION · DIGIT ASSIGNMENT · STANDARD ERROR · v2

The three extra heads never leave; only the count under them grows
Before you start
What you're looking at
One fair coin that has already landed heads six times, and the running proportion of heads plotted against the number of tosses so far.
The question
If no later toss ever repays those six heads, how does the proportion get back to 0.5 — and is tails due on the next one?
Step 1 / 12

Read all 12 steps as text
Step 1

A coin has just landed heads six times

One ordinary fair coin, tossed six times, and every one of them came up heads — nothing here is rigged and nothing here is impossible.

Step 2

Six out of six is a proportion of 1.00

Put that run on a plot of the running proportion of heads and it is the single dot at the top left, as far from 0.5 as a proportion can get.

Step 3

Now every later toss splits exactly evenly

From toss seven on, this animation imposes an exactly even split — one head, one tail — so the streak is never once repaid by a later result.

Step 4

It comes back with nothing ever repaid

Watch the seven checkpoints appear: 1.0000, 0.8000, 0.6500, 0.5600, 0.5300, 0.5030, 0.5003 — the proportion walks down to 0.5 without a single toss making up for another.

Step 5

The three extra heads are still there

Each violet segment runs from the 0.5 line up to its dot, and every one of them is exactly the same height in heads: the surplus \(H(n) - \frac{n}{2}\) is 3 at all seven checkpoints.

Step 6

The gap is three heads shared over n

A fixed 3 over a growing \(n\) is the whole story: the proportion sits at \(0.5 + \frac{3}{n}\), so the streak is outnumbered rather than corrected.

Step 7

Six are settled. The seventh has not happened

The six boxes on the left are results, not chances — they are finished, and the empty box is the only thing left with a probability attached to it.

Step 8

Nothing is due; the coin keeps no record

The seventh toss is heads with probability \(0.5\), the same as the first, because the tosses are independent and the recovery you just watched came from dilution rather than from a debt.

Step 9

A short run cannot convict a coin either

A fair coin over 40 tosses spends most of its time inside the violet band, and an observed 30 heads lands outside it — unusual enough to check, and not enough to conclude.

Step 10

Count the digits, do not read the range end

To simulate a 70% free throw with random digits you need seven of the ten, 0 through 6; writing "0 through 7" hands the shooter eight digits and models 80% instead.

Step 11

What a simulation reports is an estimate

Two students simulate the same situation, one with 100 trials and one with 10,000, and the wide band and the narrow one are the spreads of the answers they get back.

Step 12

The long run dilutes; it never compensates

No toss is due, no machine is overdue and no shooter has to miss soon — the long run is reached by later results outnumbering the streak, and every simulated answer you report is an estimate with a spread of its own.