A Monte Carlo simulation of the Monty Hall problem
The Monty Hall problem is a probability puzzle. It has no logical contradiction, but for many people the result goes against their intuition. The problem originates from the American television game show “Let’s Make a Deal”. It is named after its original host, Monty Hall. The problem is stated as: Suppose you’re on a game show, and you’re given the choice of three doors: Behind one door is a car; behind the others, nothing. You pick a door, say No. 1, and the host, who knows what’s behind the doors, opens another door, say No. 3, which has nothing. He then says to you, “Do you want to pick door No. 2?” Is it to your advantage to switch your choice? ...