10 ms·
Think you understand Monty Hall? Try the Tuesday boy problem.
- jules 15y agoFor the people who don't believe this, here's a Python program: x = [(c1,c2,d1,d2) for c1 in ["B","G"] for c2 in ["B","G"] for d1 in [0,1,2,3,4,5,6] for d2 in [0,1,2,3,4,5,6] if (c1 == "B" and d1 == 1) or (c2 == "B" and d2 == 1)] num = sum(1 for (c1,c2,d1,d2) in x if c1 == "B" and c2 == "B") denom = sum(1 for _ in x) print("%s/%s" % (num,denom))
- jfager 15y agoWhen in doubt, use brute force: 1BT 2BM 1BM 2BT 1BT 2BT 1BT 2BT <-- Counted twice 1BT 2BW 1BW 2BT 1BT 2BR 1BR 2BT 1BT 2BF 1BF 2BT 1BT 2BS 1BS 2BT 1BT 2BU 1BU 2BT 1BT 2GM 1GM 2BT 1BT 2GT 1GT 2BT 1BT 2GW 1GW 2BT 1BT 2GR 1GR 2BT 1BT 2GF 1GF 2BT 1BT 2GS 1GS 2BT 1BT 2GU 1GU 2BT I think the issue people are having is that they want to distinguish between the two instances of '1BT 2BT', but it doesn't work like that. Let's say I numbered each of the possibilities written above 1 through 28. If I handed you a piece of paper with '1BT 2BT' written on it, could you tell me which number that corresponded to? No - it would be one of two numbers - so the numbering is additional information not given in the problem statement.
- zerostar07 15y agoAlternatively, suppose we label the combinations of child-day BM, GM, BT, GT ... BU, GU (14 items). We have a bucket with 2 of each of these combinations, as there are 2 kids (total 28 items). The problem states that we have taken one "BT" item out of the bucket (so 27 items left), and are asking how many "B*" items are left in the bucket (13). The confusion arises because one can consider the same problem with replacement, putting back the BT item in the bucket before picking a second time. It's something that's not clear if u are not thinking of enumeration.
- jfager 15y agoHaving 2 each of BM, GM, etc. is implicitly labeling 1BM, 2BM, 1GM, 2GM, etc. If you sampled with replacement, you have to admit the possibility that you draw the same BT twice. It's a stretch to suggest that the statement is ambiguous in this way, as it would imply that the father could have the same child twice.
- zerostar07 15y agoTrying to figure out why it seems wrong at first: it seems my first reaction would be emotional, that the odds of having a boy should be 0.5. However it is exactly because the total probability of a boy has to be .5 that the probability of a second boy has to be less than 1/2. The fact that you can pair "boy" with any enumerable attribute that can bring the probability down to 1/3 is ... funny.
- DougBTX 15y agoWhat would the question have to be to make the following the answer? Suppose we label the combinations of child-day BM, GM, BT, GT ... BU, GU (14 items). We have two buckets which both contain a copy of each combination (total 28, 14 in each bucket). The problem states that we have taken one "BT" item out of one bucket, and are asking how many "B" items are left in the other bucket (7 out of 14).
- zerostar07 15y agoThat would be two parents having one child each, one of whom says his only son was born tuesday, and asking what 's the probability the other guy has a son.
- Estragon 15y agoIt's fun to reason these things out, but it's easier and faster to simulate, at least at first. import random, time, collections, pprint sample = collections.defaultdict(float) now = time.time() known_child = ('M', 2) while sum(sample.values()) < 100000: genders = [random.choice('MF') for dummy in '..'] birthtimes = [random.uniform(0, now) for dummy in '..'] birthdays = [time.localtime(t).tm_wday for t in birthtimes] gendertimes = zip(genders, birthdays) if known_child in gendertimes: gendertimes.remove(known_child) sample[gendertimes[0]] += 1 if (sum(sample.values()) % 10000) == 0: print sum(sample.values()) males,females = [sum(c for (g, t), c in sample.items() if g == gender) for gender in 'MF'] print males / (males + females) Result when I ran this was .4816, approximately equal to 13/27.
- brutooths 15y agoA small simulation in Python from random import randint oneBoy=0 twoBoys=0 # 0 = boy, 1 = girl for i in range(10000): s1 = randint(0,1) s2 = randint(0,1) if s1 * s2 == 0: # Here is at least one boy oneBoy = oneBoy+1 if s1 == s2: # Here are two boys twoBoys = twoBoys+1 print("Two Boys") print(float(twoBoys)/float(oneBoy)) # As expected the result is near 1/3. oneBoyT=0 twoBoysT=0 #days 0=Monday, 1=Twesday ... # (0,1) means (sex,day) = a boy was born one Twesday for i in range(1000000): s1 = randint(0,1) d1 = randint(0,6) s2 = randint(0,1) d2 = randint (0,6) if (s1,d1)==(0,1) or (s2,d2)==(0,1): oneBoyT = oneBoyT+1 if s1 == s2: twoBoysT = twoBoysT +1 print("Two Boys in Twuesday") print(float(twoBoysT)/float(oneBoyT)) # The simulation gives a result near 1/3, # this is a hint to prove that 13/27 is incorrect # under the assumption that the population sex and # day are independent, and with probability 1/2 and 1/7 # if you want to convince me otherwise, I'll be # glad to see the code to generate the population # and the estimated probability.
- bermanoid 15y agoSometimes I hate these types of problems - though they're quite fun to argue about - because though they seem to be simple, straightforward enumeration problems, the "right" answer depends on assumptions about how the information that you've got is obtained, and what the other possible pieces of information you could have obtained are. Here's the thing: nobody needs to see how you obtained your answer, we're all smart enough to enumerate things, so don't bother; similarly, leave out the equations, they're simple enough, and that's not where anyone falls over. If you want to argue productively about this type of problem, you need to explain why you enumerate the possibilities the way you do, not how. And actually, I think the article goes through this problem pretty well, as mentioned there it hinges on two questions: 1) In this "random sampling", was "girl" a possible answer? Or did we restrict the sample pool to only people with boys, and only let them reveal that they had a boy? 2) Similarly, was any day other than "Tuesday" a possible answer? Once people agree what the "obvious" answers to these questions are, disagreements tend to evaporate very quickly, and the enumerations/equations solve themselves. Unfortunately these assumptions are almost never spelled out in the problem, which is why these damn problems keep confusing people...
- user24 15y agoDoesn't this rest on the simple ambiguity in the phrasing? > I have two children and one is a son born on a Tuesday. If by that is meant: > I have two children. Here is some information about one of them: son, born on Tuesday. Then the probability of the other child being a son is 1/2. If on the other hand we mean: > I have two children. One or more is a son. Exactly one of them was born on a Tuesday. Then we get the 13/27 probability. In fact it doesn't seem reasonable at all to assume that only one was born on Tuesday, while at least one is a son. One single interpretation of 'one of them' must be applied to both the gender and day of birth. Otherwise we're picking and choosing our interpretation on a whim. edit: Colin appears* to think that what I've said here is incorrect, and I'd like to know why. I'm not a maths/stats person at all so am very keen to be re-educated on this matter. * based on his now-deleted reply to ars which said "no, it doesn't, and no, you're not" Important Edit Two: If I'm reading this right, I think the defender of the 13/27 solution would say: No. We don't discount the possibility of both being tuesday-boys (TB), we just adjust the calculation so that it doesn't count (eldest=TB, youngest=TB) and (youngest=TB, eldest=TB) as two separate possibilities. To which I respond: Right, so it's not down to ambiguity. But shouldn't you also discount every other symmetrical pair such as (eldest=TB, youngest=WB) and (youngest=TB, eldest=WB) and thus return the odds to 1/2? Or does that not return the odds to 1/2?
- deleted 15y ago[deleted]
- ColinWright 15y agoNo, you shouldn't "also discount every other symmetrical pair", for exactly the same reason as there's a 1/36 chance of rolling double 6, but 2/36 chance of rolling a six and a one. It's all to do with labellings, and it's the most common source of error[1] in statistics. [1] By "error" I mean calculations that then don't agree with the experimental results.
- user24 15y agoThat sounds convincing.
- 15y ago
- ars 15y agoI hate this one because while it says: "I have two children and one is a son born on a Tuesday." It actually means: "I have two children and only one of them is a son born on a Tuesday." You are supposed to just assume this modification.
- deleted 15y ago[deleted]
- user24 15y agomore than that, the modification is inconsistently applied; we're supposed to magically know that only one is born on Tuesday, but not that only one is son. edit: accidental downvote, sorry. edit2: but see my top-level reply to OP.
- deleted 15y ago[deleted]
- deleted 15y ago[deleted]
- reitzensteinm 15y agoOK, after rereading the article, I'm wrong about this - that's not what the author is doing. Post deleted to not spread confusion myself...
- tallanvor 15y agoNo, you are not supposed to assume that only one of them is a son born on a Tuesday. The 13/27 probability comes from the knowledge that one is a son born on a Tuesday, but you don't know which child this refers to - the other child being a son born on a Tuesday is covered in the 13/27 probability.
- ars 15y agoNo, the 13 was arrived at by excluding the possibility that the second child was a boy on Tuesday. (Read the article again and see.) Once you include that possibility it's back to 14/28.
- wylie 15y agoTo answer the question posed by the title: no, I didn't think I understood Monty Hall, but thanks to this article I'm pretty sure I do now. This is a good explanation and analysis.
- rubergly 15y agoLet's try a simpler problem. Suppose we know that a certain man has two children and we also know that the older one is a boy. In this case we would say that the probability that the other child is a boy is 1/2. After all, the sex of one child is independent of the sex of the other child. That the older child is a boy has no bearing on the sex of the younger child. Now suppose we know simply that a man has two children and that one of them is a son. This time we would reason that there is no possibility that the person has two girls. It follows that the sexes of his two children, ordered from oldest to youngest, are either BB, BG or GB. Since these cases are equally likely, and since only one of them involves having two boys, we would say the probability that the man has two boys is 1/3. Maybe I'm missing something, but this seems fundamentally wrong. Pr(two boys | older child = boy) is not equal to Pr(two boys | one+ child = boy)? Why is time so special? Could we not order them based on their height, and assert Pr(two boys | taller child = boy) = 1/2. Or, if there were a scale of masculinity, order them based on that and assert Pr(two boys | manlier child = boy) = 1/2, where manlier child = boy <==> one+ child = boy, so Pr(two boys | manlier child = boy) = Pr(two boys | one+ child = boy) (contradiction).
- incremental 15y agoFor a randomly selected family with two children, there are four possible boy/girl combinations: B B, B G, G B, G G In the first case we are told that the older child is a boy. This leaves only two cases: B B, B G Therefore, there is a 50% chance the second child is a boy. In the second case, we are told only that [at least] one child is a boy. This leaves three possibilities: B B, B G, G B Therefore, the probability that both children are boys is 1/3. Enumerating possible states of the world like this is the fundamental insight you need to have to be able to understand these types of problems - but it does take a while to get used to!
- rubergly 15y agoBut you are assuming that each of those three possibilities has equal probability; can you explain the rationale for that? (it is clear why BB, BG, GB, and GG have equal probability in the unrestricted case, but less clear why BB, BG, and GB have equal probability in this restricted case) Besides, this is just a rephrasing of the original article's argument, and doesn't counter mine at all. I am open to the possibility that there is a flaw in my argument, but where is it?
- yuvadam 15y agoI stopped caring about 'paradoxes' ever since I understood there's no isomorphism between pure mathematical concepts and human language.
- lurker17 15y agoThe paradoxes are important in highlighting the ambiguities in our language. The annoying aspect is when someone uses a paradox to show off how mathematically clever they are, instead of to show how ambiguous language is. As XKCD illustrates: https://www.xkcd.com/169/ https://www.xkcd.com/169/
- james1071 15y agop(2s\T)=p(2s & t)/p(T) p(2s & T)=1/4(13/49) p(T)=1/4(13/49)+1/2*(1/7) p(2s\T)=(13/49)/(13/49+14/49) p(2s\T)=13/27
- twelvechairs 15y ago> Now suppose we know simply that a man has two children and that one of them is a son. [snip] It follows that the sexes of his two children, ordered from oldest to youngest, are either BB, BG or GB. Since these cases are equally likely, and since only one of them involves having two boys, we would say the probability that the man has two boys is 1/3. Errr. except these cases aren't equally likely - because the boy we know about could be either of the boys in the BB scenario, but only one either of the other two. So the probability is still 1/2.
- incremental 15y agoSince the constraint simply says that at least one child is a boy, we don't need to distinguish between two types of BB. This is a curious misconception, by the way. The typical failure mode I see on these questions is people having difficulty accepting BG and GB as different possibilities.
- twelvechairs 15y agoIf we are determined to look at order of birth (ie. have a BG and GB) then we should consider all cases by order of birth, so where 'B' represents the boy we know and 'b' or 'g' represents a child we dont, and the first character represents the first child, and the second the second childe - we have: Bb, bB, Bg, gB 50%.
- Deestan 15y agoYou're assuming a different selection model, in which a father of two boys is twice as likely to volunteer information if he has two boys: "Pick a child at random, then if it's a boy - say: I have a boy [blablabla] what is the other?" However, you're doing this on an already selected sample by discounting all the girl-girl pairs. The selection rule in your logic then becomes a two-step "If you have at least one boy, then pick a child at random, then if it's a boy, say: [blablabla]" Given that, your analysis is correct. But, seeing as it is a wildly different selection model than what everyone else seem to work with, you should be explicit about it.
- 15y ago
- nadam 15y agoAs the currently top voted comment does not get it, I try to intuitively explain the paradox. No, it is not ambiguity of language. It says formally: I have two children. There exists a child of mine who is (boy and born on tuesday). And yes, the probability of the other child being a boy is 13/27. To understand this, try a more extreme case: When a child is born we generate a random number: rnd(1billion) Now the man says: 'I have two children. There exists one of them which is boy with generated id=456765234' As we can see, the probability of the other child being a boy approaches 1/2 as we increase the bound of our random number! Why is this intuitively? Because by using a very specific id we are closer and closer to specifying one of the boys, as the probability of the id not being unique decreases. We are closer and closer to saying this: 'Randomly pick one of my children. He is a boy. What is the probability of the other being a boy?' Yes, that would be 1/2. Edit.: Seriously downvoting this??? For most commenters the correct result was not intuitive. (It was not intuitive for me at first also). I tried to make this intuitive to them. (a bit deeper than usual paradxes though) Or do you still think the 13/27 result is not correct? In that case you are fighting mathematical truth with the downvote button. Edit: Thanks, corrected probability from 2 to 1/2
- demallien 15y agoNo, it is not ambiguity of language. This is a big call to make, seeing as English is not your native language. As a native English speaker, I find it very ambiguous as to which set of probabilities I should be counting.
- nadam 15y agoI meant that the paradoxical nature is not resolved by simply formalizing the statement into first order logic the following way: "I have 2 children. Exists child where (Born_on_tuesday(child) and Boy(child))." (Some other paradoxes completely disappear when you try to write the statement into first order logic. It is not the case here.) This is what I wanted to say.
- demallien 15y agoYou see, the problem is that even your latest attempt to describe the question is ambiguous - the solution depends on how 'I' was selected. And if ever you describe that in a non-ambiguous manner, I suspect that the answer would no longer seem paradoxial. In other words, ambiguity in language is at the very heart of this problem.
- extension 15y agoThe more sons you have, the more likely that one of them is born on a tuesday. Thus, if you take all the two-child families with at least one son, and eliminate the families without a son born on tuesday, the two-boy families are more likely to remain than the one-boy families, and you will end up with a higher proportion of two-boy families than before. Simple. (edited)
- gcp 15y agoSimple. And wrong. Note that the correct answer is 13/27 probability of a boy, which is less, not more, than 50%.
- extension 15y agoSorry, I should have said a higher proportion of two-boy families, not a higher proportion of boys. 13/27 is more than 1/3, which is the proportion of two-boy families before you eliminate the families without tuesday boys.
- vjk2005 15y ago"If you surveyed all such families, you would find that roughly 13/27 of them have two boys." roughly 13/27? How rough are we talking, maybe it's roughly 13/26 instead.
- hexagonc 15y agoThe degree of "roughness" depends on the number of families surveyed. The more there are the closer to 13/27 you'll get.
- madamepsychosis 15y agoScott Aaronson has a really good article about the anthtopic principle and conditional probability. http://www.scottaaronson.com/democritus/lec17.html http://www.scottaaronson.com/democritus/lec17.html
- its_so_on 15y agoANYONE WHO SAYS THE ANSWER IS OTHER THAN 1/2: Let's simplify the question: If a man says "I have two children, one was born on a Tuesday," what is the probability that they are both born on a Tuesday? Is the answer to this 0 or 1/7 in your opinion? (Or something different).
- danparsonson 15y agoYou can follow a similar process to work out the probability as for the original question. For any two children, the possibilities are: Child 1 born Mon, Tue, Wed, Thu, Fri, Sat, Sun Child 2 born Mon, Tue, Wed, Thu, Fri, Sat, Sun We know that one of the children was born on a Tuesday, but we haven't said whether it's Child 1 or Child 2 (and that lack of information is key to understanding the original problem), so our unknown child could also be either Child 1 or Child 2. With that in mind, 'unknown child' has 14 possible options except that we know one of those options (our known Tuesday child) is already taken - we don't know whether it's Child 1 or Child 2 but that doesn't matter, we just know that one of them is already taken. That leaves 13 possibilities for unknown child, only one of which is 'born on Tuesday' (since we've removed the other 'born on Tuesday' option), so I would say the answer is 1/13.
- its_so_on 15y agoThis is ridiculous. Let's do some queries on the world: From all women: (some 3 billion) the ones who have exactly two living children: x matches the ones in which it is true for them to say "One of my children was born on Tuesday.". (this is true or false for every mother that comprises x. y mothers remain (can answer "true" for that question") the ones that can say "both my children were born on Tuesday": z matches are you telling me that sizeof z is 1/14th the sizeof y??? (because for me it is either 1/7 that size or exactly 0 if the correct meaning of "one of" is "exactly one of and not both of")
- its_so_on 15y agoWait, I think I get it. (Sorry, too late to update). This is indeed ingenious. The key is the step from x to y. The women in x who can say "one of my children was born on Tuesday" are the ones who can say "EITHER my first OR my second child was born on Tuesday"; the initial constraint (when you meet the person) is thus: "women who can say I have exactly 2 children and it is true to say EITHER my first OR my second child was born on a Tuesday"; obviously this is far more than 1/7th. Then the additional constraint "BOTH of them were" is a smaller addition than 1/7th. It's not 1/7th the first time and 1/7th the second time, because the question wasn't "of women who can say they have exactly two children, the number who can say 'my elder child was born on a Tuesday'" and then "of these the women who can say 'my younger child was also born on Tuesday". This would indeed be 1/7th each time. instead y is "EITHER my elder OR my younger child was born on Tuesday". This obviously results in a set that is greater than 1/7th of all women with two children, and, consequently, it is no surprise that there is a correspondingly smaller than 1/7th possibility that both were.
- reitzensteinm 15y agoI've been thinking about this for an hour, and I'm now convinced that the author is wrong. The fact that we found out about one of the children from the father means that all probabilities are not equal, even though they're treated here like they are. The difference is between the information being offered, and determined independantly. I'll do this with the boy/girl problem, for simplicities sake. If we ask a man if he has at least one boy, and he says yes, we can work out the chance the other child is a boy like so: Assume all four possibilities are equally likely: BB BG GB GG If we ask him if he has at least one boy, and he says yes, we effectively filter off GG, which brings the list down to: BB BG GB Therefore, the chance of the other child being a boy is 1/3. Pretty straight forward. However! Because the father offered the information on his own, it effectively turns it into the author's other problem, where the older child is a boy, find out the gender of the younger child. The trick is that he's equally likely to give information about either of his children, therefore there are eight possibilities: He gives information about child A: BB - B BG - B GB - G GG - G He gives information about child B: BB - B BG - G GB - B GG - G There are still 3 possibilities, but BB is twice as likely as the others, because if both children are a boy he's definitely going to reveal the gender of one of them as a boy; whereas if one is a girl and one is a boy, there's only a 50% chance he will. BB - 50% GB - 25% BG - 25% So, the answer to this: You meet a man on the street and he says, “I have two children and one is a son born on a Tuesday.” What is the probability that the other child is also a son? Is 1/2 The answer to this: A man has two children, and one is a son born on a Tuesday. What is the probability that the other child is also a son? Is 13/27 It's nitpicky, but I think the author should be very exact about this kind of thing, since he's trying to clear things up.
- jfager 15y agoYou're making the exact mistake the author is cautioning against, which is assuming the day doesn't matter. Write out all the possibilities (see my other comment in this thread), eliminate the dupe, and you get 13/27.
- reitzensteinm 15y agoDid you read my post carefully? I do get 13/27, when presented with the information from a neutral third party - i.e. filter for all 2 child families with one son male/Tuesday, what is the chance the other is also male/Tuesday. But the fact that the father voluntarily offered up the information changes the probability distribution. We can assume he's selecting one of his children at random, and revealing their birthday and gender. If only one of his children is a male/Tuesday, there's a 50% chance he'll say male/Tuesday. If both are, there's a 100% chance. So I'm not counting the possibility twice; I'm saying that given that the father reveals male/Tuesday, it's disproportionately likely that's as a result of having two male children born on a Tuesday compared to any other possibility.
- invertd 15y agoHow would the solution change if the problem was stated as follows: 'You meet a man on the street and he says, “I have two children and one is a son born in March.” What is the probability that the other child is also a son?'
- raldi 15y agoOr, "...one is a son born in an even-numbered month"
- ashishb4u 15y agoI have a son born on xDay. What is the probability that my next kid will be a son? I dont get Monty Hall :(
- pkteison 15y agoThe Tuesday Birthday problem is related to you not having info about the order leading to extra possibilities that you don't intuitively consider. Like in the simple example, if one son is a boy, probability of other being a boy is 1/3rd because the info you have the sets available could be BB, BG or GB. But if the younger son is a boy, then the GB possibility is removed, so it's 1/2 on the older son - BB or BG. In your case, your younger kid is a son born on xDay. If you assume you will have another kid, chances on being a son are still 50%. It only gets interesting if either kid could have been a son. In Monty Hall, the info that you don't intuitively consider is that Monty is providing additional information. You think of it as 50/50 because Monty ruled out a goat and car has to be behind one of two remaining doors, but actually the way it works is you chose a door that 1/3rd had a car, leaving 2/3rds chance of car on the other two doors. Then Monty eliminated one of those two doors, still leaving 2/3rds chance of car on the remaining door. So you should switch to that door. In Monty Hall, first you divide the set into a 1/3rd chance group of 1 door and a 2/3rd chance group of 2 doors, then Monty makes the second group a 2/3rd chance group of just 1 door.
- bpm140 15y agoWait. What? The author says there can only be one BB but that there can be both GB and BG? What he's doing here is saying that birth order functionally doesn't matter if the sibling is a boy, but it does matter if it's a girl. How is this correct? If you keep comparing apples to apple you get: Older Boy / Boy Boy / Younger Boy Older Girl / Boy Boy / Younger Girl And we're back to a 50% chance that the other child is a boy.
- NickPollard 15y agoAltogether now! Here's the chart: B G B BB BG G GB GG Satisfied?
- suivix 15y agoSince he has two children, you know first off that these are all equal chance historically: BB BG GB GG Now since you know the child is a boy, it eliminates the fourth option. So now we have these possibilities: BB BG GB In only one of these is the other child a boy, so the chance is 1/3.
- bpm140 15y agoThis explanation makes a ton of sense. I get it now. Thank you.
- suivix 15y agoAlso I don't think the exact day of birth being Tuesday makes one bit of difference to the gender. For example, if you were to say the known boy was born crying, and the chance of this is 70%, it doesn't affect the gender of the other children. It's just useless trivia.
- jules 15y agoThat's not true. It does affect the probability of the other child being a boy just like being born on Tuesday does.
- 15y ago
- drblast 15y agoThe crux of the issue is much better illustrated by the simplified problem where if a man tells you one of his kids is a boy, the other child is a boy in 1/3 cases. That's intuitive looking at the possibilities: BG GB BB Where this analysis gets confusing is when you say that if you meet the man with one of his kids at random and it's a boy, the probability changes to 1/2. The reason is in that case one of the possible outcomes was indeed GG, even if the child you met was a boy. The difference is how much knowledge you had about the situation prior to making your measurement of the outcome. If that doesn't make your head spin even a little you're not really human. I was able to make peace with these problems when I read about the Two Envelopes Paradox and realized that it's not really possible to pick a random integer, because by picking a random integer you're essentially limiting the domain of integers you've picked from to a finite one. If you can wrap your head around that it might help you save your sanity.
- raldi 15y agoThis post would have been much better if the author had used more precise language. I still don't know whether the assertion being made by the father is that at least one of his children is a son born on Tuesday, or exactly one is.
- deleted 15y ago[deleted]
- _dps 15y agoIf you generalize "born on Tuesday" to a generic attribute, with probability p (equal for boys and girls) it becomes easier to see what's going on. For brevity, let's say people with the attribute are positive and people without are negative. There are seven (ordered) possibilities involving at least one positive boy, and we'll subdivide them into two subgroups: B+B- B-B+ B+G- G-B+ / B+B+ B+G+ G+B+. The important thing to note is that within each group the outcomes are equiprobable. If p is near 1, then the first group has almost zero probability and we have ~1/3 chance of two boys. If p is near 0 then the second group has almost zero probability and we're left with ~2/4 chance of two boys. Intuitively, if p is near 1 then the statement "I have at least one positive boy" is almost equivalent to "Both my children are positive, and I have at least one boy" (group 2, 33% chance). If p is near 0, then the statement is almost equivalent to "I have exactly one positive boy" (group 1, 50% chance).
- ghshephard 15y ago"You meet a man on the street and he says, “I have two children and one is a son born on a Tuesday.” What is the probability that the other child is also a son?" The fact that one of the sons is born on a Tuesday, is blonde, has freckles, got an A+ on his math paper is irrelevant to the gender of the second son. The author's entire reasoning misses the entire point of the Monty Haul paradox where Monty Haul specifically reveals a door known _not_ to have the Goat, thereby immediately modifying the probabilities of the remaining door. In this "Tuesday Boy Problem" - no such selection takes place. There is no paradox. There is a 50% chance that the other child is a boy and a 1/7 chance that they were born on a tuesday (or a monday, wednesday, etc...). Note - The wikipedia article on this topic does a much better job discussing the ambiguity involved in asking the question - http://en.wikipedia.org/wiki/Boy_or_Girl_paradox http://en.wikipedia.org/wiki/Boy_or_Girl_paradox. The sad part of this, is that if you had _selected_ a family in which at least one son was born on a tuesday, then you would have modified the probabilities of the other child being born a son - but no such selection was done here, therefore no probabilistic impact on the chance of the other child being a son.
- _dps 15y agoThere is a shorthand and implied understanding in mathematical word problems (else they would be formulas!). As soon as you ask "what is the probability" you are implying either a sampling/generative process, or a subjective (e.g. Bayesian) probability framework. I think it's clear this is the former case. The generative model implied for each child is: pick uniformly from boy/girl, and pick uniformly from Mon-Sun. The generative model for the father is: generate two children. This generative process has a well-defined outcome distribution and it is completely reasonable to ask "what is the probability of generating an outcome with two boys, given that you generated an outcome with a Tuesday boy?"
- erikb 15y agoIf you get that far down in the comments, you should also read why I think all solutions given here and by the author are wrong: http://news.ycombinator.com/item?id=3291009 http://news.ycombinator.com/item?id=3291009
- raldi 15y agoI found this post confusing and ambiguous, so I restated it in simpler terms, with pictures: http://mikeschiraldi.blogspot.com/2011/11/tuesday-boy-problem-in-under-300-words.html http://mikeschiraldi.blogspot.com/2011/11/tuesday-boy-proble...
- deleted 15y ago[deleted]
- bittermang 15y agoThank you for this. I slugged through the whole original article and felt like I was being beat up with words. However, I still fail to comprehend how the "at least one is a boy" quirk maths out to a 1 in 3 chance that his second child is also a boy. Taken literally, it does. I understand that, in a set of data, GB is different from BG. But for the sake of our comparison, the order the children were born in doesn't matter. We're seeking if the other child is a boy, or not. In my mind, the bit about it being the younger or older sibling is irrelevant information. We're comparing gender, not age. Regardless of if she is the younger sister, or the older sister, she's still his sister, and therefore not a boy. I think the introduction of age is convoluting the issue, unnecessarily. I now standby, ready to be proven wrong. I'd really like to wrap my head around this one, but I must insist that the age information is irrelevant.
- raldi 15y ago> However, I still fail to comprehend how the "at least one is a boy" quirk maths out to a 1 in 3 chance that his second child is also a boy. Can you program? If so, write a program which runs the following trial over and over: 1. Assign genders at random to two children 2. If at least one is a boy, increment tally T1 3. If both are boys, increment tally T2 You'll find that T2 / T1 approaches 1/3.
- Confusion 15y agoYou could equally well distinguish between BG and GB based on birth weight. Age has nothing to do with it. If the order of the children doesn't matter, the odds of conceiving a BG combination are twice as large as conceiving either a BB or a GG combination. The distinction is made so all combinations carry the same weight, which makes it easier to illustrate the solution. As another alternative, you could distinguish between BG and GB based on a non-accidental property, like the alphabetic ordering of their names (assuming each starting letter is equally likely and no two siblings have the same name, both of which are probably false in practice).
- Raphael 15y agoI understand thanks to a comment I found here: http://helives.blogspot.com/2010/07/tuesday-child-puzzle.html http://helives.blogspot.com/2010/07/tuesday-child-puzzle.htm... ==================================== Unfortunately, these questions you ask are ambiguous, and it is the failure to recognize how they are ambiguous that causes the results to seem unexpected. Consider two versions of what led up to the first statement: Case #1: A father is chosen at random. He is given a slip of paper as he is led onto a stage. The paper says "Pick one of your children. Tell the audience the number of children you have, the chosen child's gender, and the day of the week on which it was born." Case #2: A father is chosen at random from all fathers who have two children, including one boy born on a Tuesday. He is also ushered onto a stage and given a slip of paper that instructs him to tell the audience the criteria used to select him. Now shift scenes. You are in the audience when a man is ushered onto the stage. He looks at a slip of paper, thinks a moment, and says "I have two children and one of them is a boy born on Tuesday." What is the probability that he has two boys? The answer to the question depends on which case applies to the man you listened to. In Case #1, it is 1/2. In case #2, it is 13/27. Your simulation only covered the second case. To get the first, after you have two children, flip a coin to see which one the father will tell about. If it is not a Tuesday Boy, don’t keep that trial even if the other child is a Tuesday Boy. You will find that the 27 cases where you have a Tuesday Boy reduce to 14 (just over half, since one father didn’t need to flip the coin), the 13 where you also have two boys reduces to 7, and the answer is exactly 1/2. If you simulate the simpler problem, where you don’t worry about the day of the week, the answers are 1/2 and 1/3 for the two cases, respectively. The reason 13/27 seems unintuitive, is because the fact that a Tuesday Boy was REQUIRED in the second case is not intuitively obvious from the statement "one of them is a boy born on Tuesday." In fact, as you point out, the puzzle could equally well be named after either of your two children, which is probably two different names. You choose one, just like the father in case #1, so the better answer to your question is 1/2, not 13/27. It is still ambiguous, but there is no valid reason to assume that case #2 applies.
- IanDrake 15y agoThe last Mythbusters episode put Monty Hall to the test and passed. I have to say it was the first time I truly understood why Monty Hall works.
- shasta 15y agoSpoiler: Tuesday was the name of his horse.
- hermannj314 15y agoI have two children. One of my children is a son born on a Tuesday. Of course, my wife is still pregnant with the 2nd, but she will be thrilled to know there is a better than average chance she is having a girl!
- adam-a 15y ago> I have two children. Child A is a boy, born on a Tuesday, what is the probability that child B is a boy? We have no knowledge of child B so the probability is even for it being a boy or a girl. > I have two children, at least one of them is a boy who is born on a Tuesday. What is the probability that I have two boys? We have incomplete knowledge of both children, we are constraining a probability space in 2 dimensions (i.e. the 2 children) rather than refining it down to 1 dimension as before. In this case the probability is 13/27 as these tables (http://news.ycombinator.com/item?id=3290349 http://news.ycombinator.com/item?id=3290349) nicely show. When the father says "one is a son born on a tuesday" this can be read as him selecting a child and then asking you about the second or as giving you some information that can apply to either child and then asking you about both. In my opinion the language used leads much more easily to the first interpretation, this is the reason surely for the confusion.
- Rhapso 15y agoI think you a few words. I have only 1 son who was born on a Tuesday. Basing this on ambiguity of phrasing is not novel, or interesting.
- deleted 15y ago[deleted]
- tzs 15y agoP(two boys, at least one on tuesday) = 1/4 (1 - 6/7 6/7). The 1/4 is the probability of two boys, and the 1 - 6/7 6/7 is the probability at least one is born on tuesday. P(one boy, one girl, boy on tuesday) = 1/2 * 1/7. The 1/2 is the probability of having one boy, one girl, and the 1/7 is the probability that the boy was born on tuesday. The man can make his statement if either of the above is true, and they are disjoint, so their sum gives the probability that he has two children, one a boy born on tuesday. The ratio of the first to the second is the probability that both are boys. Plug in the numbers and you indeed get the 13/27 the article claims.
- hwiechers 15y agoI finally understand it. Here are my events (taking 2 children as given): B = I have a boy BT = I have a boy and he was born on Tuesday 2B = I have 2 boys B+G = I have a boy and a firl Using Bayes' Theorem: Pr(2B|BT) = Pr(BT|2B)Pr(2B)/c Pr(B+G|BT) = Pr(BT|B+G)Pr(B+G)/c where c = Pr(2B|BT) + Pr(B+G|BT) Pr(BT|2B) = 1/7 + 1/7 - 1/49 = 13/49 Pr(2B) = 1/4 Pr(BT|B+G) = 1/7 PR(B+G) = 1/2 So c = 13/49 * 1/4 + 1/7 * 1/2 = 27/49 Pr(2B|BT and 2C) = (13/49 * 1/4) / (27/49) = 13/27 Pr(B+G| BT and 2C) = (1/7 * 1/2) / (27/49) = 14/27 They main reason Pr(2B|BT) is around 50% is that Pr(2B|BT) is proportional to Pr(BT|2B) while Pr(B+G|BT) is proportional to Pr(BT|B+G) and Pr(BT|2B) is about 2 * Pr(BT|B+G). It's much more likely you have a boy born on Tuesday given that you have 2 boys (rather than you have a girl and a boy) so it's more likely that you have 2 boys given that we know you have a boy born on Tuesday.