Wheel Cuewheelcue.com
Research
For teachersGrades 9β12 Β· Conditional probability
The Monty Hall Problem in Class: What 10 Games Each Will Show
wheelcue.com/research/monty-hall-with-a-wheel/ Β· CC BY-NC-ND 4.0: share it complete and unchanged, with credit, not for sale Β· The interactive simulation is on the web page
In the Monty Hall problem, switching doors wins two games in three. Played in class, the data can still argue for the wrong answer: a student who always stays wins at least half of 10 games 21.3% of the time, and in a class of 24 the chance that some stayer does is 94.4%. We worked out what a class will see with 10, 20 and 30 games each, what changes when the host opens a door at random, and what more doors do, and checked it all with 91,928,035 simulated draws through Wheel Cue's random code.
Switching wins two games in three, and the first pick explains why
The game, for anyone who needs a refresher: a car is behind one of three doors and goats are behind the other two. You pick a door. The host, who knows where the car is, opens one of the other two doors and shows a goat. Then he offers a swap to the last closed door. Staying wins 1/3 of the time and switching wins 2/3.
The shortest explanation starts from the first pick. It is right 1/3 of the time, and nothing the host does can change that, because he always has a goat door to open whatever you picked. So staying keeps its 1/3. The other 2/3, the chance that the car was somewhere else, now sits on the single door he left closed.
The simulation agrees. In 3,000,000 simulated games through Wheel Cue's random code, staying won 33.2% and switching 66.8%. Narrow it to the games a student would actually face, say "I picked door 1 and the host opened door 3": there were 500,153 of those, and the car was behind door 2 in 66.8% of them. That is the conditional probability the problem is really about, and it is the same 2/3.
The result is famous for not being believed, so most classes play it out, and that is where the lesson can go wrong.
Ten games each convince most pairs, and still leave a few stayers winning
Put students in pairs, one who always stays and one who always switches, and let each play 10 games. The switcher finishes ahead 90.8% of the time. The rest end in a tie (5.4%) or with the stayer ahead (3.8%).
| Games each | Switcher ahead | Tie | Stayer ahead | Stayer wins half or more | Switcher wins under half |
|---|---|---|---|---|---|
| 10 | 90.8% | 5.4% | 3.8% | 21.3% | 7.7% |
| 20 | 97.9% | 1.2% | 1.0% | 9.2% | 3.8% |
| 30 | 99.4% | 0.3% | 0.3% | 4.3% | 1.9% |
The bigger trap is in the individual tallies. A stayer wins 5 or more of 10 games 21.3% of the time, and a switcher wins fewer than 5 7.7% of the time. In a class of 24, with 12 stayers and 12 switchers, you should expect 2.6 stayers to report winning half their games or more, and the chance that at least one does is 94.4%. Expect to be asked why the math is wrong.
The answer is to pool. The class's 120 stay games against its 120 switch games put switching ahead with probability >99.99%. Twenty games each would also do it for most pairs (switcher ahead 97.9%), and thirty for nearly all (99.4%), but pooling is quicker and it carries a lesson of its own: single tallies scatter, a class total does not. Our spinner lab study measures that scatter for a four-color wheel.
Running it with a wheel and three cups
Doors are not needed. Three paper cups and a small object work, and so does a drawing on the board, as long as the host is honest. One student is the host, one plays, and one keeps the tally.
- The host spins a number wheel set to 1 to 3, out of the player's sight, and hides the car under that cup. Spinning keeps the host's own habits out of it, and the game assumes all three cups are equally likely.
- The player points to a cup.
- The host lifts one of the other two cups with a goat. If the player picked the car and there are two goats to choose from, the host decides with a coin or a two-slice wheel, never by habit.
- The player stays or switches, as the pair agreed in advance, and the tally keeper writes down win or lose.
- After 10 games each, add up the class on the board: stay games and wins, switch games and wins.
Step 3 matters most. A host who sometimes reveals the car, or who only offers the swap when the player picked the car, is playing a different game with different odds. The next section shows what happens with the first of those.
Play stay or switch
Pick a door, let the host open the others, then stay or switch. Your games are tallied below. When you have seen enough single games, simulate 1,000 of each choice. Every random step uses the same code as the wheels on this site.
Pick a door.
No games yet.
Everything runs in your browser. Results change on every run.
When the host doesn't know where the car is, switching stops helping
Change one thing: the host does not know where the car is and opens one of the other two doors at random. Now and then he shows the car and the game is spoiled. When he shows a goat, should you switch?
| Host | Games | Car behind your first pick | Car behind the other closed door | Car behind the door the host opened |
|---|---|---|---|---|
| Knows where the car is | 3,000,000 | 997,410 | 2,002,590 | 0 |
| Opens a door at random | 3,000,000 | 1,000,219 | 1,000,256 | 999,525 |
The two-way table answers it. With the random host, 999,525 of 3,000,000 simulated games (33.3%) showed the car and were spoiled, against an exact 1/3. In the 2,000,475 games that showed a goat, the car was behind the player's door 1,000,219 times and behind the other closed door 1,000,256 times: 50.0% against 50.0%. Switching gains nothing.
The difference is in the information. The knowing host's door never hides the car, so his choice tells you something: all of the 2/3 that the car was elsewhere lands on the door he left. The random host's door could have hidden the car, and the games where it did are thrown away. That removes as many "switch would win" games as it leaves, so the two closed doors end up even.
This version fits the high school standards on conditional probability. Reading P(switch wins | goat shown) off the table is HSS-CP.B.6 (the conditional probability of A given B as the fraction of B's outcomes that are also in A), and building the table is HSS-CP.A.4. A good question for students: the doors and the goat look the same in both games, so what changed?
With ten doors the answer stops feeling strange
Making the game bigger is the classic way to make the result feel obvious. With ten doors, you pick one and the host, who knows where the car is, opens eight of the other nine, all goats. Staying wins 10%, the chance your first pick was right, and the one door he carefully left closed wins 90%.
Show the numbers
| Doors | Staying wins | Switching wins, host opens all but one | Switching wins, host opens one |
|---|---|---|---|
| 3 | 33.3% | 66.7% | 66.67% |
| 4 | 25.0% | 75.0% | 37.50% |
| 5 | 20.0% | 80.0% | 26.67% |
| 10 | 10.0% | 90.0% | 11.25% |
The version with ten doors and only one opened is a good test of whether the idea has landed. The host opens a single goat door and you switch to one of the eight other closed doors at random. Switching still wins more often than staying, 11.25% against 10%, because the host has removed one wrong door from the other side, but the advantage is small. Students who can explain why it is only a little better have understood the three-door game.
Behind the numbers
The exact values follow from the rules: the car and the first pick are each equally likely to be any door, and the host chooses at random whenever he has a choice. For students, a stayer's wins over a set of games follow a binomial distribution with chance 1/3 and a switcher's with 2/3, the two independent.
The simulation played every game through random.js, the file behind every spin on Wheel Cue, drawing the car's door, the player's door and the host's choice separately, as a teacher with a wheel would: 3,000,000 three-door games with each host, 600,000 games for each number of doors and host rule, and 200,000 stayer-and-switcher pairs for each number of games, 91,928,035 draws in all. All 18 comparisons with the exact values agreed within four standard errors. The largest gap, 3.19 standard errors, was on the classic stay and switch shares, which are mirror images in this game and so always miss by the same amount. The script and the raw results are linked at the top of the page.
How this research was made
The results on this page come from a simulation that runs real draws through random.js β the same file that picks every winner on Wheel Cue β and from the exact formula wherever one exists, and the two are checked against each other. Simulated results are labelled as simulations: they are not usage figures for this site.
The script and its raw output are published with the page, so anyone can re-run the study. The raw results (the JSON file) are free to reuse under the CC BY 4.0 license, with credit to Wheel Cue. The article itself is licensed under CC BY-NC-ND 4.0: print it and share copies, complete and unchanged, with credit to Wheel Cue, but do not sell them (terms). If you find a mistake, tell us: corrections are dated in the changelog. How the research is made β
Frequently asked questions
Is switching always better in the Monty Hall problem?
Only when the host knows where the car is and always opens a door with a goat. If he opens a door at random and happens to show a goat, staying and switching each win half the time.
How many games should students play?
With 10 games each, a switcher finishes ahead of a stayer 90.8% of the time. Pooling the whole class's games settles it: 120 games of each put switching ahead with probability >99.99%.
Keep reading
Hide the car with a wheel
Set the number wheel to 1 to 3 and spin it out of the player's sight before each game.
Wheel Cuewheelcue.com
Free to print and share