5 ms·
Weirdly enough, in the scenario where the host doesn't know which door has the goat and just happens to open the right door, your odds of winning the car if you
by yen223 9y ago
Weirdly enough, in the scenario where the host doesn't know which door has the goat and just happens to open the right door, your odds of winning the car if you switch actually does go back to 50-50.
Edit: I made a quick IPython notebook to demonstrate this: https://github.com/yen223/monty_fall/blob/master/Monty%20Hall%20vs%20Monty%20Fall.ipynb https://github.com/yen223/monty_fall/blob/master/Monty%20Hal...
- mannykannot 9y agoIn your program, you have to classify all cases where the host picks the prize on his second selection as 'passed', and put them aside. This affects the result, as in all those cases the subject had picked one of the wrong boxes, so you have biased the cases you actually consider towards those where the subject originally picked the right box.