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, goats. You pick a door, say No. 1, and the host, who knows what’s behind the doors, opens another door, say No. 3, and shows you that there is a goat behind it. He then says to you, “Do you want to pick door No. 2?” Is it to your advantage to switch your choice? (From Parade magazine’s Ask Marilyn column) Or in a more general way, instead of just 3 doors imagine you're given N doors and the host opens N-2 doors after you make your choice, leaving you with the choice that you made initially and just one other. Now, if you/re asked to stay on your choice or switch what will you do? Do you stay or switch? Which will be the better option? You should always switch. But why?
In this project I simulate the problem and experimentally show how this "counter-intuitive" solution is actually correct. I also tackle some of the other questions that arise from the same problem, namely -
The theoretical explanation of the correctness of these results is explained in an article authored by me, link for which is given below.
Copyright © Aarat