Live data from Hacker News

Coding Horror: The Problem of the Unfinished Game

codinghorror.com

1–10 of 33 posts

Re: Coding Horror: The Problem of the Unfinished Game

#6

Is not each birth an independent random event, and thus the likelihood that they would have a boy, given that they already have a girl, simply 50%?

The correct answer is 2/3 though. Check the Monty Hall problem for the explanation (this kind of problem is well known for having confused famous mathematicians like Erdös himself).

Re: Coding Horror: The Problem of the Unfinished Game

#7
post #5

Is not each birth an independent random event, and thus the likelihood that they would have a boy, given that they already have a girl, simply 50%?

That's the same reasoning I have. P(B|A) = P(B) for independent variables.

On the other hand, if a couple told you they had five kids, at least four are boys, you would say to yourself, "it's not very likely that any couple would have five boys", and you would be correct...

Re: Coding Horror: The Problem of the Unfinished Game

#8
Take a random parent with two children. You ask them if at least one is a boy and they say yes. The probability that the other is a girl is 66.6%

Take another random parent with two children. You ask them if the oldest child is a boy and they say yes. Now the probability that the other is a girl is 50%.

This confuses people. (The point is the second scenario gives you more information since it's a subset of the first.)

Re: Coding Horror: The Problem of the Unfinished Game

#9
post #5

Earlier quoted context omitted.

That's the same reasoning I have. P(B|A) = P(B) for independent variables.

On the other hand, if a couple told you they had five kids, at least four are boys, you would say to yourself, "it's not very likely that any couple would have five boys", and you would be correct...

Yes, BBBBB is rare. But BBBBG is just as rare (at least statistically. In practical terms, I suspect that having four boys in a row would be too exhausting and irritating, so they'd have given up by then).

Re: Coding Horror: The Problem of the Unfinished Game

#10

Earlier quoted context omitted.

On the other hand, if a couple told you they had five kids, at least four are boys, you would say to yourself, "it's not very likely that any couple would have five boys", and you would be correct...

Yes, BBBBB is rare. But BBBBG is just as rare (at least statistically. In practical terms, I suspect that having four boys in a row would be too exhausting and irritating, so they'd have given up by then).

Yeah, unless they have a lot of yard work they need done. Anyway, {BBBBG,BBBGB, BBGBB, BGBBB, GBBBB} is less rare.
Post reply on HN