For you to explain this to me, I figure you should probably already be familiar with it, so I won't go into detail. However I'll give a short synopsis (and yes I became interested in the problem because of the scene in the movie
21 but I have researched it beyond that and it still makes my head hurt).
You're on a game show. Before you are three doors. Behind one of the doors is a car and behind the other two: goats. You're asked to select a door.
[I want to add here that I fully understand that whatever choice you make at this point, your chance of being correct is 33.3 percent.] Now, you've made your choice, It is at this point that you realize a new condition: the game show host is cognizant of the car's location. He decides to open one of the doors that houses a goat. So, there were three options, one winning and two losing. However the host has eliminated one of the losing options. You now have one winning and one losing selection left.
The 'solution' to the problem is now that the host has revealed the location of one of the losing selections, it's in your interest to switch (e.g. if you pick door 1, he reveals door 3 to be a goat, it's in your interest to switch from 1 to 2). This is what I don't understand. According to Wikipedia a lot of people were flabbergasted like me that you had a better chance by switching (as apparently switching increases your odds to 66.7 percent). I understand that I'm wrong but not how I'm wrong.
I had a 33.3 percent chance. One of the wrong choices was eliminated, so there's now one winning and one losing proposition. Why is it not 50 percent regardless of whether or not I switch?
My brain is so fried right now. I've read the Wiki page a couple of times now and my mind is just numb. I'm going to go take a walk or something.D:
Posts
There are 3 choices each with 2 possible outcomes:
(after your initial choice one goat door is revealed, you then change or stick)
- You choose a goat:
Stick = goat
Change = car
- You choose a goat:
Stick = goat
Change = car
- You choose a car:
Stick = car
Change = goat
As you can easily see, 2 out of 3 times changing gives you a car, where as only 1 time in 3 does sticking give you the car.
I mean, I get it when you explain it like that but honestly if you asked me the question in another form I'd probably still answer in the negative if I didn't write it out like that.
God ingrained thinking sucks.
- You choose a car:
Stick = car
Change = stick
If you chose the car and you change you get the goat.
(* - door picked by contestant, ! - door opened by Monty.)
So while on the face of it, it seems like it's a 50/50 shot, it's actually to your advantage tp switch because in two out of the three scenarios, you'll win.
Seems counterintuitive, I know.
The thing is that there are still three doors - just one is removed from contention. (It helps if you uniquely identify the goats.)
why are there 3 choices when one door is already open and shown to be a wrong answer? (goat)
how would this work given 4 doors to begin with?
If you still don't get it read The Curious Incident of the Dog in the Night Time. Good book about both math, autism, and mysteries involving murdered poodles.
3.
Just because one has now been removed, the probability is still worked out on 3 doors. Think about it, there is a 66.6% chance you picked a goat initially, which means you have the same odds of getting the car if you switch.
Because the two goats aren't the same.
Again, the matrix of possibilities:
As you can see, just because Monty eliminates a bad choice from contention doesn't change that there are three underlying possibilities, not two.
I'm really just retreading the ground laid down by Rami here, but basically:
Originally, you chose either a goat or a car. There are three doors. Three possible decisions. You either chose Goat A, Goat B, or a car.
Remember the host knows where everything is, and will always remove one goat after you have made your first choice.
Your possible moves:
You chose Goat A originally, the host removes Goat B, and switching will get you the car. If you stick, you get a goat.
You chose Goat B originally, the host removes Goat A, and switching will get you the car. If you stick, you get a goat.
You chose the car originally, the host removes a goat, and switching will get you a goat. If you stick, you get a car.
Two of these will get you a car if you switch. This means that switching will give you a 66.6% chance of getting a car.
Note that this is only true because we know that the host knows the position of the car, and will not remove it.
This confused the fuck out of me the first time I saw it, too :P
@gamefacts - Totally and utterly true gaming facts on the regular!
You choose one, he opens 98 doors and reveals 98 goats.
There are two doors left. Do you switch?
99 doors out of 100 have a goat, 1 has a car. You make your selection, and the game host reveals 98 of the other doors to have goats behind them, leaving your selection and one other door closed. Do you switch?
DAMMIT
Am I doing this right?
Yes that's a good way to understand why it's correct, then you can actually look at the maths and really understand it.
Whats happening after the host removes a goat door and there are 99 left? You get to switch? Switch to what? Door of your choice? Your odds at that point of switching to a goat are huge, but they get smaller as each door is removed, right? but at the end of it you'll get to 4 doors left, 75% chance of a goat, 66.7% chance you'll have a goat after a goat door is removed, beacuse obviously you cant pick or switch to a door that was removed. Then you still get to "3 doors left, odds your door is a goat is 66.7%" same thing happens: you know a goat door is going to be removed and the odds that your door is a goat after that happens is 50%
Sure your odds of having a goat are 99% when you start, but you've got too many door choices to switch to at that point. you're not getting an option to magically reverse your odds from 1% to 99% at 100 doors left, and you're not getting it at 3 doors left either. Maybe you've got a goat, maybe you dont. The beauty of it at that point is you cant switch from a goat to a goat, because you only get to choice to switch once two doors are left, at which point anything that happened before you got to 2 doors left is irrelevant. You've got two doors left, you either already have the car, in which case you'll switch to a goat and cry, or you've got the stupid goat already and you switch to the car. It's 50/50
The host isnt part of the odds, he's not a machine removing doors in a specific pattern or way, but he cant fuck with you. He removes a goat door each and evertime without fail, because those are the rules of the game. The only way this whole switching to get 66.7% chance thing works is if you're not revealed the contents of the door that is removed when there are 3 left, and you assume it was a goat. Clearly you do assume so, since removing the car would be fairly mean spirited of the host. If you're the one picking the door to remove on the other hand, your odds of getting the car could just as easily be 0%
And lets not forget these are still just odds, you dont instantly fucking win -_-
This entails the host opening all but two doors in one shot after the contestant picks a door though, and not one at a time with something happening after each one as I'd depicted earlier. At the end you're faced with 2 doors that are closed, and a ton that are (supposedly) open, revealing goats. Out of the original pool your odds of picking a goat are huge, and those odds carry over once you're down to a minimal number of doors (2), assuming you didnt get the option to switch at anytime beforehand. Since there are only two options left, the other door is forcibly the prize, unless you got incredibly lucky with your first pick, hence the better odds on the switch.
It makes sense now, you're just led to assume that the odds are 50/50 once you've got two doors left because the odds you picked the prize door to begin with are not astronomical. If you had 2 doors to begin with Switching would change nothing, but if you've got a shitton of doors to pick from at the start, what are the odds that you picked the prize? Pretty damn shitty. Then the host tells you that he's eliminating 99% of the wrong doors and offering you a switch? Yes please.
You are wrong.
How was that necessary?. It's not like I myself admited to being wrong a few mere inches to the bottom of your screen or anything. -_-
First, as you mentioned in the OP, the host must know where the car is. If he doesn't know where the car is it's possible for him to open the door with the car behind it, which changes the possibilities people have enumerated already. If that's the case then the odds for switching are 50/50 after all.
Second, the host must always open a door with a goat and then offer the player the opportunity to switch doors. If the host is not required to do this, the odds of winning by switching can be anything at all depending on how he chooses when to offer the switch. If he only offers the switch when the player chose the car then switching will always lose; likewise if he only offers it when the player chose a goat (and the host knows where the car is so he can reveal the other goat) then switching will always win. Naturally he can make whatever ratio he wants by choosing the right mix of the two options.
There are two goats in play. You have selected one of them. Monty has to reveal one, so he will reveal the other goat. If you switch now, the door you switch to has the car.
Now remember, the probability of you picking a goat originally is 2 out of 3, so 66.7%. Therefore if you always switch, your probability of winning is 66.7%.
Now let's consider the situation if you NEVER switch. If you NEVER switch your choice, then the only way to win is to pick the correct door (the door with the car) right at the beginning. Because there is one car and two goats, you only have a 33% chance of doing that.
This is exactly the way I started to understand it, then I got into the maths involved and it made perfect sense.
If you are going to switch doors and LOSE you need to have picked the correct door initially. The odds of doing that is 1/3.
If you are going to switch door and WIN you need to have picked the wrong door initially. The odds of doing that is 2/3.
It is more likely that you picked the wrong door first, so you should always switch doors.
A great book on the subject with all sorts of real life probabilities explained to people who don't have a degree in maths. Struck By Lightning. Anyone who's found this problem interesting, or slightly vexing would enjoy it.
I remember reading something once that this was originally published in a maths journal, and a ton of respected mathematicians wrote in to argue that it was 50/50.
@gamefacts - Totally and utterly true gaming facts on the regular!
Well, that's hardly an assumption, if you reveal the car, then the question of switching goes away, because you lose. It doesn't change the odds but completely breaks the game.
I'm not sure what you even mean by this, except that again you'd be breaking what the problem is actually demonstrating.
You're right that the game would be much less interesting if the host revealed the car, but the assumption that he never will is very important to the logic.
Let's suppose the host must open one of the other two doors, but doesn't know where the car is. There are 18 possible ways the game can play out, 6 for each of the three doors the car can be behind. Since the three doors are identical we'll only look at the situations where the car is behind door one, as the logic works out the same for the other two doors as well. Red is the door the contestant picks first, and yellow is the door the host opens. By elimination, white is the door the contestant can switch to.
cgg
cgg
cgg
cgg
cgg
cgg
Since the problem states the host reveals a goat we eliminate the two outcomes where the host reveals a car leaving us with
cgg
cgg
cgg
cgg
Thus, if the host doesn't have to always reveal a goat the fact that he did doesn't give any new information about the other unpicked door. This is in contrast to the intended problem, where 2/3 of the time the host is forced to reveal a particular door, thus giving us information about the door he didn't reveal.
Just to be clear, I'm not disputing the solution to the normal problem; I'm merely clarifying the conditions under which it holds.
The only thing that changes if Monty doesn't know where the car and can thus reveal the car is that in some cases you don't get a chance to switch and then you lose straight up. But in the cases where the car isn't revealed by accident, switching remains the best decision.
If you increase the number of doors, from 3 to 100 and Monty reveals 98 goats are you seriously telling me that it's only if Monty knows where the car is, rather than a run of chance wherein he avoids opening the car door, that it's an even bet whether you switch or don't? Because if you are saying that, then you are wrong.
The fact that Monty will always open a goat door is what makes it the optimal solution to always switch. If we do not know that he will then you cannot arrive at the 2/3 - that's a bunch of maths that I don't have time for right now.
@gamefacts - Totally and utterly true gaming facts on the regular!
This is wrong.
If Monty does not open a door, or Monty opens a door and it happens to be the car, or any other situation where you have the option to switch and less doors in the game than when you made your choice then it is always beneficial to switch.
Any deviation from the "You choose from X doors, Monty reveals Y doors, there are now X-Y doors in play which may hide the car" where Y > 0 tells us nothing about whether or not switching is the optimal strategy.
Any case where the above conditions are upheld, switching is always the best strategy - it doesn't matter whether Monty knows where the car is, or does not, it doesn't matter whether Monty always opens doors or only sometimes opens doors. In the cases where the above holds true, you switch, unless you hate probability.
This program is not optimized, but it illustrates the properties of the problem. The program always assumes the user picks door 0 and that the user will always switch.
I ran the scenarios a million times. In the first scenario, the host knows where the car is. In the second, he doesn't. These are the results with 3 doors:
So about a third of the time, the host will show you where the car is. The other 2/3 times, you have a 50/50 shot of picking the car. This is also true with 50 doors. Or 100. The only thing that changes with more doors in scenario 2 is how often a car is revealed:
Here's the code. Again, this is not optimized - there are obvious shortcuts that will get the same results. But I think this better illustrates the properties of the problem.
Response forthcoming.
Most illustrations of the problem look like this. Where X's indicate revealed doors, and *'s indicate player choice, S indicates times switching is helpful. The question of which goat is revealed is irrelevant, hence why there are nine rather than twelve switch scenarios considered.
Now, if we allow Monty to also reveal the car, then things remain the same, it's just that there is also a possibility that you don't get to switch.
Now, the way you make things 50/50 for switching is by deciding that the goat which it revealed does matter.
At which point we add
And we get another three situations in which it is not advantageous to switch.
Now, the problem here, as with your program is that which goat you reveal doesn't matter, what matters is what is behind the door you've chosen. You'll note that if Monty knows, and thus does not reveal cars, that this issue still comes up, so it has nothing to do with whether or not Monty knows which door is which.
So, if you're arguing that it's 50/50 in the case that Monty doesn't know where the door is, then you're arguing that which goat is shown, rather than which door is opened is the relevant factor and that the way of modelling the solution that gives 2/3 is wrong.
This might be a good way to win monies.
It is ESSENTIAL to the problem that Monty knows where the car is and has to open a door which does not contain the car. If he just picks at random from the remaining doors, then the chances that the player will lose will go up to 66% (assuming you switch every time), since (like I said above) The player picks the car 33% of the time (lose), the player picks a goat and Monty shows the car 33% of the time (lose), and the player picks a goat and Monty shows a goat 33% of the time (win.)
I'm not saying it's an even bet if he shows the goat (you're better off switching,) but it's a stupid and pointless discussion given that the essential part of the game is that if one of the remaining prizes is the car, he CAN'T show it!
The event you're making odds for is the game strategy of winning by switching
The event most people try to make odds for is act of opening a door with a car behind it.
You have a 2 in 3 chance of winning by switching even though you have have a 1 in 2 chance of choosing a door with a car behind it.
The initial odds you are wrong (66.6^%) are the odds you are right if you switch.
That doesn't change when more information is revealed - it just makes it in your favor to switch, since you are now looking at one choice that will be right 66% of the time. Had he not revealed a door, switching would be pointless - the odds of the payoff (1 in 3) would still be the same as the odds of the play. ( the other 66% chance of car would be split between the two unselected doors)
But with the door revealed, you're being offered a choice between the door you're on - 33% chance of car, since revealing the goat doesn't change the odds you selected at initially - and the other door. Which "holds" the rest of the chance of car. It's as though he flipped a card up in a game of poker.
I host a podcast about movies.
For the sake of completeness I'll list out all the possible ways the game can play out, assuming the host must reveal a door other than the one the player chose and he doesn't know where the prize is. I'll append a p to the instances where the host reveals the prize.
Taking out the situations where the host reveals the prize, we get a 50/50 chance for switching (or staying).
In the case where the contestant initially picks the prize (the last three situations you mention), it's not that it matters which goat the host reveals but rather that he has two doors he can open in that situation just like he does for every other configuration. The only difference between them is that, assuming the player always switches, having two goats gives two ways the player can lose, while when the contestant doesn't pick the prize door he can only win if the host doesn't reveal the prize. That of course is balanced by there being twice as many configurations where the player doesn't pick the door with the prize behind it, giving an overall chance of 50/50 for switching.
Addressing one possible point of contention, looking at my chart above it might seem to support there being a 50/50 chance in the standard can't-reveal-the-car variation, and thus there being something wrong with it. However, consider each of the 9 starting configurations (prize door + contestant initial choice combination; each configuration is a pair of lines). Assuming the contestant choice is random each of the configurations is equally likely at 1/9. Now the host picks one of the two doors; let's say we had starting configuration 1. Lines 1 and 2 are the possible results, and each of them has 1/18 chance of happening.
By contrast, configuration 2 results in lines 3 and 4. Since this is the can't-reveal-the-car version, line 3 can't happen. That means that every time configuration 2 occurs, the result is line 4. Since configuration 2 has 1/9 chance of happening, so does line 4. Thus line 4 (as well as line 5) has the same weight as lines 1 and 2 combined, giving us the expected 2/3 chance when switching.