| Moschops (5981) | |
|
I want to say this now before someone asks the question and sparks a firestorm of misunderstood maths. It might never happen, but if it does, the fires tend to rage out of control for weeks. This is a metaphorical firebreak! I toss two fair coins. I look at them and then I tell you truthfully that the coins are definitely NOT both heads, or NOT both tails, depending on what I saw. So, given this, what is the probability that they are both the same? Before I looked, there were four equally likely options that you helpfully wrote down: HH HT TH TT After I look, one of these has been removed (either HH or TT). Leaving three equally valid options, only one of which is both the same, so the probability of both the same is one-in-three, or 1/3, depending on how you like to say it. Does anyone disagree with this in a rational, coherent way that involves a direct application of Bayes theorem or a tree diagram? This is a very slight change from the original wording to emphasise that I have full knowledge of the state of both coins and all the information I give you is to eliminate either the HH or TT option, but I am manifestly aware that it's easy to screw things up in probability when you change the input information. | |
|
|
|
| Duoas (6752) | |
| Google the "Monty Hall Problem". You can't up and change probabilities in the middle of a problem. | |
|
|
|
| Moschops (5981) | ||
Are you saying that because the probability of HH is 1/4 before I look at the coins, if I then look at the coins and truthfully tell you that it isn't TT, and it isn't HT, and it isn't TH, the probability of it being HH is STILL 1/4? Obviously you are not saying this, because that's insane. So what are you saying? I am very familiar with Monty Hall and the associated variations etc, and Bayes theorem. The question above is an attempt to make the following question more intuitive: "I've got two children and I promise you they're not both girls; what are the chances that they're both boys?" The answer is 1/3, but people seem to either insist on 1/2, or insist on altering the question until the answer is 1/2. | ||
|
Last edited on
|
||
| helios (10258) | |
| How is what you say chosen if the coins are different? Do you say that they are not the same, or you choose one of the two statements at random? | |
|
|
|
| Moschops (5981) | |||
I'll stress now that the answer is 1/3. The only problem is in managing to make the wording utterly unambiguous. | |||
|
Last edited on
|
|||
| helios (10258) | |
|
How's this? Let HH, TH, HT, and TT be the coin configurations, and TT' be you saying "it's not double tails". P(HH | TT') = P(TT' | HH)P(HH)/(P(TT' | HH)P(HH) + P(TT' | TT)P(TT) + P(TT' | TH)P(TH) + P(TT' | HT)P(HT)) = = P(TT' | HH)/(P(TT' | HH) + P(TT' | TT) + P(TT' | TH) + P(TT' | HT)) = = 1/(1 + 0 + 1/2 + 1/2) = = 1/2 | |
|
|
|
| Disch (8615) | |
|
+1 @ helios. It's 50% chance. You flip one of the coins. No matter what the result of the first flip is, the 2nd coin has a 50% chance of matching it. Looking at one of the coins but not the other cannot possibly change the probabilities. To rephrase this in your own terms: Say you have two coins: a dime and a nickle. Do the flip thing. Leaves you with 4 possibilities: HH HT TH TT (note: for purposes of this example, the dime result is listed first). Then you decide to look at the dime. It turns out to be tails. This means you've ruled out HH and HT. Leaving TH and TT as possible outcomes ( 50% chance that they're the same). Your problem is the same. Only the dime is just another nickle. If it helps... rephrase your original problem to say "look at coin 1" instead of "look at one of the coins". The result of coin 1 will rule out two possibilities, not just one. | |
|
Last edited on
|
|
| Moschops (5981) | ||||
I disagree. And this, in fact, is exactly what happens with this question. I quote myself above:
Okay, I have picked a number from 0 to 3, with an equal chance of each. Now, I'm telling you it isn't 3. What is the chance that it's zero? I say that the chance it is zero is 1 in 3. I am now going to write the numbers out in binary. 00 01 10 11 It isn't 3 (i.e. it isn't 11). What is that chance that it's zero (00)?
P(A|B) = P(B|A) P(A) / P(B) Let's say A is HH (both heads), and B is TT' (not tails-tails) i.e. P(HH|TT') = P(TT' | HH) P(HH) / P(TT') P(TT' | HH) is the probability of not tail-tail, given that it's head-heads. Well, that's one. If it IS heads-heads, it's definitely NOT tails-tails, so this is a certainty. P(TT' | HH) = 1 P(HH) = 1/4 (this is just the simple probability of heads-heads) P(TT') = 3/4 (this is just the simple probability of anything other than tails-tails) So, P(HH|TT') = P(TT' | HH) P(HH) / P(TT') = 1 x (1/4) / (3/4) = 1/3 | ||||
|
Last edited on
|
||||
| helios (10258) | ||||
Some empirical evidence:
| ||||
|
Last edited on
|
||||
| Disch (8615) | ||
I wasn't altering the problem, I was trying to show it in a different light. Allow me to try again, this time changing neither of the coins. Let's say there are 2 perfectly identical quarters. Let's call them A and B. We agree that there are 4 possible outcomes for the coin flips: 1) A=H, B=H 2) A=H, B=T 3) A=T, B=H 4) A=T, B=T We also agree that each of those outcomes have an equal probability of happening (25%). So after both coins are flipped and one of them is revealed to us as Tails. We are able to rule out possibility 1 above. But that's not the end of the story. If the coin we are looking at is coin A... we can rule out 1 & 2 (result: 50% chance of TT) If the coin we are looking at is coin B... we can rule out 1 & 3 (result: 50% chance of TT) We don't know whether the coin is A or B... but that doesn't matter because the result is the same (50%) regardless of which coin we're looking at. | ||
|
|
||
| Moschops (5981) | |||
Results: Zeroes: 332785 Ones: 334018 Twos: 333197 Looks pretty uniform distribution to me. I'm not quite sure what you're calculating, but I expect it's the answer to a different question. | |||
|
Last edited on
|
|||
| Disch (8615) | |
| Now who's altering the question.... | |
|
|
|
| Moschops (5981) | |||
I'm illustrating my question. I pick a number from zero to three. It's not three. What are the odds it's zero? What's the problem with my Bayesian maths above? This thing:
| |||
|
Last edited on
|
|||
| helios (10258) | |||
You're calculating something entirely different from what your problem states. | |||
|
|
|||
| Disch (8615) | |
| Your original question was about coin flips. Not about picking a number between 0 and 3. They are two completely unrelated problems. helios and I were both talking about the coin flip problem. | |
|
|
|
| Moschops (5981) | ||
|
Let's say I flip a coin twice. Let's say there is a zero on one side and a one on the other. I could get: 00 01 10 11 I have in effect picked a random number from zero to three. Let's cross out the zero on the coin, and write in a H. Let's cross out the one, and write a T. Now I get: HH HT TH TT I have still in effect picked a random number from zero to three. Now I tell you it's not three (not TT). What are the odds it's zero (HH)?
I disagree. P(HH' | HT) is "what's the probability of NOT heads-heads, given that it actually is heads-tails". Well, that's one. It's a certainty. If it's heads-tails, it is definitely not heads-heads. P(HH' | TH) likewise. If it's tails-heads, it is definitely not heads-heads, so that's also one. As an aside, please do not *sigh*. It comes across as extraordinarily patronising. | ||
|
Last edited on
|
||
| helios (10258) | |||
You can't state two things at the same time. I asked this, too.
| |||
|
Last edited on
|
|||
| Disch (8615) | ||||
|
Here's another example program. One that does not deviate AT ALL from the original coin flip problem: EDIT again: actually it doesn't deviate based on what Moschops said about how the HH/TT option is removed in his 2nd post.
| ||||
|
Last edited on
|
||||
| Moschops (5981) | |||
I don't understand what you're saying. I must be completely misunderstanding. Is THIS true?
| |||
|
Last edited on
|
|||
| hamsterman (4435) | |
| The statement "it is not TT" gives you more information than just that. It also implies that it can't be HT or TH, depending on which coin was looked at. | |
|
|
|