TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Monty Hall Problem

24 点作者 lnyan将近 3 年前

15 条评论

antris将近 3 年前
The fact that the show host knows what&#x27;s behind the doors and never chooses a door with the prize behind it is crucial. The host leaks information about what&#x27;s behind, as he chooses a door.<p>I was told about this problem and the person telling it didn&#x27;t say anything about that, just that you pick a door and the host opens another one which doesn&#x27;t have a prize behind it. So I thought the probabilities don&#x27;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&#x27;m a dumbass, but never really explaining why I was wrong.<p>Yes, I&#x27;m still salty about it.
评论 #31684801 未加载
评论 #31684993 未加载
评论 #31684735 未加载
评论 #31703809 未加载
评论 #31685035 未加载
评论 #31684826 未加载
em500将近 3 年前
The Month Hall Problem has been discussed many many times on HN and elsewhere. I&#x27;ve read many of the discussions (but of course not nearly all of them. My observations:<p>1. The linked Wikipedia article is very extensive, and already covers usually all the points and insights that forum posters bring up. And a lot more.<p>2. Few people will probably bother to read the entire (or even most of the) Wikipedia article, because it&#x27;s so extensive.<p>3. I&#x27;ll copy and highlight the IMO most crucial part the article here:<p>The most famous formulation, a column in Parade magazine in 1990, went thus:<p><i>Suppose you&#x27;re on a game show, and you&#x27;re given the choice of three doors: Behind one door is a car; behind the others, goats. You pick a door, say No. 1, and the host, who knows what&#x27;s behind the doors, opens another door, say No. 3, which has a goat. He then says to you, &quot;Do you want to pick door No. 2?&quot; Is it to your advantage to switch your choice?</i><p>In this formulation the solution is ambiguous. Switching is *not necesarily* the optimal strategy (it depends on the precise strategy&#x2F;behavior of the host, which is not well formulated).<p>Under the unambigous &quot;standard assumptions&quot;:<p>- The host must always open a door that was not picked by the contestant.<p>- The host must always open a door to reveal a goat and never the car.<p>- The host must always offer the chance to switch between the originally chosen door and the remaining closed door.<p>switching is the better strategy. But in this formulation the reason is also a lot more obvious.
nkrisc将近 3 年前
Here&#x27;s how I finally understood the problem intuitively:<p>If your initial pick is correct, then switching loses 100% of the time.<p>If your initial pick is incorrect, then switching wins 100% of the time (because you picked wrong, and host will reveal the other incorrect door, leaving only the correct door to switch to).<p>So switching always inverts your initial guess. Well what are the odds of picking incorrectly on your initial guess? 2&#x2F;3. Switching wins 2&#x2F;3 times.
评论 #31685172 未加载
评论 #31685113 未加载
superb-owl将近 3 年前
The trick that finally got me to accept the conclusion was to imagine there were 100 doors. You pick one, then Monty opens 98 other doors. Then you obviously switch, as the original door has a 1% chance of being right, and the other door has a 99% of being right.
评论 #31684624 未加载
评论 #31685246 未加载
评论 #31684634 未加载
评论 #31684617 未加载
cupofpython将近 3 年前
I had this problem beaten to death in my probability and statistics courses in college.<p>To make the problem much more obviously intuitive, simply imagine a thousand or a million doors instead of 3.. and after you make your pick - the host reveals all doors except one to be &quot;failures&quot;. Your choice was very obviously 1 in a million, and because the reveal procedure that followed is conditional - if the &quot;success&quot; was behind ANY of the doors you did not pick then it WILL be the only door left in front of you.<p>It is only a 50-50 IF the revealed doors were opened randomly. In this case, sometimes the &quot;success&quot; would be revealed by accident - and so IF you do happen to find yourself in a position of only having 2 doors left THEN it was <i>more likely</i> to happen if you had actually chosen the &quot;success&quot;. So arriving at that situation <i>at all</i> is the conditional information that alters the probability of your original choice - but in this case from 1&#x2F;3 to 1&#x2F;2 instead of 2&#x2F;3. (this is how the probabilities in &quot;deal or no deal&quot; work btw)<p>Even knowing the solution, it is a good reminder about the power of information derived from systemic processes. the information leveraged in the processes that lead to circumstances is just as important as the circumstances themselves.<p>The key general point that bypasses most peoples intuition the first time they hear the problem is that the revealed box (or door, etc) is <i>not chosen at random</i> but by a conditional process. The condition is that the host reveals a &quot;failure&quot;. In order to pick a failure, he must leverage knowledge about where the &quot;success&quot; is, else he risks revealing it by mistake. Because knowledge of the &quot;success&quot; is embedded into the decision process, more information about the &quot;success&quot; is revealed to the observer which allows them to improve their position.
chrisbrandow将近 3 年前
I think the 100 door example is good, but is often not described in a way that was intuitive to me. I&#x27;ve added bit that I found very helpful.<p>The entire trick of the game is that Monty opens 1 (or 98) of the remaining doors. That is because it is completely irrelevant to the odds, but has big impact on the contestants perception.<p>It is not obvious, but Monty actually does two separate and unrelated things:<p>First, a step that basically goes unnoticed, is to propose a new game to the contestant in which the contestant opens either 1 door or 2 (99) doors chosen by Monty, rather than the original game which was to select 1 door out of 3 (100). Obviously, the new game gives them the chance to make a choice that has 2&#x2F;3 odds (99&#x2F;100) versus the original game whose odds were 1&#x2F;3 (1&#x2F;100).<p>His second step, which is typically the only step noticed and which very effectively misleads the contestant, is to open 1 (98) of the doors he selected.<p>The result is that clearly the 2nd game gives the contestant a definitively better choice, but this is obscured by the fact the contestant only sees two closed doors, so they believe they are comparing 1 door to another, and thus only have 50-50 odds.
评论 #31685314 未加载
paxys将近 3 年前
Lots of &quot;intuitive&quot; explanations of the problem shared here, but here&#x27;s one that works for me.<p>You pick door A. The hosts says you can either keep that door, or instead pick <i>both</i> doors B &amp; C. If either one of them has the prize you get to keep it.<p>You opt to switch. The host opens B, which turns out to be a goat, and then opens C.<p>Regardless of what C contains, it&#x27;s obvious that switching was the better option.
评论 #31685222 未加载
ksaj将近 3 年前
An easy way to word this exact problem in a way that makes clear the reason you should always change your choice is:<p>I have 52 playing cards. I know which one is the Ace of Spades. Point to one of the cards and leave your finger on it.<p>Okay, without telling you whether you are right or not, I&#x27;m going to remove every card, leaving only yours and one other on the table, that is the right card if the one you picked is not, or an indifferent card if your choice was right.<p>Do you wish to choose the card I left on the table, or do you still think your 1&#x2F;52 choice was correct?<p>Notice that I followed the exact rules of the game, but changed the wording and used a lot more &quot;doors.&quot; There was a 1&#x2F;52 chance you would pick the right card, and even after I remove all but one of the remaining cards, it is still a 1&#x2F;52 chance you originally picked the right card, and a 51&#x2F;52 chance that the one I left behind is the right card.<p>Now just make it 3 cards, and use the traditional script, performing the <i>exact same steps</i>, and you&#x27;ll understand why you should always change from your original choice.
headsupftw将近 3 年前
To me the key to understand the problem is paying attention to this detail: Monty knows where the car was so he wasn&#x27;t just randomly opening A door. He always opened a door that didn&#x27;t have a car behind it. It&#x27;s this non-randomness that&#x27;s giving you more information about the remaining door.
评论 #31686852 未加载
k3lsi3r将近 3 年前
The host revealing the door is irrelevant, right?<p>An equivalent offer would be if you had the chance to either: - keep your door OR - choose both of the other doors (since you know at least one of the other doors is a goat&#x2F;non-prize)
paxys将近 3 年前
One thing that trips a lot of people up is that the problem is never explicit about the knowledge or strategy of the host. Would he offer you the choice to switch if you initially picked the wrong door?<p>If I&#x27;m playing this game in real life, my intuition isn&#x27;t going to be calculating the correct mathematical odds, but rather thinking &quot;this guy is trying to screw me&quot;.<p>So a 1&#x2F;3 chance that you can be sure of is better than a 2&#x2F;3 one which is based on trusting your opponent.
VikingCoder将近 3 年前
I didn&#x27;t believe the result. So, I had to sit down and decide to write the source code to simulate it, and as I&#x27;m typing the code my internal monologue is saying &quot;if you stay, 2&#x2F;3 of the time you lose, but if you change, 2&#x2F;3 of the time you win,&quot; and I was like, &quot;CRAP!&quot;<p>It was like - my fingers knew how to type the correct solution, and once my brain <i>saw</i> my fingers type it, my brain finally caught up.
评论 #31684797 未加载
dtagames将近 3 年前
What&#x27;s missing from this thread is not that Monty always reveals a goat... It&#x27;s that he never reveals the car! In other words, the &quot;you can switch doors&quot; routine is always part of the show.<p>By removing one door which does not have the car, Monty has narrowed your best choice to one of the other two.
ortusdux将近 3 年前
My favorite Monty Hall explanation:<p>&quot;I have randomly picked a number between 0 and 1 million, and I want you to guess my choice.&quot;<p>&quot;Lets go with 408,235.&quot;<p>&quot;I will narrow it down for you. Lets eliminate 999,998 incorrect guesses, leaving either 174,999 or your guess of 408,235. Would you like to change your guess?&quot;
PUSH_AX将近 3 年前
The way I understood this was that if you pick a door, the chances are you didn&#x27;t pick the prize, given that you probably didn&#x27;t pick the prize and the host shows you the other non prize door, it makes sense that switching will probably give you the prize more than it doesn&#x27;t.