The Monty Hall Problem: A Statistical Illusion
statisticsbyjim.com
statisticsbyjim.com
The same argument applies with 3 boxes, but intuition is much less reliable in this case.
You win by switching as long as you were wrong in the initial guess. You have a 2/3 chance of being wrong in the initial guess. Therefore you will win by switching 2 times out of 3.
Can also phrase it in reverse: You lose by switching if you were right in the initial guess. You have a 1/3 chance of being right in the initial guess. Therefore you lose by switching 1 time out of 3.
If it is given that Monty always picks a door that does not have a prize behind it, then indeed the correct answer is to switch doors. But otherwise, there is no advantage in switching: 1/3 of the time he would expose the prize, and in the other 2/3 of cases you are just as likely to win without switching.
"Monty opens one of the other two doors, and there is no prize behind it."
rather than
"Monty opens one of the other two doors, one which he knows has no prize behind it."
which rules out the interpretation of Monty opening a door that by chance happens to have no prize behind it, leading to a different answer.
His knowledge before hand doesn't matter, switching its always better.
That said, I feel like there is a limitation in our modeling of probability that this problem isn't easier. Yes anyone who knows stats can solve it, but somehow we're using the wrong "language"that the problem is still tricky. Geometry isn't tricky becsuse we have the right language for it. Geometry is "hard" when problems are hard/complex. Monty Hall the problem isn't complex, but solving it correctly is still difficult.
To take a programming term, probability applied to this problemfeels like it has accidental complexity.
1/3 chance you pick the prize on first choice. (And Monty opens a random goat-door)
2/3 chance you don't, in which case 1/2 of the time, Monty opens the prize door and you lose. The other 1/2 of the time Monty opens a random goat)
So after Monty has opened a door there is now 3 possible scenarios:
1. 1/3 chance you picked the prize. Don't switch
2. 1/3 = 2/3 * 1/2 chance you didn't pick the prize and Monty opened the prize door. You lost.
3. 1/3 = 2/3 * 1/2 chance you didn't pick the prize and Monty opened a goat door. In this case, switch.
The probability of 1 and 3 are equal and switching or not switching doesn't matter.
Now if Monty knows where the prize is and always opens a goat door, things are very different.
1/3 chance you picked the prize. Monty opens a goat. You shouldn't switch.
2/3 change you picked a goat. Monty opens a goat. You should switch.
Now 2/3 of the time you can switch and get the prize. So switching is correct.
It all depends on the unstated assumption that Monty may actually have told you something, rather than taken a risk. And that's why this problem is mostly a good lesson in what can happen if you don't state your problem well.
Extension: what if Monty tosses a coin to decide whether to open a door, conditioned on you having chosen the prize door?
Specifying Monty's behaviour matters, I think.
(Sharing for curiosity purposes.)