News for hackers. Stuff that matters.
Re:Math Goblins by riffraff on Saturday September 18, 2021 @02:31PM (#28578249)
I can tell you why I struggle: my mind says that if I pick a door at random out of two I have the same probability of getting a goat.

So if I switch door and pick one at random it should be 50% right even if I pick the same one I had picked before.

I trust the smart people on this, but I'm going with the math goblins explanation from now on.

Re:Math Goblins by ColinWright on Saturday September 18, 2021 @02:52PM (#28578377)
> my mind says that if I pick a door at random out of two I have the same probability of getting a goat.

In the proper setup of the problem, at no point do you pick a door at random out of two.

You start with three doors.

* You choose one, and you have a 1/3 chance that you have picked the car.

* There is a 2/3 chance that the door is behind one of the other doors.

Now, and this is a key point, Monty knows where the goat is.

* Of the other two doors, he can choose one that hides a goat. That doesn't affect your chance of being right, which remains at 1/3.

* Of the other two doors, he does choose one that hides a goat. That doesn't affect your chance of being right, which remains at 1/3.

* Of the other two doors, he opens one that hides a goat. That doesn't affect your chance of being right, which remains at 1/3.

Now there is one other unopened door.

* The chance that the door you chose holds the car remains at 1/3;

* The chance the car is behind one of the other two doors is 2/3;

* One of those two doors has been opened!

So the other closed door has a 2/3 chance of holding the car.

Re:Math Goblins by cortesoft on Saturday September 18, 2021 @03:17PM (#28578512)
Yeah, my simplest explanation is the first guess you have a 1/3 chance. If you switch, you are actually just betting that you were wrong on the first guess… and there is a 2/3 chance you were wrong, so that is a good bet.
Re:Math Goblins by ColinWright on Saturday September 18, 2021 @03:18PM (#28578522)
Indeed. Looking at this from an information point of view, the fact that the host can open a door tells you nothing as to whether your first choice was right. So the chance you picked the right door is always 1/3.

The information you get is which door to open if you are allowed to switch.

Re:Math Goblins by Jensson on Saturday September 18, 2021 @03:41PM (#28578666)
The confusing part is that him opening the door doesn't reveal any new information. In most cases knowing that an event happened changes other probabilities. Or in other words, probability of A is equal to probability of A given B in this case, where A is that your initial pick is correct and B is that he opened a door with a goat. For example, lets say that he opened two doors with goats instead, then what is the probability of A, ie your first guess being correct? It is 100% of course, since it is the only door left, him opening two doors with goats revealed new information about your door.

So the argument "your first pick is always 1/3, so you should always switch" is wrong. That doesn't normally apply. It is true in this case, but not true in the general case of problems like this since probabilities change as new information is revealed.

Re:Math Goblins by ColinWright on Saturday September 18, 2021 @03:50PM (#28578738)
> The confusing part is that him opening the door doesn't reveal any new information.

It does reveal new information, just not about the door you chose.

> lets say that he opened two doors with goats instead, then what is the probability of A, ie your first guess being correct?

But you can't guarantee that he can do that. If you do guarantee that he can do that then you are giving me more information.

It's always the way, if you change the problem you change the analysis.

> So the argument "your first pick is always 1/3, so you should always switch" is wrong. That doesn't normally apply.

Just because it doesn't normally apply, that doesn't mean it's wrong in this case. It does apply in this case (as you say) and therefore it's right.

Knowing when it's right is hard, I agree.

Re:Math Goblins by jrandm on Saturday September 18, 2021 @03:42PM (#28578687)
If it helps any, you're supposed to be misled by the setup.

Monty could have asked the question as "Do you want to stick with the door you chose or do you think it's in one of the other two?" and skipped even opening one of them but that wouldn't have been as fun to watch.