by antris · 4y ago · 0 comments
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. Then everyone who heard of the problem before piled against me like I'm a dumbass, but never really explaining why I was wrong.
Yes, I'm still salty about it.
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.
(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}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.
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.
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)
Why would the game show host want me to win? or want me to lose? What's his motivation behind giving me the option to switch? What knowledge does he have?
It was just "you pick a door, host opens a door without prize". That doesn't imply that there's never a prize behind the door that the host opens.
The entire activity is meaningless if the host opens the door with the prize—any questions about switching or not are pointless, since obviously both closed doors are worthless. So that can’t be the interpretation of the puzzle.
When you hear about the problem the first time, they just tell you "and then the moderator opens a door with a goat behind it". So you assume that the moderator usually opens a door - where in your case just happens to be a goat behind. You don't know about the show, so you assume it could've been the car, but just wasn't. So, with this assumption, it doesn't matter whether you switch. And then they tell you that the moderator always shows you a goat, but the damage is already done, your mind has made the decision that it doesn't matter.
Also, if the host opened the door with the prize, what would happen then?
Edit: I should have checked before I posted, obviously it's 2-in-3 when you switch. But it's same idea, you have better odds when you switch because then it's like you are entering a new game with only 2 doors.
Still hard to believe that Erdos wouldn't believe this. He spent his life couch surfing at other mathematicians but not could convince him until he saw a monte-carlo simulation, apparently.
You have 100 doors, select one blindly, and have a 1% chance of being correct.
The host removes all but one other door. Do you stay with the door you chose, a random guess of 100, or the one remaining after the host has removed all others? A door that is now statistically much more likely to be the correct choice?
You need to read up on it more as it's clear you haven't truly understood the puzzle.
The host knows what's behind the doors so he'll always eliminate a wrong answer.
In the opening, you pick one door. That's a 1 in 3 chance of being right.
So there's a 2 in 3 chance it's in either of the two remaining doors. He simply eliminates a wrong answer.
Thus, 2 out of 3 times you win by switching. You win 1 in 3 times by staying with your original choice.