Monty hall problem
Copyright notice |
---|
This article Monty Hall problem (in Monty Hall Problem) was adapted from an original article by Richard David Gill, which appeared in StatProb: The Encyclopedia Sponsored by Statistics and Probability Societies. The original article ([http://statprob.com/encyclopedia/MontyHallProblem.html StatProb Source], Local Files: pdf | tex) is copyrighted by the author(s), the article has been donated to Encyclopedia of Mathematics, and its further issues are under Creative Commons Attribution Share-Alike License'. All pages from StatProb are contained in the Category StatProb. |
2010 Mathematics Subject Classification: Primary: 60-XX [MSN][ZBL]
Contents
Introduction
Imagine you are a guest in a TV game show. The host, a certain Mr. Monty Hall, shows you three large doors and tells you that behind one of the doors there is a car while behind the other two there are goats. You want to win the car. He asks you to choose a door. After you have made your choice, he opens another door, revealing a goat. He then asks you whether you want to stay with your initial choice, or switch to the remaining closed door. Would you switch or stay?
The host, naturally, knows in advance which of the three doors hides the car. This means that whatever door you initially choose, he can indeed open a different door and reveal a goat. Stronger still: not only can he do this; you also know he certainly will do this.
The instinctive, but incorrect, answer of almost all newcomers to the problem is: "Stay, since it is equally likely that the car is behind either of the two closed doors".
However, under very natural assumptions, the good answer is "Switch, since this doubles my chance of winning the car: it goes from one third to two thirds".
Because of this conflict the Monty Hall problem is often called the Monty Hall paradox.
The key to accepting and understanding the paradox is to realize that the (subjective) probabilities relevant for the decision are not determined by the situation (two doors closed) alone, but also by what is known about the development that led to this situation. In statistical terminology, the data is not an unordered set of two closed doors, but an ordered set, where the ordering corresponds to the roles of the closed doors: the one chosen by you, and the one left un-chosen by the host. We have to model the data-generating mechanism as well as the data.
There are several intuitive arguments why switching is a good stategy. One is the following. The chances are 1 in 3 that the door initially chosen hides the car. When that happens staying is good, it gives the car. Both of the other two doors hide goats; one is revealed by the host, but switching to the other door just gives the other goat. Complementarily to this, the chances are 2 in 3 that the door initially chosen hides a goat. When that happens, staying is not good: it gives a goat. On the other hand, switching certainly does give the car: the host is forced to open the other door hiding a goat, and the remaining closed door is the door hiding the car.
In many repetitions, one third of the times the stayer will win and the switcher will lose; two thirds of the time the stayer will lose and the switcher will win.
The (wrong) intuitive answer "50--50" is often supported by saying that the host has not provided any new information by opening a door and revealing a goat since the contestant knows in advance that at least one of the other two doors hides a goat, and that the host will open that this door or one of those doors as the case may be. The contestant merely gets to know the identity of one of those two. How can this "non-information" change the fact the remaining doors are equally likely to hide the car?
However, precisely the same reasoning can be used against this answer: if indeed the host's action does not give away information about what is behind the closed doors, how can his action increase the winning chances for the door first chosen from 1 in 3 to 1 in 2? The paradox is that while initially doors 1 and 2 were equally likely to hide the car, after the player has chosen door 1 and the host has opened door 3, door 2 is twice as likely as door 1 to hide the car. The paradox (apparent, but not actual, contradiction) holds because it is equally true that initially door 1 had chance 1/3 to hide the car, while after the player has chosen door 1 and the host has opened door 3, door 1 still has chance 1/3 to hide the car.
The Monty Hall problem became internationally famous after its publication vos Savant (1990) in a popular weekly magazine led to a huge controversy in the media. It has been causing endless disputes and arguments since then.
The origins of the problem
The Monty Hall problem, also known as the as the Monty Hall paradox, the three doors problem, the quizmaster problem, and the problem of the car and the goats, was introduced by biostatistician Steve Selvin (1975a) in a letter to the journal The American Statistician. Depending on what assumptions are made, it can be seen as mathematically identical to the Three Prisoners Problem of Martin Gardner (1959a,b). It is named after the stage-name of the actual quizmaster, Monty Halperin (or Halparin) of the long-running 1960's TV show "Let's make a Deal". Selvin's letter provoked a number of people to write to the author, and he published a second letter in response, Selvin (1975b). One of his correspondents was Monty Hall himself, who pointed out that the formulation of the Monty Hall problem did not correspond with reality: in reality, Monty only occasionally offered a player the option to switch to another door, and he did this depending on whether or not the player had made a good or bad initial choice.
The problem, true to reality or not, became world famous in 1990 with its presentation in the popular weekly column "Ask Marilyn" in Parade magazine. The author Marilyn Vos Savant, was, according to the Guiness Book of Records at the time, the person with the highest IQ in the world. Rewriting in her own words a problem posed to her by a correspondent, Craig Whitaker, vos Savant asked the following:
"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?".
Vos Savant proceded to give a number of simple arguments for the good answer: switch, it doubles your chance of winning the car. One of them was the previously mentioned argument that a stayer wins if and only if a switcher loses. A stayer only wins one third of the time. Hence a switcher only loses one third of the time, and wins two thirds of the time.
Another intuitive reasoning is the following: one could say that when the contestant initially chooses door 1, the host is offering the contestant a choice between his initial choice door 1, or doors 2 and 3 together, and kindly opens one of doors 2 and 3 in advance.
By changing one aspect of the problem, this way of understanding why the contestant indeed should switch may become even more compelling to the reader. Consider the 100-door problem: 99 goats and one car. The player chooses one of the 100 doors. Let's say that he chooses door number 1. The host, who knows the location of the car, one by one opens all 99 of the other doors but one -- let's say that he skips door number 38. Would you switch?
The simple solutions often implicitly used a frequentist picture of probability: probability refers to relative frequency in many repetitions. They also do not address the issue of whether the specific door opened by the host is relevant: if the player has initially chosen door 1, could it be that the decision to switch should depend on whether the host opens door 2 or door 3? Intuition says no, but we already saw that naive intuition can be misleading.
These topics are taken up in the next section.
A more refined analysis
Marilyn vos Savant was taken to task by Morgan, Chaganty, Dahiya and Doviak (1991a), in another paper in The American Statistician, for not computing the conditional probability that switching will give the car, given the choice of the player and which door was opened by the host. Possibly with a frequentist view of probability in mind, Morgan et al. took it for granted that the car is hidden uniformly at random behind one of the three doors, but did not assume that the probability that the host would open door 3, rather than door 2, given that player has chosen door 1 and the car is behind door 1, is one half. Vos Savant (1991) responded angrily in a letter to the editor. Further comments were given by Seymann (1991), Bell (1992) and Bhaskara Rao (1992), then (after a long pause) Hogbin and Nijdam (2010), followed by a final response Morgan et al. (2010). This last note incidentally finally revealed Craig Whitaker's original wording of the problem in his letter to vos Savant: "I've worked out two different situations based on whether or not Monty knows what's behind the doors. In one situation it is to your advantage to switch, in the other there is no advantage to switch. What do you think?" (spelling and grammatical errors corrected by RDG).
The solution to be given in this section takes explicit account of which door was opened by the host: door 2 or door 3 -- and does so in order to argue that this does not change the answer. This is probably the reason why lay persons on hearing the simple solutions of the previous section, do not see any need whatsoever for further analysis. Having seen that the strategy of "always switching" gives a success rate of 2/3, while "always staying" gives a success rate of 1/3, there seems little point in pondering whether or not the success rate of 2/3 could be improved.
This is mathematically a true fact, given the only probabilistic assumption which we have made (and used) so far: initially all doors are equally likely to hide the car. However, a really short rigorous and intuitive proof of this fact does not seem to exist.
Let's make a more careful analysis, in which a further (natural) assumption will indeed be used. In this section, probability is used its daily-life Bayesian or subjective sense: that is to say, probability statements are supposed to reflect the state of knowledge of one person. That person will be a contestant on the show who initially knows no more than the following: he'll choose a door; the quizmaster (who knows where the car is hidden) will thereupon open a different door revealing a goat and make the offer that the contestant switches to the remaining closed door. The argument will be kept intuitive or informal, however the student of probability theory will be able to convert every step into formal mathematics, if the need is felt to do so.
For our tabula rasa contestant, initially all doors are equally likely to hide the car. Moreover, if he chooses any particular door, and if the car happens to be behind that particular door, then as far as this contestant is concerned, the host is equally likely to open either of the other two doors.
The contestant initially chooses door number 1. Initially, his odds that the car is behind this door are 2 to 1 against: it is two times as likely for him that his choice is wrong as that it is right.
The host opens one of the other two doors, revealing a goat. Let's suppose that for the moment, the contestant doesn't take any notice of which door was opened. Since the host is certain to open a door revealing a goat whether or not the car is behind door 1, the information that an unspecified door is opened revealing a goat cannot change the contestant's odds that the car is indeed behind door 1; they are still 2 to 1 against.
Now here comes the further detail which we will take account of in this solution: the contestant also gets informed which specific door was opened by the host -- let's say it was door 3. Does this piece of information influence his odds that the car is behind door 1? No: from the contestant's point of view, the chance that the car is behind door 1 obviously can't depend on whether the host opens door 2 or door 3 -- the door numbers are arbitrary, exchangeable.
Therefore, also knowing that the host opened specifically door 3 to reveal a goat, the contestant's odds on the car being behind his initially chosen door 1 still remain 2 to 1 against. He had better switch to door 2.
Explicit computations
Students of probability theory might feel uneasy about the informality (the intuitive nature) of the last argument. Ordinary people's intuition about probability is well known to be often wrong -- after all, it is ordinary intuition which makes most people believe there is no point in switching doors! To feel more secure, students of probability theory might consider the mathematical concept of symmetry and use the law of total probability to show how symmetry leads to statistical independence between the events "Car is behind door 1" and "Host opens door 3" when it is given that the contestant chose door 1. Alternatively, they might like to explicitly use Bayes' theorem, in the form known as Bayes' rule: posterior odds equals prior odds times likelihood ratio (aka Bayes factor). They just have to check that under the two competing hypotheses (whether or not the car is behind the door chosen by the contestant, door 1), the fact that it is door 3 (rather than door 2) which gets opened by the host has the same probability 1/2.
Either of these routes can be used to convert the last step of the argument in the previous section into a formal mathematical proof.
An alternative approach is to use symmetry in advance to dispose of the door-numbers. Suppose without loss of generality (since later we will condition on its value anyway) that the contestant's initial choice of door number $X$ is uniformly distributed over the three door numbers $\{1,2,3\}$. Independently of this, the car is hidden behind door $C$, also uniformly at random. Given $X$ and $C$, the host opens door number $H$ uniformly at random from the door numbers different from both $X$ and $C$ (in number, either one or two). Let $Y$ be the remaining closed door, so $(X,H,Y)$ is a random permutation of $(1,2,3)$. By symmetry it is uniformly distributed over the set of six permutations. We know that either $C=X$ or $C=Y$ with probabilities 1/3 and 2/3 respectively. By symmetry, the conditional probability that $C=X$ given the value of $(X,H,Y)$ -- one of the six permutations of $(1,2,3)$ -- cannot depend on that value and hence the event $\{C=X\}$ is statistically independent of $(X,H,Y)$.
The actual numbers of door chosen and door opened are irrelevant to deciding whether to switch or stay.
Note the use of the trick of symmetrization -- randomization over the door initially chosen -- in order to simplify the mathematical analysis.
Almost all introductory statistical texts solve the Monty Hall problem by computing the conditional probability that switching will give the car, from first principles. Arguments for the chosen assumptions, and for the chosen approach to solution, are usually lacking. Gill (2011) argues that Monty Hall can be seen as an exercise in the art of statistical model building, and actually allows many different solutions: as one makes more assumptions, the conclusions are stronger but the scope of application becomes smaller; moreover, the meaning and the meaningfulness of the assumptions and of the result are tied to the user's interpretation of probability. The task of the statistician is to present a menu of solutions; the user is the one who should choose according to his resources and wishes. Rosenthal (2005, 2008) is one of the few who at least uses Bayes' rule to make the solution more insightful.
Variations
Many, many variations of the Monty Hall problem have been studied in the enormous literature which has grown up about the problem. The book Rosenhouse (2010) is a good resource, as are also the wikipedia pages on the topic. We just consider two variations here.
The biased host
Morgan et al. (1981)'s main innovation was to allow the host to have a bias to one door or the other. Suppose that when he has a choice between doors 2 and 3, he opens door 3 with probability $q$. The Bayes factor for the hypotheses that the car is or is not behind door 1 therefore becomes $q:1/2$. The prior odds were $1:2$ so the posterior odds become $q:1$. This can be anything between $0:1$ and $1:1$, but whatever it is, it is not unfavourable to switching. A frequentist player who knows that the car has been hidden by a true uniform randomization, but does not know anything about the probabilistic nature of Monty's brain processes with regards to choosing a door to open, should switch anyway. He does not actually know the conditional probability that switching gives him the car, but he does know the unconditional probability is 2/3.
Game theory
In the literature of game theory and mathematical economics, starting with Nalebuff (1987), the Monty Hall problem is treated as a finite two stage two person zero sum game. The car is hidden by the host (in advance), the contestant independently chooses a door. The host opens a door revealing a goat. The contestant is allowed to choose again. The contestant wants to win the car, the host wants to keep it. If we allow the two "game-players" (host, contestant) randomized strategies, then according to von Neumann's minimax theorem, they both have a minimax stategy, and the game has a value say $p$, such that if the contestant uses his minimax strategy, then whatever strategy is used by the host, the contestant will go home with the car with probability at least $p$; while on the other hand, if the host uses his minimax strategy, then whatever strategy is used by the contestant, the contestant will go home with the car with probability at most $p$.
It is not difficult to show, and symmetry is one way to establish this, that the minimax strategy of the host is: hide the car uniformly at random, and open either door with equal chance when there is a choice. The minimax strategy of the contestant is: choose a door uniformly at random and thereafter switch, regardless of the which door is opened by the host.
With his minimax strategy the contestant wins the car with probability $2/3$ exactly, whatever strategy is used by the player. With the host's minimax strategy, the contestant can't do better than $2/3$ (random initial choice and thereafter switch).
A wise player would be recommended to choose a door number in advance, at home, by a fair randomization, and later switch. He'll get the car with probability $2/3$, he cannot do better, and his ego won't be damaged when his initial choice turned out to have been right and yet he switched and lost the car.
References
[1] | Bell, W. (1992), Comment on Morgan et al. (1991a), Am. Statist.\/ 46 241. |
[2] | Bhaskara Rao, M. (1992), Comment on Morgan et al. (1991a), Am. Statist.\/ 46 241--242. |
[3] | Gardner, M. (1959a), "Mathematical Games" column, Scientific American, October 1959, 180--182. Reprinted in {\it The Second Scientific American Book of Mathematical Puzzles and Diversions}. |
[4] | Gardner, M. (1959b), "Mathematical Games" column, Scientific American, November 1959, p. 188. |
[5] | Gill, R.D. (2011), The Monty Hall Problem is not a Probability Puzzle -- it's a challenge in mathematical modelling, Statistica Neerlandica 65 58--71. |
[6] | Hogbin, M. and Nijdam, W. (2010), Letter to the editor, Am. Statist.\/ 64 193. |
[7] | Morgan, J. P., Chaganty, N. R., Dahiya, R. C., and Doviak, M. J. (1991a), Let's make a deal: The player's dilemma, Am. Statist.\/ {\bf 45\/} 284--287. |
[8] | Morgan, J. P., Chaganty, N. R., Dahiya, R. C., and Doviak, M. J. (1991b), Rejoinder to Seymann's comment on "Let's make a deal: the player's dilemma", Am. Statist.\/ {\bf 45\/} 289. |
[9] | Morgan, J. P., Chaganty, N. R., Dahiya, R. C., and Doviak, M. J. (2010), Response to Hogbin and Nijdam's letter, Am. Statist.\/ 64 193--194. |
[10] | Nalebuff, B. (1987), Puzzles: Choose a curtain, duel-ity, two point conversions, and more, J. Econ. Perspectives\/ 1 (2) 157--163. |
[11] | Rosenhouse, J. (2009), The Monty Hall Problem, Oxford University Press. |
[12] | Rosenthal, J. S. (2005), Struck by Lightning: The Curious World of Probabilities. Harper Collins, Canada. |
[13] | Rosenthal, J. S. (2008), Monty Hall, Monty Fall, Monty Crawl, Math Horizons\/ {\bf 16\/} 5--7. http://probability.ca/jeff/writing/montyfall.pdf |
[14] | Selvin, S. (1975a), A problem in probability (letter to the editor), Am. Statist. 29 67. |
[15] | Selvin, S. (1975b), On the Monty Hall problem (letter to the editor), Am. Statist.\/ {\bf 29\/} 134. |
[16] | Seyman, R. G. (1991), Comment on "Let's make a deal: the player's dilemma", Am. Statist.\/ 64 287--288. |
[17] | vos Savant, Marilyn (1990), "Ask Marilyn" column, Parade Magazine, 9 September 1990, p.16. |
[18] | vos Savant, Marilyn (1991), Letter to the editor "Marilyn vos Savant's reply", Am. Statist.\/ 45 347. With response by Morgan, Chaganty, Dahiya and Doviak, pp. 347-348. |
Three door problem. Encyclopedia of Mathematics. URL: http://encyclopediaofmath.org/index.php?title=Three_door_problem&oldid=37935