Gate Keeper Game (or Monty Hall problem)

©2009 by Sébastien Robyr
(email: sebastien[dot]robyr[at]gmail[dot]com)

Suppose you're on a game show, and you're given the choice of three doors.
Behind one door is a (car) and behind the two others, (goats).
You randomly pick a door, say door 2.
The gate keeper, who knows what's behind all doors,
opens another door, say door 3, which has a goat.
He then asks you: Do you want to pick door 1 or keep your initial choice
of door 2?

Is it to your advantage to switch your choice or not?


Simulation Parameters
Number of samples samples
Logging
       

Keep 1st choice - wins statistics:
Switch choice - wins statistics:
Total Samples:
Statistics
Statistics of '1':
Statistics of '2':
Statistics of '3':
Logging Output
Sample Winner Door 1st choice Eliminated Door 2nd choice