Monty Hall Problem simulation
Clone and open index.html in your browser.
Variables:
- Initial pick
- Opened door
- Decision to switch
100000 iterations
50055 | Stayed | % |
---|---|---|
Win | 16895 | 33.75 |
Lose | 33160 | 66.25 |
49945 | Switched | % |
---|---|---|
Win | 33272 | 66.62 |
Lose | 16673 | 33.38 |
100000 | Total | % |
---|---|---|
Win | 50167 | 50.17 |
Lose | 49833 | 49.83 |