cyprianj Blog Banner

cyprianj

The Monty Hall paradox: A clearer understanding of the game, the idea, and the logic behind it

little rant... If I were told that after undergraduate level, that I will still be faced with more complex mathematics (specifically statistics in this regard) at postgraduate level, I would not accept. What I thought I had finally escaped way back in university, was patiently waiting for me at higher level. As much as I could solve mathematical questions then, I still did not find it that interesting. The goal had always been to learn and pass it, that's all.

I could comfortably read and talk about medical stuffs, health and generally anything that is related with to biology, but not when it comes to calculations. I consider it only a want and not a need for me. However, it has turned out that practically, everything we do in one way or the other has mathematics.

What I am poised with now is theory of probability. I have been corrected countless times that theory of probability is not mathematics but rather statistics. I would not want to argue it anyway, what do I know. It is not my area of expertise, so I simply accept. I used to think that anything calculation is mathematics, I guess I was wrong. This course has so challenged me that I thought I knew nothing, not until I faced it squarely. With my the pseudo dedication and will to pass it, which of course I did well, along the line, it kind of became interesting because of the applicability of some of its theorems in solving complex real life problems.

![image.png](https://files.peakd.com/file/peakd-hive/cyprianj/23xAVXZPnyAFBNe3pTZqUi4J3bYV51Sn6t8yFeGaASuEpk3PY4zaW9cCVkVQaJPUSjRXE.png) [Jay Stewart and Monty Hall on the original version of the show let's make a deal](https://commons.wikimedia.org/wiki/File:Lets_make_a_deal_weekly_primetime.JPG)

One of the most interesting question we were poised to solve as an assignment was a question named the Monty Hall paradox. I had practically no idea of what to do and where to start from, the only thing I observed was that the question looked like a question that probably the professor must have picked from one of the topic he taught - Conditional probability. So I decided to shoot my shot. Surprisingly, I got the mathematical answer but the entire ideology behind it was quite not clear then. However, that was an Eureka moment, haha. Alright, enough of my rant, let's talk about this problem in statistics.

What is it about the Monty Hall paradox

Commonly referred to as the Monty Hall problem was a game played on the television as a show and was hosted by the man named Monty Hall way back in 1963. The show was popularly called Let's make a deal, (LMAD). Usually there are 3 doors and behind two of them are goats and one has a car. For the player, their interest is in winning the game by choosing the one that has the car behind it.

To do this, the host simply allows the participant choose any door of their choice after which the host opens another door he knows that has goat behind it. The final stage is for the participant to decide if he or she will either decide to change their mind and pick the remaining door or retain their initial choice. If you are interested in the history, feel free to read it here and also here.

Our focus today in on understanding the ideology and the game itself and how you can use a conditional probability formula to solve the question. Fortunately, there are a lot of already written explanations to the paradox. However, it will not be out of place if I also share my approach.

Here goes the question:

Suppose you’re on a game show, and you’re given the choice of three doors: Behind one door is a car; behind the others, goats. You pick a door, say No. 1, and the host, who knows what’s behind the doors, opens another door, say No. 3, which has a goat. He then says to you, "Do you want to pick door No. 2? "Is it to your advantage to switch your choice?

I posted this same question on my whatsapp status to see how people will reason out the question, but to my greatest amazement, the responses were tilting towards retaining the original position. They believed that the host might be up to a shenanigan and at the long run may may cheat them out of them their prize. I laughed reading a lot of responses, and at that moment, I understood clearly that this question is highly paradoxical and intuitive.

Probably you are also thinking the same thing as them. Well, read on and we will find out soon enough if you will stick stick to your original choice or switch position. Probability is a random experiment (an experiment whose outcome is not known in advance and mostly subject to only chance). For example, when you role a dice or flip a coin, you possibly cannot predict the outcome of what will happen when the dice or coin lands. If the event happens, then it is assigned 1 and if it does not happen, then it is 0.

![image.png](https://files.peakd.com/file/peakd-hive/cyprianj/243gBKGuoL6zAhQ1zL67ikDkwojtoNwYNRLeNCEq3KqCPfpmLn7XMHd9p1MAqeRBU6BDD.png) [Dice](https://commons.wikimedia.org/wiki/File:Dice_(11015609).jpg)

The monty hall game also can be approached through classical probability method. In classical probability, the aim is to determine the likelihood or chance of the event occurring over the number of the total possible outcomes. Let's take the dice for example, we have a total of 6 (1, 2, 3, 4, 5, 6) possible outcome when we throw it. The chance of each number appearing is 1.

So if we want to calculate the probability of obtaining for example, say the number '4', then it is 1/6. Even if it is 5, it is still 1/6 and so on. This is so because all the number have equal chance of appearing. This is simply how classical probability operates and we will see its application later when we solve the Monty Hall question above.

Besides the classical approach, just like I informed you above, I personally applied another approach in probability - the conditional probability. Condition probability as the name implies, is the type of probability that measures the probability of an event occurring, given the fact that another event has already occurred.

![image.png](https://files.peakd.com/file/peakd-hive/cyprianj/23wCdf2Biq1YnA4VrfN1s1oJ9SD8WpDGxFuJSfV6UocYSYHfwKGsAP3SgmqmkYSLdDrxR.png) [Conditional Probability](https://commons.wikimedia.org/wiki/File:Conditional_probability.png)

Similarly like the monty hall, the participant must first make a choice while the host opens the door. So to calculate the probability that the participant will win, knowing that there is already a car behind the door, using conditional probability just simply is also a right approach. Now you have an idea why I approached the monty hall question using this particular method. One event must happen for the other to happen.

So is it wise to change your mind or not?

By mere thinking without applying some principles, just relying on your instinct can actually make you make the wrong decision. As much as the experiment is still a probability, there are a still practical approaches that can increase your chances when you apply it. Your chances of winning in this case is more important, so how do we go about it?

![image.png](https://files.peakd.com/file/peakd-hive/cyprianj/23yT7Urwq9V1M5mF8LKK28tYvWTtP946hoMZ5DXohntjghY5SrAAbSpt2JxcmhZqi9vz9.png) [Chances of winning in Monty Hall](https://commons.m.wikimedia.org/wiki/Monty_Hall_problem)

Let's apply the classical approach. All things being equal, the chances of you wining the game is 1 out of 3 in all cases since you do not know behind which particular door lies the car. When you make a choice of a door, let's say door '1' without the host opening and asking you whether you want to change your mind, then the probability that you will win is 1/3 because this is the only chance that the car may be behind the door. Here, your chances of winning very low. Thus is depicted in the image above.

The remaining probability or chances that the car is behind the remaining two door is 2/3. Breaking this down, the car could also either be behind door 2 or door 3. By calculation you have {1/3 + 1/3} = 2/3. When the host who of course knows what is behind all the doors, decides to open any of the remaining two doors, for example door 3 and shows you a goat, the probability that the car will be behind the initial door '1' you have already selected did not change.

The host knows it all and will always reveal a goat no matter which door you choose. Therefore, if the car is behind door No. 1 and you chose that door, the host can choose to open either door No. 2 or door No. 3 to reveal a goat. However, if the car is behind door No. 2 or door No. 3 and you chose door No. 1, the host can only open the other door that has a goat behind it.

![image.png](https://files.peakd.com/file/peakd-hive/cyprianj/23wBbhCZzZy7TDmreihLD8iN3tugU6FjMuGSGwQfAfSLftY5cYP8MDuwPMh5djZwXb4yk.png) [Door 3 is exposed and happens to have goat behind it, hence this increases the chances of the car being behind the door '2'](https://commons.m.wikimedia.org/wiki/Monty_Hall_problem)

So, what happens is that, the probability that the car will be behind door '2' only increased by 2/3, having in mind that the host has already opened the door '3'. This is more like increasing your chances of picking the right door as compared to when you chose the first door '1'.

![image.png](https://files.peakd.com/file/peakd-hive/cyprianj/23yJ3RrHL8N4cFWqJMAFuSi4kxKYU3kPs9iM2VH2SVtEc1Vd631PPntQPh8AUsjNSi5mM.png) [The moment of decision](https://commons.m.wikimedia.org/wiki/Monty_Hall_problem)

Now you are left to decide, whether to go with the door that has 2/3 chances of win or sticking with your choice that has 1/3 chances of having the car behind it. Obviously, the best thing to do is to switch position since switching does increases your chances of picking the right door. The only situation in which you may loose is, if the car was actually behind the first door '1' you already chose, and this of course has lesser probability of occurrence when compared with door '2' with 2/3 probability.

Verdict: Switching does increases your chances of winning the game.

Let's apply conditional probability

This is more specifically the Bayes theorem. The major thing here is understanding the principle and then rightly applying the formula.

![image.png](https://files.peakd.com/file/peakd-hive/cyprianj/23swXQgUNzHCUaoqVQ7xJsMWUUjSApjCzgkGyzcvzGpiGuHbnAkuDqsV1mL1HSzFx4hUC.png) Bayes Theorem

Alright, let us approach it this way, based on the formula, we will also assign A, B, and C to the various events:

A = Event that the car is behind door A (door 1) B = Event that the car is behind door B (door 2) C = Event that the car is behind door C (door 3)

Just as we earlier explained above, the process here is almost the same, the major explanation probably needed here is to identify the conditional statements and to know how to apply it. Choosing door A, you have 1/3 chance that A has occurred while there will be a 2/3 chance that the remaining events B or C has occurred.

Once the host opens, say door C and shows you a goat, which he always do no matter the door you pick, it then means that C has occurred and the probability of this happening given that you have already selected the door A is 1/2 because the host always reveal a goat, constantly present.

Since we already know that the door C has a goat behind it, it means we are left to find the probability that the car might be behind door B given that we already know what is behind door C is goat, i.e. P[B|C], we have:

P[C] = Probability of the host showing a goat behind door C = 1/2 P[B] = Prior probability of the car being behind door B = 1/3. P[C | B] = Probability of the host revealing a goat behind door C given that the car is behind door B = 1. He will always show you a goat, hence a probability of occurrence.

In general, we will be having:

P[B|C] = P[C | B] x P[B] / P[C]

P[B|C] = 1 x 1/3 / 1/2 = 1/3 x 2/1 = 2/3

![image.png](https://files.peakd.com/file/peakd-hive/cyprianj/AJmmqPhtEA3Hs83uE4RRSnGZuZUcitQ5frcwESXUCAcq78nW5RoKBzRumJA2aQ2.png) [Monty Hall Problem - Standard probabilities](https://commons.wikimedia.org/wiki/File:Monty_Hall_Problem_-_Standard_probabilities.svg)

Therefore, the probability that the car might be behind door B given that we already know what is behind door C is goat, i.e. P[B|C] is equal to 2/3.

This clearly shows that switching puts you at an advantage of winning the game. This however does not imply that you will always win, but it gives you a better chance as when compared to you sticking to your initial choice.

The solution and approach to the monty hall problem actually has various approaches and tricks of solving it. As long as you understand the logic and apply the principle, you are most likely to arrive at the probability of 2/3 chances of the participant winning the game.

PS: I am not an expert in statistics nor mathematics, however, I have good understanding of some basic principles in theory of probability. Feel free to drop comment on any area you find confusing or not clear and we will address it together. We learn that way.

Alright, see ya.

References Understanding the Monty Hall Problem Why Humans Fail in Solving the Monty Hall Dilemma: A Systematic Review Why You Should Always Switch: The Monty Hall Problem (Finally) Explained


Return from The Monty Hall paradox: A clearer understanding of the game, the idea, and the logic behind it to cyprianj's Web3 Blog

The Monty Hall paradox: A clearer understanding of the game, the idea, and the logic behind it was published on and last updated on 27 Feb 2023.