News for hackers. Stuff that matters.
Re:Monty Hall Problem by mathgeek on Thursday June 09, 2022 @02:59PM (#31685339)
Can you elaborate on why you feel this proves that the host's knowledge is important in deciding on whether to switch after a goat is revealed from one of the two doors you haven't chosen? As far as I'm aware (but it's been a while), the host's knowledge is only important up to the point where the first door to be revealed contains a goat. All scenarios where the host reveals a prize on the first door to be opened are discarded for the sake of the problem statement (when dealing with the host being ignorant).
Re:Monty Hall Problem by jdminhbg on Thursday June 09, 2022 @04:05PM (#31686099)
Sure. This simulation shows the scenario OP described in his misunderstanding of the MHP, which is that he didn't realize the host was picking with foreknowledge of which doors were which. So if the host doesn't know that and is himself simply picking a random door (and 1/3 of the time, revealing the prize), then switching does not improve your odds.
Re:Monty Hall Problem by ALittleLight on Thursday June 09, 2022 @04:35PM (#31686486)
Foreknowledge has absolutely no effect. Again, go back to the problem I posed where Monty reveals a random door and has revealed a goat. Should you switch or not? The correct answer is that you should.

Monty's knowledge has no effect on the problem or the player's choices. What has an effect is the information the player learns from seeing the revealed door. If the player sees a goat behind the revealed door - that is the relevant information. Whether Monty was surprised or not by the revealed goat is irrelevant.

Re:Monty Hall Problem by jdminhbg on Thursday June 09, 2022 @04:41PM (#31686570)
This is just asserting the same thing over and over again. You can go upthread to the simulation to see that when you are in the "Monty showed you a goat" scenario, the results for staying and switching are equal. If you rewrite the simulation such that Monty always shows you a goat and look at the scenarios where "Monty showed you a goat" (i.e., all of them), you will see that switching wins.
Re:Monty Hall Problem by ALittleLight on Thursday June 09, 2022 @04:53PM (#31686714)
I'm not familiar with Clojure, so I can't point out the error in your simulation, but there undoubtedly is one. Here is a simulation in javascript that supports my point - https://pastebin.com/y5G4PE75

And yes, your simulation should include that Monty always shows a goat. That is given in the problem statement.

Re:Monty Hall Problem by jdminhbg on Thursday June 09, 2022 @04:59PM (#31686803)
> And yes, your simulation should include that Monty always shows a goat.

I feel like I've said this thirty times now, I'm specifically discussing a misinterpretation of the problem where Monty does not know what he's opening, so he sometimes opens a prize door. A game where Monty always opens a goat door is the original, correct Monty Hall Problem, and switching is the correct strategy.

Re:Monty Hall Problem by ALittleLight on Thursday June 09, 2022 @05:13PM (#31686975)
The parent comment that starts this thread[1] is antris writing "The fact that the show host knows what's behind the doors and never chooses a door with the prize behind it is crucial." (Emphasis added). Then, I reply[2], saying "I don't think the host's knowledge is important." I include an example where the host has no knowledge, but has coincidentally revealed a goat, and the best strategy remains switching. In other words, antris says the host's knowledge is crucial and I'm saying the host's knowledge is irrelevant, what matters is what was revealed.

If you are talking about some other scenario - then why? I've just explained what this thread is about. Why would you invent an alternate scenario, not tell anyone about your alternate scenario, and argue that correct interpretations of the scenario I laid out in [2] are wrong because they don't fit with your interpretation of your private variation?

1 - https://news.ycombinator.com/item?id=31684653

2 - https://news.ycombinator.com/item?id=31683850#31684801

Re:Monty Hall Problem by icambron on Friday June 10, 2022 @01:56AM (#31690565)
You are misunderstanding conditional probability. You keep doubling down on the idea that the alternative scenarios don’t matter, but this is mistaken. They very much matter. They are the crux of how Monty Hall “works”.

Bayes’ theorem is the relevant piece of information here. It tells us the relationship between a conditional probability and the information you have. Specifically, the probability of P(door 3 has the prize | host opened door 2 and found a goat) depends in a very important way on P(host opened door 2 and found a goat). You are acting as though it does not, that only the specific current state matters. This is the cause of your confusion: everyone else is working out the conditional probabilities and you are declaring them irrelevant.

The key is that if the host doesn’t know where the prize is, he can’t avoid picking the door its behind. This changes the probability that he would open that door and reveal a goat in the first place, and how that relates to the various places the prize could be. It would be really strange if the host’s behavior were in some way controlled by the location of the prize and this didn’t give you additional information on that location.

To spell it out:

You choose door 1, the prize is behind door 3, host opens door 2

Prop A: the prize is behind door 3

Prop B: the host opens door 2 and found a goat

P(A|B) = P(B|A)P(A) / P(B)

P(A) = 1/3 in either scenario

In regular Monty Hall, the host will open door 2 always if the prize is behind 3, and half the time it is behind 1. So:

P(B) = (1/2)(1/3) + 1/3 = 1/2

P(B|A) = 1

Thus P(A|B) = (1/3)/(1/2) = 2/3. You’ll recognize this as the answer to Monty Hall. Note that conditional probability is foundational to how we got that answer.

Let’s try with the new rules. The host can pick either door, whether it has a goat or not. He can do this because he doesn’t even know which door is which. The host opens 2 half the time. 2/3 of the time he picks that, the prize is not behind it, so he finds a goat.

P(B) = (1/2)(2/3) = 1/3

P(B|A) = 1/2

P(A|B) = (1/3)(1/2)/(1/2) = 1/2

Re:Monty Hall Problem by jdminhbg on Thursday June 09, 2022 @05:18PM (#31687024)
You should update the Wikipedia article that is linked as the OP, since you disagree with its conclusions: https://en.wikipedia.org/wiki/Monty_Hall_problem#Other_host_...

If you scroll down to "Monty Fall," the description of the problem is "The host does not know what lies behind the doors, and opens one at random that happens not to reveal the car" and the solution is "Switching wins the car half of the time." (This is the result demonstrated in my simulation)

Re:Monty Hall Problem by colinmhayes on Thursday June 09, 2022 @03:14PM (#31685517)
So if the host can reveal a prized door your odds are 1/3 prize, 1/3 goat, 1/3 redo. So each door has a 50% chance of having the prize after Monty reveals a goat door. Basically the game is just reduced to having 2 doors instead of your choice vs. all other doors.