by ALittleLight · 4y ago · 0 comments
1. You pick a door.
2. The host reveals a different door at random. The host has no knowledge.
3. The door the host revealed is a goat.
Should you switch or stay?
In the example you gave it's just random chance. In the Monty Hall puzzle it works out that statistically you should swap.
"Monty Fall" or "Ignorant Monty": The host does not know what lies behind the doors, and opens one at random that happens not to reveal the car. Switching wins the car half of the time.
Swapping doesn't affect the outcome, it's a 50/50 whether you swap or not.
The obvious answer is the right one - it's not possible and Monty's knowledge has no effect on the game or the strategy the player should use. Monty knowing where the prize is and opening a bad door is the same as Monty not knowing where the prize is and having randomly opened a bad door. In either case, you should switch, Monty's knowledge doesn't change things.
Another way of thinking about it - how would the participant know if Monty opened a door at random or knowingly opened a goat door? What if they thought Monty knew, but Monty had actually forgotten and just coincidentally opened a goat door? Does any of this matter? No, because Monty's knowledge doesn't effect the game or strategy.
I also wrote a quick simulation in my Javascript console which confirms what I'm claiming here.
The "pick and stay" strategy wins about a third of the time while "pick and switch" wins about two thirds - same as the original problem. Writing the code emphasizes that it is basically the same thing - Monty coincidentally reveals a goat versus knowingly reveals.
Different ways of host operation changing the outcomes are listed here: https://en.wikipedia.org/wiki/Monty_Hall_problem#Other_host_...
>"Monty Fall" or "Ignorant Monty": The host does not know what lies behind the doors, and opens one at random that happens not to reveal the car. Switching wins the car half of the time.
You’ll see that that changes it by discarding scenarios where switching is good (the prize is shown to you) but not ones where staying is bad.
But given they do open a door with a goat, the probability is the same as the regular Monty Hall problem. So the parent's point stands: it's not the host's knowledge that makes the game "work". He's leaking information by not opening your door, thus "concentrating" the 2/3 chance it wasn't behind your door into the one remaining door.
correct = numpy.random.choice(3, 10000)
(correct[correct != 1] == 0).mean()
This gives 0.49 or similar when I run it.
- 1/3 it is behind your door
- 1 host picks a goat
- switching always loses -> 1/3 chance of losing
- 2/3 it is behind one of the other two doors - 1/2 host picks the goat
- switching wins always -> 2/3 * 1/2 = 1/3 chance of winning
- 1/2 host picks the prize
- result undefined -> 1/3 chance of ending up here
So you get 1/3 wins, 1/3 losses, 1/3 undefined. So given the goat is revealed, you have a 1/2 chance to win by switching.On reflection, this makes sense. The host is indeed leaking information by not be able to pick the around the prize. If the prize is not behind your door, his choice is constrained. So his revealing it supplies information about that constraint. If he is not constrained, then you are both picking doors at random. I'm sold.
(def doors {0 :goat 1 :goat 2 :prize})
(def choose (rand-nth 3))
(defn game []
(let [choice (choose)
remaining (dissoc doors choice)
monty (rand-nth (vec (keys remaining)))]
{:choice (when (= (get doors monty) :goat) (get doors choice))
:monty (get doors monty)
:switch (when (= (get doors monty) :goat) (first (vals (dissoc remaining monty))))}))
So Monty is choosing a random door that you have not picked. When he picks the prize, the game is over and you lose. (def ten-thousand-games (repeatedly 10000 game))
(frequencies (map :choice ten-thousand-games))
;; {:goat 3309, :prize 3307, nil 3384}
(frequencies (map :switch ten-thousand-games))
;; {:goat 3307, :prize 3309, nil 3384}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.
Doesn't disallow it either. That's the problem: if you describe the problem without all necessary details, it doesn't work like the Monty Hall Problem is supposed to. If you fill in the details yourself (host never showing the prize in this case) then of course the problem becomes complete and then works like Monty Hall Problem again.
"But he could have" but he didn't.
"But does he always" but he did.
What he always does or could do in an alternative scenario are irrelevant, you are given one scenario: He reveals the goat. Don't overthink it, it's not hard, switch and double your odds or stick with it and keep the 1/3rd chance.
I agree, but this subthread is discussing a misinterpretation of the problem statement, and asking the question about whether switching still matters if the host is also picking randomly. This is showing that it does in fact matter whether the host is picking deliberately or randomly.
> I was told about this problem and the person telling it didn't say anything about that, just that you pick a door and the host opens another one which doesn't have a prize behind it. So I thought the probabilities don't change at all because the host just picked a random door. [emphasis mine]
It doesn't matter if it was at random or deliberate. It matters that a non-prize (goat in most versions) is revealed. The question is about one very specific scenario, even in what antris was originally given: The goat is revealed. In that scenario, you switch.
The OP misunderstood the problem because they forgot (as many others have in this discussion) that it's about one scenario, not about all times. If Monty selects a door at random and reveals the prize, then it's not this same scenario anymore so the odds of that situation are necessarily different over all scenarios. And if we include all possible scenarios (really, two) then the odds of winning drop, but only because you have a 100% chance of losing when he reveals the prize (or 100% chance of winning and the odds increase).
This is the fundamental misunderstanding in many of the comments. If I tell you, "We select, each day, either a prize or a tiger to put behind this door at random. Today it's the tiger. Do you open it?" You'd be a fool to open it. And over all scenarios you'd have a (if chosen uniformly) 50/50 chance of getting the prize or the tiger. But if today I tell you, "It's the prize" should you open it? There's a 100% chance it's the prize, I've told you it's the prize.
Now we can get into adversarial situations, whether I'm honest or not. But that's diving into something entirely different and makes it impossible to consider the problem statement because we'll be chasing nonsense after a few minutes. I've just told you, 100% chance it's the prize today. You should open it.
The Monty Hall problem is the same. It is one scenario, a goat is revealed. The reason or mechanism of that reveal is irrelevant. He could know it, he could not know it. He could have revealed the goat by dumb luck. Or maybe because it started kicking at the door and was too obvious not to reveal. But today, for this game show he revealed a goat. So your odds are better if you switch. And even antris' original statement presented that scenario, they just answered a different question.
If you picked the prize P(A = 1/3), then the random open is going to be Goat P(1). if you didnt pick the prize P(B = 2/3) then the random open is going to be Goat P(1/2) or Prize P(1/2)
P(Goat reveal) happens (1/3)(1) + (2/3)(1/2) = 2/3 times
P(Prize reveal) happens (1/3)(0) + (2/3)(1/2) = 1/3 times
P(you picked prize, given goat reveal) = (1/3)(1) / (2/3) = (1/2)
Everything else is overthinking.