Combining statistics and programming… The Full Monty you might say.

One of my favourite statistical conundrums is the Monty Hall problem. The Monty Hall problem is a brain teaser loosely based on the American television game show “Let’s Make a Deal”. It is named after its original host, Monty Hall.

The basis of the problem is simple. Let’s suppose you’re on a game show, and you’re given the choice of three doors. Behind one door is a car and behind the other two doors are goats (I am not really sure why all examples given of this problem use goats… perhaps they were freely available in 1975 to make guest appearances on game shows). So you pick a door, let’s say you decide on door number one. The game show host can see you are now profusely sweating from the brow as you contemplate the consequences of owning a goat and offers you a welcome reprieve. Being such a kind game show host, he helps you out, and opens one of the doors you didn’t choose to reveal a goat. Let us say that door was door number three. He turns to you and says, “Do you want to change your pick to door number two or stick with your original choice of door number one?” Your world has been thrown into turmoil… Why is he offering you this, surely it doesn’t matter at all? What are you going to do?

#towards-data-science #statistics #programming #python

Monty Hall meets Monte Carlo meets (Monty) Python
1.25 GEEK