Thursday, July 2, 2009

Monty Hall Test Simulator

Jeff Atwood (Coding Horror, StackOverflow) recently wrote a blog post about the Monty Hall Problem. So I thought I'd write a little app that simulates the tests. I have always thought the contestant has three options, Always Switch (66%), Always Stay (33%), AND Pick Again (50%). People who say your chance is 50/50 after one door is taken out of the equation, are Correct, IF you randomly choose the second door at that time. Check out the app below.

WD = Winning Door.
FC = First Choice.
RD = Removed Door.
SC = Second Choice.



Post a Comment