Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah, the way the problem is formulated though there’s absolutely no indication that order matters so how are there two configurations within which there’s 1 boy and 1 girl?


Order doesn't matter in the sense that the observed data set is unordered (just counts of girls and boys). What matters is how many ways there are that the universe can give rise to those unordered data sets. And in fact, there are more ways that the universe can give rise to the unordered state 1 boy 1 girl, than to the unordered state 2 boys. For similar reasons , there are more ways in which your papers can be in a mess across your desk than ways in which your papers can be neatly piled up.

And to count how many ways the universe can give rise to the unordered data sets, the usual technique is to expand the unordered data sets into all the equivalent ordered data sets, and count the latter.


Another way to think about it is counting the probability of getting k boys out of 2 children.

  0 boys - 1/4
  1 boy - 1/2
  2 boys - 1/4
There's a half chance of getting exactly one boy, and one way to calculate this is by noticing there are two different ways to get one boy if we take order in account. You are right that the orderings don't matter in this case, so we could also e.g. model this with a binomial distribution. Once you know there are >= 1 boys, the chance you have two is 0.25/(0.25+0.5) = 1/3.


Because the order exists even if it doesn't matter (at least for two children, maybe not for two quantum particles).

With the risk of being accused of binarism, there are four distinct possibilities with (close to) equal a priory probability of 25%: older boy/younger boy, older boy/younger girl, older girl/younger boy, and older girl/younger girl.

Discarding the girl/girl case leaves three equally probable cases.


I immediately modelled the problem like you did, then I thought of this interesting variation:

"I have two children, Michael and Alex. Michael is a boy. What's the probability of both being boys?"

If you make a truth table with names as columns, you clearly have only two possibilities for Michael=1.

However if you pick older/younger again you're back to 3 possible states.

I think the answer is still 1/3, but it's a trickier one to reason about immediately.

It seems the question adds information by naming the children, but there's a hidden statement in the form "at least one of them is Michael", which invalidates a truth table with names as columns.

I can only conclude that birth order is an underlying property of the entity. A strict, real differentiator as much as sex is. Names aren't, so names don't add information in this case.

Is there a term for that? Or am I just wrong?


In the original problem you start by assuming 4 equally-probable cases Bb Bg Gb Gg [1] and you ask a question. Depending on the answer you are in the Bb/Bg/Gb or the Gg subsets.

In your variant you need additional assumptions. Will the person always tell you the sex and name of the eldest? Or the names of the boys?

“Michael is a boy” is not really different from “the youngest is a boy”. The probability of both being boys depends on why are you being told that.

[1] Depending in the context the assumption may not be appropriate (a extreme example may be China).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: