Boy-Girl probability question [closed]
up vote
3
down vote
favorite
You call to someone's house and asked if they have two children. The answer happens to be yes. Then you ask if one of their children's name a William. The answer happens to be yes again.(We assume William is a boy's name, and that it's possible that both children are Williams) What's the probability that the second child is a boy?
probability
New contributor
closed as off-topic by Jam, KReiser, NCh, user302797, choco_addicted Dec 11 at 7:07
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Jam, KReiser, NCh, user302797, choco_addicted
If this question can be reworded to fit the rules in the help center, please edit the question.
|
show 8 more comments
up vote
3
down vote
favorite
You call to someone's house and asked if they have two children. The answer happens to be yes. Then you ask if one of their children's name a William. The answer happens to be yes again.(We assume William is a boy's name, and that it's possible that both children are Williams) What's the probability that the second child is a boy?
probability
New contributor
closed as off-topic by Jam, KReiser, NCh, user302797, choco_addicted Dec 11 at 7:07
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Jam, KReiser, NCh, user302797, choco_addicted
If this question can be reworded to fit the rules in the help center, please edit the question.
2
Potentially a couple of interesting caveats to take care of in this formulation of the problem beyond the run-of-the-mill arithmetic. What are your thoughts? Where are you getting stuck?
– gt6989b
Dec 10 at 22:44
3
If a couple has two children, what's the probability that both are boys? That exactly one is?
– Ben W
Dec 10 at 22:49
3
Well, kudos to you for asking this in an unambiguous manner. This is a famous example but most of the time it is asked in an ambiguous manner. (Namely if one (not specified which) what is the prob of "the other" (not specified which).
– fleablood
Dec 10 at 23:07
4
@ebramos I think your formulation looks good. Except, the probability that someone has two children named William is very small.
– Doug M
Dec 10 at 23:53
1
Related: math.stackexchange.com/questions/1893041/…
– Henry
Dec 11 at 1:32
|
show 8 more comments
up vote
3
down vote
favorite
up vote
3
down vote
favorite
You call to someone's house and asked if they have two children. The answer happens to be yes. Then you ask if one of their children's name a William. The answer happens to be yes again.(We assume William is a boy's name, and that it's possible that both children are Williams) What's the probability that the second child is a boy?
probability
New contributor
You call to someone's house and asked if they have two children. The answer happens to be yes. Then you ask if one of their children's name a William. The answer happens to be yes again.(We assume William is a boy's name, and that it's possible that both children are Williams) What's the probability that the second child is a boy?
probability
probability
New contributor
New contributor
edited Dec 10 at 23:39
Jam
4,84211431
4,84211431
New contributor
asked Dec 10 at 22:39
ebramos
322
322
New contributor
New contributor
closed as off-topic by Jam, KReiser, NCh, user302797, choco_addicted Dec 11 at 7:07
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Jam, KReiser, NCh, user302797, choco_addicted
If this question can be reworded to fit the rules in the help center, please edit the question.
closed as off-topic by Jam, KReiser, NCh, user302797, choco_addicted Dec 11 at 7:07
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Jam, KReiser, NCh, user302797, choco_addicted
If this question can be reworded to fit the rules in the help center, please edit the question.
2
Potentially a couple of interesting caveats to take care of in this formulation of the problem beyond the run-of-the-mill arithmetic. What are your thoughts? Where are you getting stuck?
– gt6989b
Dec 10 at 22:44
3
If a couple has two children, what's the probability that both are boys? That exactly one is?
– Ben W
Dec 10 at 22:49
3
Well, kudos to you for asking this in an unambiguous manner. This is a famous example but most of the time it is asked in an ambiguous manner. (Namely if one (not specified which) what is the prob of "the other" (not specified which).
– fleablood
Dec 10 at 23:07
4
@ebramos I think your formulation looks good. Except, the probability that someone has two children named William is very small.
– Doug M
Dec 10 at 23:53
1
Related: math.stackexchange.com/questions/1893041/…
– Henry
Dec 11 at 1:32
|
show 8 more comments
2
Potentially a couple of interesting caveats to take care of in this formulation of the problem beyond the run-of-the-mill arithmetic. What are your thoughts? Where are you getting stuck?
– gt6989b
Dec 10 at 22:44
3
If a couple has two children, what's the probability that both are boys? That exactly one is?
– Ben W
Dec 10 at 22:49
3
Well, kudos to you for asking this in an unambiguous manner. This is a famous example but most of the time it is asked in an ambiguous manner. (Namely if one (not specified which) what is the prob of "the other" (not specified which).
– fleablood
Dec 10 at 23:07
4
@ebramos I think your formulation looks good. Except, the probability that someone has two children named William is very small.
– Doug M
Dec 10 at 23:53
1
Related: math.stackexchange.com/questions/1893041/…
– Henry
Dec 11 at 1:32
2
2
Potentially a couple of interesting caveats to take care of in this formulation of the problem beyond the run-of-the-mill arithmetic. What are your thoughts? Where are you getting stuck?
– gt6989b
Dec 10 at 22:44
Potentially a couple of interesting caveats to take care of in this formulation of the problem beyond the run-of-the-mill arithmetic. What are your thoughts? Where are you getting stuck?
– gt6989b
Dec 10 at 22:44
3
3
If a couple has two children, what's the probability that both are boys? That exactly one is?
– Ben W
Dec 10 at 22:49
If a couple has two children, what's the probability that both are boys? That exactly one is?
– Ben W
Dec 10 at 22:49
3
3
Well, kudos to you for asking this in an unambiguous manner. This is a famous example but most of the time it is asked in an ambiguous manner. (Namely if one (not specified which) what is the prob of "the other" (not specified which).
– fleablood
Dec 10 at 23:07
Well, kudos to you for asking this in an unambiguous manner. This is a famous example but most of the time it is asked in an ambiguous manner. (Namely if one (not specified which) what is the prob of "the other" (not specified which).
– fleablood
Dec 10 at 23:07
4
4
@ebramos I think your formulation looks good. Except, the probability that someone has two children named William is very small.
– Doug M
Dec 10 at 23:53
@ebramos I think your formulation looks good. Except, the probability that someone has two children named William is very small.
– Doug M
Dec 10 at 23:53
1
1
Related: math.stackexchange.com/questions/1893041/…
– Henry
Dec 11 at 1:32
Related: math.stackexchange.com/questions/1893041/…
– Henry
Dec 11 at 1:32
|
show 8 more comments
4 Answers
4
active
oldest
votes
up vote
6
down vote
The probability is $dfrac{1-p}{2-p}$, where $p<0.5$ is the probability that a child’s name is William. Represent the sample space of one child’s gender and name by $I$, a unit interval where numbers from $0$ to $0.5$ represent girls and numbers from $0.5$ to $1$ represent boys. Assume that like names are contiguous within the gender range, so there is a subinterval of width $p$ within $[0.5,1]$ that represents Williams.
The two children correspond to some point $(x,y)$ in $Itimes I$. Knowing nothing other than that the family has (exactly) two children puts no restriction on $(x,y)$. However, if you know one child is a William, you must be in the colored cross-shaped region shown in the picture. Within that region, the red area represents one-boy-and-one-girl families, and the blue area represents two-boy families.
The probability that you are in the blue region, given that you are in the cross-shaped region, is the quotient of areas blue/cross, or $dfrac{p-p^2}{2p-p^2}$.
Thanks. To be fair, I based it from an answer I gave a couple of years ago to a variation on the same question: math.stackexchange.com/questions/1582465/…
– Steve Kass
Dec 11 at 0:59
1
Well, estimating $p$ would be a great open-ended data science question! Good guesses for $p$ probably depend on when and where the encounter occurred, among other things. But in the real world, the probability that one family has two boys both named William is almost certainly not $p^2$, so this question is not very realistic.
– Steve Kass
Dec 11 at 1:40
1
@Steve Kass: I suggested renaming duplicate Williams, not removing their whole families! In the case of maximum p that will mean every family with a boy has a William and 1/3 of them have another boy. You can't just remove the little square from your diagram as the total area will no longer be 1. Assuming two-William families only rename one of them, the measure of the little square will be redistributed over the rest of the blue cross but the total measure of the blue region will not change. Nor does the red region, so the final ratio is also unchanged. However ...
– David Hartley
Dec 12 at 17:33
1
there are two problems with that argument. First, the answer has supposedly not changed, but it's a function of p, and p has changed since the overall number of Williams has been altered. Second, if duplicate Williams have their names changed, then so should duplicate other names. Some of those could get renamed William and that alters everything. I should have stuck with my original approach to the case where two Williams in the same family is not allowed, which won't fit in this comment ...
– David Hartley
Dec 12 at 18:14
1
Suppose two William's in the same family is not allowed. Let p be the probability that a boy who doesn't already have an elder brother called William, is named William himself. Simple use of Bayes' theorem gives the answer $(2-p)/(4-p)$ to the original question. This matches the answers which allow duplicates, in that p corresponds to 1/m in fleablood's answer and to 2p in Steve's and Jam's. That's what prompted my original comment that barring duplicates made no difference. You get the same expression in p, but of course p is defined in a different way.
– David Hartley
Dec 12 at 18:28
|
show 6 more comments
up vote
3
down vote
For sake of argument suppose $1$ in $m$ boys (but no girls) are named william. And for sake of argument in every family has two children and one of the children is soaked in skunk urine to tell it apart for the other.
$frac 12*frac 12$ of all families have two girls. None of them named william.
$frac 12*frac 12=frac 14$ of all families has one girl soaked in skunk urine and a clean boy.
So these families $frac 1m$ of them have the boy named william.
So $frac 1{4m}$ have a skunk urine girl and a boy named william and the other a girl.
$frac 12*frac 12=frac 14$ of all families has one girl clean and one boy soaked in skunk urine. Of these $frac 1{m}$ have a boy named william.
So $frac 1{4m}$ has skunk urine boy named william and the other a girl.
$frac 12*frac 12 = frac 14$ of all families have two boys.
$frac 1{m^2}$ or $frac 1{4m^2}$ of all families, of these both are named william.
$frac 1{m}frac {m-1}m$ or $frac {m-1}{4m^2}$ of all, of these the skunk urine one is called william and the other isn't.
$frac {m-1}mfrac 1{m}$ or $frac {m-1}{4m^2}$ of all, of the the clean boy is called william that the other isn't.
So $frac 1{4m^2} + frac {m-1}{4m^2} + frac {m-1}{4m^2}= frac {2m-1}{4m^2}$ of all families has a child name william and the other a boy.
And $frac 1{4m}+frac 1{4m}=frac 1{2m} = frac {2m}{4m^2}$ of all families have a child named william and the other a girl.
And there are $frac 1{4m^2} + frac {m-1}{4m^2} + frac {m-1}{4m^2}+frac 1{4m}+frac 1{4m} = frac {4m -1}{4m^2}$ of all families has a child named william.
So the probability of a family with two children, one william, having two boys is
$frac {frac {2m-1}{4m^2}}{frac {4m-1}{4m^2}} = frac {2m-1}{4m-1}approx frac 12$ (depending on how rare william is as a name)
and the probability of having a boy and a girl is $frac {2m}{4m-1}approx frac 12$.
....
There is a well known paradox that if a family with two children have at least one boy what is the probability that "the other" is a boy, or in other words what is the probability that they have two boys.
The answer is $frac 13$. This is because of the four possible outcomes, BB, BG, GB, GG, the GG is thrown away. SO of the three equally likely outcomes only one is $BB$.
But this question is worded differently. we are told specifically that a certain one of them is a boy, not just any of them.
(Let's assume they aren't both named william).
So of the four possibilities: William is a Boy: Boy, William is Boy: Girl, William is a girl:Boy, William is girl; Girl. Now 2 of them are thrown away and only William is a Boy: Boy, William is Boy: Girl are left. So the probability is now $frac 12$.
add a comment |
up vote
3
down vote
These questions are actually a lot of fun. Thank you for posting this!
A related question to this question is this:
You call households that have exactly two children. You ask whether one child is a boy. What is the probability that the second child is a boy.
Let A be the event that both children are girls, B the event that the first-born is a boy, the second-born a girl, C the event that the first-born is a girl the second-born a boy. and D the event that both children are boys. Then Events A,B,C,D are mutually disjoint and each occur with probability $frac{1}{4}$.
Let us assume that, instead of asking if one child is a boy, you ask if the first-born is a boy. They will say yes if either Events B or D occured. Then the probability that the second-born is a boy, given that the first-born is a boy (i.e., it was Event D that occurred given that one of D or B occurred), is 1/2.
But you are actually calling and asking if one child is a boy, and they will say yes if Events B,C, or D occurred. The only households that will say no are those for which event A occurred. So the probability that the other child is a girl, given
that one child is a boy, is the probability of either Event B or Event C happening given that one of Events B,C,D happened. So the probability that the other child is a girl is 2/3.
However, the above question is not equivalent to the original question. That only a small fraction William (as in about every other name). Here households with two boys will say yes at almost twice the rate that households will say yes to the question of "do you have a William", instead of at the same rate before. So as the fraction $p$ of Williams goes to 0, the probability that the 2nd child is a boy goes to 1/2. The calculations were already done in the other answers.
1
Unless William is a very common name, or strangely distributed, a family with two boys is roughly twice as likely to have one called William as a family with one boy. So among the families that can answer "yes" to "do you have a William?" there are (roughly) twice as many with two boys as there are among all families with two boys. Of course, overall families with one boy are twice as likely as those with two, so these factors cancel to give a roughly even chance in this case. Hence the result of about 1/2, as the other answers agree. (i.e for small values of p.)
– David Hartley
Dec 11 at 9:45
Hi @DavidHartley you are correct. I am editting my answer
– Mike
Dec 11 at 16:25
add a comment |
up vote
0
down vote
The crux of this problem is that the probability changes whether we find out that one of the children is William before or after we draw the family. See this paper for details. Assume that both sexes are equiprobable and that the probability of a child being a William is $p$. Denote Williams by $BW$ and male non-Williams by $B'$.
$$begin{array}{|c|c|c|}
hline
text{Child 1} & text{Child 2}&text{P(Both Children)}\
hline
BW&BW &p^2\
hline
BW&B'&pleft(frac12-pright)\
hline
BW&G½p\
hline
B'&BW&pleft(frac12-pright)\
hline
B'&B'&left(frac12-pright)^2\
hline
B'&G½left(frac12-pright)\
hline
G&BW½p\
hline
G&B'½left(frac12-pright)\
hline
G&G¼\
hline
end{array}\
$$
In this space, we can see that the probability of child $2$ being a boy after we've found out that child $1$ is a William is $P(B|W)=frac{P(Bland W)}{P(W)}=frac1pfrac{p^2+pleft(frac12-pright)}{p^2+2p(1/2-p)+p+(1/2-p)^2+(1/2-p)+(1/2)^2}=frac12$.
However, if we knew that the family had a William but not specifically that child $1$ was a William, we would have the following space.
begin{array}{|c|c|}
hline
text{Child 1} & text{Child 2} &text{P(Both Children)}\
hline
BW&BW&p^2\
hline
BW&B'&left(frac12-pright)p\
hline
BW&G½p\
hline
B'&BW&left(frac12-pright)p\
hline
G&BW½p\
hline
end{array}
So then the probability of the other child being a boy becomes $frac{p^2+left(frac12-pright)p+left(frac12-pright)p}{p^2+left(frac12-pright)p+frac12p+left(frac12-pright)p+frac12p}=frac{1-p}{2-p}$, which agrees with @Steve_Kass's answer. This is a variant of the well known paradox whose solution depends on the exact phrasing of the problem. In essence, the prior knowledge of changes the system.
But you are only taking cases of families with two children with one named william. Families with a boy named william and a sister are twice as common as families with a boy names william and a brother. (think about it). So the probability is 1/3.
– fleablood
Dec 10 at 23:34
Argh. I'm mistaken.
– fleablood
Dec 10 at 23:50
@fleablood So was I, to be fair.
– Jam
Dec 10 at 23:53
add a comment |
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
6
down vote
The probability is $dfrac{1-p}{2-p}$, where $p<0.5$ is the probability that a child’s name is William. Represent the sample space of one child’s gender and name by $I$, a unit interval where numbers from $0$ to $0.5$ represent girls and numbers from $0.5$ to $1$ represent boys. Assume that like names are contiguous within the gender range, so there is a subinterval of width $p$ within $[0.5,1]$ that represents Williams.
The two children correspond to some point $(x,y)$ in $Itimes I$. Knowing nothing other than that the family has (exactly) two children puts no restriction on $(x,y)$. However, if you know one child is a William, you must be in the colored cross-shaped region shown in the picture. Within that region, the red area represents one-boy-and-one-girl families, and the blue area represents two-boy families.
The probability that you are in the blue region, given that you are in the cross-shaped region, is the quotient of areas blue/cross, or $dfrac{p-p^2}{2p-p^2}$.
Thanks. To be fair, I based it from an answer I gave a couple of years ago to a variation on the same question: math.stackexchange.com/questions/1582465/…
– Steve Kass
Dec 11 at 0:59
1
Well, estimating $p$ would be a great open-ended data science question! Good guesses for $p$ probably depend on when and where the encounter occurred, among other things. But in the real world, the probability that one family has two boys both named William is almost certainly not $p^2$, so this question is not very realistic.
– Steve Kass
Dec 11 at 1:40
1
@Steve Kass: I suggested renaming duplicate Williams, not removing their whole families! In the case of maximum p that will mean every family with a boy has a William and 1/3 of them have another boy. You can't just remove the little square from your diagram as the total area will no longer be 1. Assuming two-William families only rename one of them, the measure of the little square will be redistributed over the rest of the blue cross but the total measure of the blue region will not change. Nor does the red region, so the final ratio is also unchanged. However ...
– David Hartley
Dec 12 at 17:33
1
there are two problems with that argument. First, the answer has supposedly not changed, but it's a function of p, and p has changed since the overall number of Williams has been altered. Second, if duplicate Williams have their names changed, then so should duplicate other names. Some of those could get renamed William and that alters everything. I should have stuck with my original approach to the case where two Williams in the same family is not allowed, which won't fit in this comment ...
– David Hartley
Dec 12 at 18:14
1
Suppose two William's in the same family is not allowed. Let p be the probability that a boy who doesn't already have an elder brother called William, is named William himself. Simple use of Bayes' theorem gives the answer $(2-p)/(4-p)$ to the original question. This matches the answers which allow duplicates, in that p corresponds to 1/m in fleablood's answer and to 2p in Steve's and Jam's. That's what prompted my original comment that barring duplicates made no difference. You get the same expression in p, but of course p is defined in a different way.
– David Hartley
Dec 12 at 18:28
|
show 6 more comments
up vote
6
down vote
The probability is $dfrac{1-p}{2-p}$, where $p<0.5$ is the probability that a child’s name is William. Represent the sample space of one child’s gender and name by $I$, a unit interval where numbers from $0$ to $0.5$ represent girls and numbers from $0.5$ to $1$ represent boys. Assume that like names are contiguous within the gender range, so there is a subinterval of width $p$ within $[0.5,1]$ that represents Williams.
The two children correspond to some point $(x,y)$ in $Itimes I$. Knowing nothing other than that the family has (exactly) two children puts no restriction on $(x,y)$. However, if you know one child is a William, you must be in the colored cross-shaped region shown in the picture. Within that region, the red area represents one-boy-and-one-girl families, and the blue area represents two-boy families.
The probability that you are in the blue region, given that you are in the cross-shaped region, is the quotient of areas blue/cross, or $dfrac{p-p^2}{2p-p^2}$.
Thanks. To be fair, I based it from an answer I gave a couple of years ago to a variation on the same question: math.stackexchange.com/questions/1582465/…
– Steve Kass
Dec 11 at 0:59
1
Well, estimating $p$ would be a great open-ended data science question! Good guesses for $p$ probably depend on when and where the encounter occurred, among other things. But in the real world, the probability that one family has two boys both named William is almost certainly not $p^2$, so this question is not very realistic.
– Steve Kass
Dec 11 at 1:40
1
@Steve Kass: I suggested renaming duplicate Williams, not removing their whole families! In the case of maximum p that will mean every family with a boy has a William and 1/3 of them have another boy. You can't just remove the little square from your diagram as the total area will no longer be 1. Assuming two-William families only rename one of them, the measure of the little square will be redistributed over the rest of the blue cross but the total measure of the blue region will not change. Nor does the red region, so the final ratio is also unchanged. However ...
– David Hartley
Dec 12 at 17:33
1
there are two problems with that argument. First, the answer has supposedly not changed, but it's a function of p, and p has changed since the overall number of Williams has been altered. Second, if duplicate Williams have their names changed, then so should duplicate other names. Some of those could get renamed William and that alters everything. I should have stuck with my original approach to the case where two Williams in the same family is not allowed, which won't fit in this comment ...
– David Hartley
Dec 12 at 18:14
1
Suppose two William's in the same family is not allowed. Let p be the probability that a boy who doesn't already have an elder brother called William, is named William himself. Simple use of Bayes' theorem gives the answer $(2-p)/(4-p)$ to the original question. This matches the answers which allow duplicates, in that p corresponds to 1/m in fleablood's answer and to 2p in Steve's and Jam's. That's what prompted my original comment that barring duplicates made no difference. You get the same expression in p, but of course p is defined in a different way.
– David Hartley
Dec 12 at 18:28
|
show 6 more comments
up vote
6
down vote
up vote
6
down vote
The probability is $dfrac{1-p}{2-p}$, where $p<0.5$ is the probability that a child’s name is William. Represent the sample space of one child’s gender and name by $I$, a unit interval where numbers from $0$ to $0.5$ represent girls and numbers from $0.5$ to $1$ represent boys. Assume that like names are contiguous within the gender range, so there is a subinterval of width $p$ within $[0.5,1]$ that represents Williams.
The two children correspond to some point $(x,y)$ in $Itimes I$. Knowing nothing other than that the family has (exactly) two children puts no restriction on $(x,y)$. However, if you know one child is a William, you must be in the colored cross-shaped region shown in the picture. Within that region, the red area represents one-boy-and-one-girl families, and the blue area represents two-boy families.
The probability that you are in the blue region, given that you are in the cross-shaped region, is the quotient of areas blue/cross, or $dfrac{p-p^2}{2p-p^2}$.
The probability is $dfrac{1-p}{2-p}$, where $p<0.5$ is the probability that a child’s name is William. Represent the sample space of one child’s gender and name by $I$, a unit interval where numbers from $0$ to $0.5$ represent girls and numbers from $0.5$ to $1$ represent boys. Assume that like names are contiguous within the gender range, so there is a subinterval of width $p$ within $[0.5,1]$ that represents Williams.
The two children correspond to some point $(x,y)$ in $Itimes I$. Knowing nothing other than that the family has (exactly) two children puts no restriction on $(x,y)$. However, if you know one child is a William, you must be in the colored cross-shaped region shown in the picture. Within that region, the red area represents one-boy-and-one-girl families, and the blue area represents two-boy families.
The probability that you are in the blue region, given that you are in the cross-shaped region, is the quotient of areas blue/cross, or $dfrac{p-p^2}{2p-p^2}$.
edited Dec 11 at 0:25
answered Dec 10 at 23:58
Steve Kass
11k11430
11k11430
Thanks. To be fair, I based it from an answer I gave a couple of years ago to a variation on the same question: math.stackexchange.com/questions/1582465/…
– Steve Kass
Dec 11 at 0:59
1
Well, estimating $p$ would be a great open-ended data science question! Good guesses for $p$ probably depend on when and where the encounter occurred, among other things. But in the real world, the probability that one family has two boys both named William is almost certainly not $p^2$, so this question is not very realistic.
– Steve Kass
Dec 11 at 1:40
1
@Steve Kass: I suggested renaming duplicate Williams, not removing their whole families! In the case of maximum p that will mean every family with a boy has a William and 1/3 of them have another boy. You can't just remove the little square from your diagram as the total area will no longer be 1. Assuming two-William families only rename one of them, the measure of the little square will be redistributed over the rest of the blue cross but the total measure of the blue region will not change. Nor does the red region, so the final ratio is also unchanged. However ...
– David Hartley
Dec 12 at 17:33
1
there are two problems with that argument. First, the answer has supposedly not changed, but it's a function of p, and p has changed since the overall number of Williams has been altered. Second, if duplicate Williams have their names changed, then so should duplicate other names. Some of those could get renamed William and that alters everything. I should have stuck with my original approach to the case where two Williams in the same family is not allowed, which won't fit in this comment ...
– David Hartley
Dec 12 at 18:14
1
Suppose two William's in the same family is not allowed. Let p be the probability that a boy who doesn't already have an elder brother called William, is named William himself. Simple use of Bayes' theorem gives the answer $(2-p)/(4-p)$ to the original question. This matches the answers which allow duplicates, in that p corresponds to 1/m in fleablood's answer and to 2p in Steve's and Jam's. That's what prompted my original comment that barring duplicates made no difference. You get the same expression in p, but of course p is defined in a different way.
– David Hartley
Dec 12 at 18:28
|
show 6 more comments
Thanks. To be fair, I based it from an answer I gave a couple of years ago to a variation on the same question: math.stackexchange.com/questions/1582465/…
– Steve Kass
Dec 11 at 0:59
1
Well, estimating $p$ would be a great open-ended data science question! Good guesses for $p$ probably depend on when and where the encounter occurred, among other things. But in the real world, the probability that one family has two boys both named William is almost certainly not $p^2$, so this question is not very realistic.
– Steve Kass
Dec 11 at 1:40
1
@Steve Kass: I suggested renaming duplicate Williams, not removing their whole families! In the case of maximum p that will mean every family with a boy has a William and 1/3 of them have another boy. You can't just remove the little square from your diagram as the total area will no longer be 1. Assuming two-William families only rename one of them, the measure of the little square will be redistributed over the rest of the blue cross but the total measure of the blue region will not change. Nor does the red region, so the final ratio is also unchanged. However ...
– David Hartley
Dec 12 at 17:33
1
there are two problems with that argument. First, the answer has supposedly not changed, but it's a function of p, and p has changed since the overall number of Williams has been altered. Second, if duplicate Williams have their names changed, then so should duplicate other names. Some of those could get renamed William and that alters everything. I should have stuck with my original approach to the case where two Williams in the same family is not allowed, which won't fit in this comment ...
– David Hartley
Dec 12 at 18:14
1
Suppose two William's in the same family is not allowed. Let p be the probability that a boy who doesn't already have an elder brother called William, is named William himself. Simple use of Bayes' theorem gives the answer $(2-p)/(4-p)$ to the original question. This matches the answers which allow duplicates, in that p corresponds to 1/m in fleablood's answer and to 2p in Steve's and Jam's. That's what prompted my original comment that barring duplicates made no difference. You get the same expression in p, but of course p is defined in a different way.
– David Hartley
Dec 12 at 18:28
Thanks. To be fair, I based it from an answer I gave a couple of years ago to a variation on the same question: math.stackexchange.com/questions/1582465/…
– Steve Kass
Dec 11 at 0:59
Thanks. To be fair, I based it from an answer I gave a couple of years ago to a variation on the same question: math.stackexchange.com/questions/1582465/…
– Steve Kass
Dec 11 at 0:59
1
1
Well, estimating $p$ would be a great open-ended data science question! Good guesses for $p$ probably depend on when and where the encounter occurred, among other things. But in the real world, the probability that one family has two boys both named William is almost certainly not $p^2$, so this question is not very realistic.
– Steve Kass
Dec 11 at 1:40
Well, estimating $p$ would be a great open-ended data science question! Good guesses for $p$ probably depend on when and where the encounter occurred, among other things. But in the real world, the probability that one family has two boys both named William is almost certainly not $p^2$, so this question is not very realistic.
– Steve Kass
Dec 11 at 1:40
1
1
@Steve Kass: I suggested renaming duplicate Williams, not removing their whole families! In the case of maximum p that will mean every family with a boy has a William and 1/3 of them have another boy. You can't just remove the little square from your diagram as the total area will no longer be 1. Assuming two-William families only rename one of them, the measure of the little square will be redistributed over the rest of the blue cross but the total measure of the blue region will not change. Nor does the red region, so the final ratio is also unchanged. However ...
– David Hartley
Dec 12 at 17:33
@Steve Kass: I suggested renaming duplicate Williams, not removing their whole families! In the case of maximum p that will mean every family with a boy has a William and 1/3 of them have another boy. You can't just remove the little square from your diagram as the total area will no longer be 1. Assuming two-William families only rename one of them, the measure of the little square will be redistributed over the rest of the blue cross but the total measure of the blue region will not change. Nor does the red region, so the final ratio is also unchanged. However ...
– David Hartley
Dec 12 at 17:33
1
1
there are two problems with that argument. First, the answer has supposedly not changed, but it's a function of p, and p has changed since the overall number of Williams has been altered. Second, if duplicate Williams have their names changed, then so should duplicate other names. Some of those could get renamed William and that alters everything. I should have stuck with my original approach to the case where two Williams in the same family is not allowed, which won't fit in this comment ...
– David Hartley
Dec 12 at 18:14
there are two problems with that argument. First, the answer has supposedly not changed, but it's a function of p, and p has changed since the overall number of Williams has been altered. Second, if duplicate Williams have their names changed, then so should duplicate other names. Some of those could get renamed William and that alters everything. I should have stuck with my original approach to the case where two Williams in the same family is not allowed, which won't fit in this comment ...
– David Hartley
Dec 12 at 18:14
1
1
Suppose two William's in the same family is not allowed. Let p be the probability that a boy who doesn't already have an elder brother called William, is named William himself. Simple use of Bayes' theorem gives the answer $(2-p)/(4-p)$ to the original question. This matches the answers which allow duplicates, in that p corresponds to 1/m in fleablood's answer and to 2p in Steve's and Jam's. That's what prompted my original comment that barring duplicates made no difference. You get the same expression in p, but of course p is defined in a different way.
– David Hartley
Dec 12 at 18:28
Suppose two William's in the same family is not allowed. Let p be the probability that a boy who doesn't already have an elder brother called William, is named William himself. Simple use of Bayes' theorem gives the answer $(2-p)/(4-p)$ to the original question. This matches the answers which allow duplicates, in that p corresponds to 1/m in fleablood's answer and to 2p in Steve's and Jam's. That's what prompted my original comment that barring duplicates made no difference. You get the same expression in p, but of course p is defined in a different way.
– David Hartley
Dec 12 at 18:28
|
show 6 more comments
up vote
3
down vote
For sake of argument suppose $1$ in $m$ boys (but no girls) are named william. And for sake of argument in every family has two children and one of the children is soaked in skunk urine to tell it apart for the other.
$frac 12*frac 12$ of all families have two girls. None of them named william.
$frac 12*frac 12=frac 14$ of all families has one girl soaked in skunk urine and a clean boy.
So these families $frac 1m$ of them have the boy named william.
So $frac 1{4m}$ have a skunk urine girl and a boy named william and the other a girl.
$frac 12*frac 12=frac 14$ of all families has one girl clean and one boy soaked in skunk urine. Of these $frac 1{m}$ have a boy named william.
So $frac 1{4m}$ has skunk urine boy named william and the other a girl.
$frac 12*frac 12 = frac 14$ of all families have two boys.
$frac 1{m^2}$ or $frac 1{4m^2}$ of all families, of these both are named william.
$frac 1{m}frac {m-1}m$ or $frac {m-1}{4m^2}$ of all, of these the skunk urine one is called william and the other isn't.
$frac {m-1}mfrac 1{m}$ or $frac {m-1}{4m^2}$ of all, of the the clean boy is called william that the other isn't.
So $frac 1{4m^2} + frac {m-1}{4m^2} + frac {m-1}{4m^2}= frac {2m-1}{4m^2}$ of all families has a child name william and the other a boy.
And $frac 1{4m}+frac 1{4m}=frac 1{2m} = frac {2m}{4m^2}$ of all families have a child named william and the other a girl.
And there are $frac 1{4m^2} + frac {m-1}{4m^2} + frac {m-1}{4m^2}+frac 1{4m}+frac 1{4m} = frac {4m -1}{4m^2}$ of all families has a child named william.
So the probability of a family with two children, one william, having two boys is
$frac {frac {2m-1}{4m^2}}{frac {4m-1}{4m^2}} = frac {2m-1}{4m-1}approx frac 12$ (depending on how rare william is as a name)
and the probability of having a boy and a girl is $frac {2m}{4m-1}approx frac 12$.
....
There is a well known paradox that if a family with two children have at least one boy what is the probability that "the other" is a boy, or in other words what is the probability that they have two boys.
The answer is $frac 13$. This is because of the four possible outcomes, BB, BG, GB, GG, the GG is thrown away. SO of the three equally likely outcomes only one is $BB$.
But this question is worded differently. we are told specifically that a certain one of them is a boy, not just any of them.
(Let's assume they aren't both named william).
So of the four possibilities: William is a Boy: Boy, William is Boy: Girl, William is a girl:Boy, William is girl; Girl. Now 2 of them are thrown away and only William is a Boy: Boy, William is Boy: Girl are left. So the probability is now $frac 12$.
add a comment |
up vote
3
down vote
For sake of argument suppose $1$ in $m$ boys (but no girls) are named william. And for sake of argument in every family has two children and one of the children is soaked in skunk urine to tell it apart for the other.
$frac 12*frac 12$ of all families have two girls. None of them named william.
$frac 12*frac 12=frac 14$ of all families has one girl soaked in skunk urine and a clean boy.
So these families $frac 1m$ of them have the boy named william.
So $frac 1{4m}$ have a skunk urine girl and a boy named william and the other a girl.
$frac 12*frac 12=frac 14$ of all families has one girl clean and one boy soaked in skunk urine. Of these $frac 1{m}$ have a boy named william.
So $frac 1{4m}$ has skunk urine boy named william and the other a girl.
$frac 12*frac 12 = frac 14$ of all families have two boys.
$frac 1{m^2}$ or $frac 1{4m^2}$ of all families, of these both are named william.
$frac 1{m}frac {m-1}m$ or $frac {m-1}{4m^2}$ of all, of these the skunk urine one is called william and the other isn't.
$frac {m-1}mfrac 1{m}$ or $frac {m-1}{4m^2}$ of all, of the the clean boy is called william that the other isn't.
So $frac 1{4m^2} + frac {m-1}{4m^2} + frac {m-1}{4m^2}= frac {2m-1}{4m^2}$ of all families has a child name william and the other a boy.
And $frac 1{4m}+frac 1{4m}=frac 1{2m} = frac {2m}{4m^2}$ of all families have a child named william and the other a girl.
And there are $frac 1{4m^2} + frac {m-1}{4m^2} + frac {m-1}{4m^2}+frac 1{4m}+frac 1{4m} = frac {4m -1}{4m^2}$ of all families has a child named william.
So the probability of a family with two children, one william, having two boys is
$frac {frac {2m-1}{4m^2}}{frac {4m-1}{4m^2}} = frac {2m-1}{4m-1}approx frac 12$ (depending on how rare william is as a name)
and the probability of having a boy and a girl is $frac {2m}{4m-1}approx frac 12$.
....
There is a well known paradox that if a family with two children have at least one boy what is the probability that "the other" is a boy, or in other words what is the probability that they have two boys.
The answer is $frac 13$. This is because of the four possible outcomes, BB, BG, GB, GG, the GG is thrown away. SO of the three equally likely outcomes only one is $BB$.
But this question is worded differently. we are told specifically that a certain one of them is a boy, not just any of them.
(Let's assume they aren't both named william).
So of the four possibilities: William is a Boy: Boy, William is Boy: Girl, William is a girl:Boy, William is girl; Girl. Now 2 of them are thrown away and only William is a Boy: Boy, William is Boy: Girl are left. So the probability is now $frac 12$.
add a comment |
up vote
3
down vote
up vote
3
down vote
For sake of argument suppose $1$ in $m$ boys (but no girls) are named william. And for sake of argument in every family has two children and one of the children is soaked in skunk urine to tell it apart for the other.
$frac 12*frac 12$ of all families have two girls. None of them named william.
$frac 12*frac 12=frac 14$ of all families has one girl soaked in skunk urine and a clean boy.
So these families $frac 1m$ of them have the boy named william.
So $frac 1{4m}$ have a skunk urine girl and a boy named william and the other a girl.
$frac 12*frac 12=frac 14$ of all families has one girl clean and one boy soaked in skunk urine. Of these $frac 1{m}$ have a boy named william.
So $frac 1{4m}$ has skunk urine boy named william and the other a girl.
$frac 12*frac 12 = frac 14$ of all families have two boys.
$frac 1{m^2}$ or $frac 1{4m^2}$ of all families, of these both are named william.
$frac 1{m}frac {m-1}m$ or $frac {m-1}{4m^2}$ of all, of these the skunk urine one is called william and the other isn't.
$frac {m-1}mfrac 1{m}$ or $frac {m-1}{4m^2}$ of all, of the the clean boy is called william that the other isn't.
So $frac 1{4m^2} + frac {m-1}{4m^2} + frac {m-1}{4m^2}= frac {2m-1}{4m^2}$ of all families has a child name william and the other a boy.
And $frac 1{4m}+frac 1{4m}=frac 1{2m} = frac {2m}{4m^2}$ of all families have a child named william and the other a girl.
And there are $frac 1{4m^2} + frac {m-1}{4m^2} + frac {m-1}{4m^2}+frac 1{4m}+frac 1{4m} = frac {4m -1}{4m^2}$ of all families has a child named william.
So the probability of a family with two children, one william, having two boys is
$frac {frac {2m-1}{4m^2}}{frac {4m-1}{4m^2}} = frac {2m-1}{4m-1}approx frac 12$ (depending on how rare william is as a name)
and the probability of having a boy and a girl is $frac {2m}{4m-1}approx frac 12$.
....
There is a well known paradox that if a family with two children have at least one boy what is the probability that "the other" is a boy, or in other words what is the probability that they have two boys.
The answer is $frac 13$. This is because of the four possible outcomes, BB, BG, GB, GG, the GG is thrown away. SO of the three equally likely outcomes only one is $BB$.
But this question is worded differently. we are told specifically that a certain one of them is a boy, not just any of them.
(Let's assume they aren't both named william).
So of the four possibilities: William is a Boy: Boy, William is Boy: Girl, William is a girl:Boy, William is girl; Girl. Now 2 of them are thrown away and only William is a Boy: Boy, William is Boy: Girl are left. So the probability is now $frac 12$.
For sake of argument suppose $1$ in $m$ boys (but no girls) are named william. And for sake of argument in every family has two children and one of the children is soaked in skunk urine to tell it apart for the other.
$frac 12*frac 12$ of all families have two girls. None of them named william.
$frac 12*frac 12=frac 14$ of all families has one girl soaked in skunk urine and a clean boy.
So these families $frac 1m$ of them have the boy named william.
So $frac 1{4m}$ have a skunk urine girl and a boy named william and the other a girl.
$frac 12*frac 12=frac 14$ of all families has one girl clean and one boy soaked in skunk urine. Of these $frac 1{m}$ have a boy named william.
So $frac 1{4m}$ has skunk urine boy named william and the other a girl.
$frac 12*frac 12 = frac 14$ of all families have two boys.
$frac 1{m^2}$ or $frac 1{4m^2}$ of all families, of these both are named william.
$frac 1{m}frac {m-1}m$ or $frac {m-1}{4m^2}$ of all, of these the skunk urine one is called william and the other isn't.
$frac {m-1}mfrac 1{m}$ or $frac {m-1}{4m^2}$ of all, of the the clean boy is called william that the other isn't.
So $frac 1{4m^2} + frac {m-1}{4m^2} + frac {m-1}{4m^2}= frac {2m-1}{4m^2}$ of all families has a child name william and the other a boy.
And $frac 1{4m}+frac 1{4m}=frac 1{2m} = frac {2m}{4m^2}$ of all families have a child named william and the other a girl.
And there are $frac 1{4m^2} + frac {m-1}{4m^2} + frac {m-1}{4m^2}+frac 1{4m}+frac 1{4m} = frac {4m -1}{4m^2}$ of all families has a child named william.
So the probability of a family with two children, one william, having two boys is
$frac {frac {2m-1}{4m^2}}{frac {4m-1}{4m^2}} = frac {2m-1}{4m-1}approx frac 12$ (depending on how rare william is as a name)
and the probability of having a boy and a girl is $frac {2m}{4m-1}approx frac 12$.
....
There is a well known paradox that if a family with two children have at least one boy what is the probability that "the other" is a boy, or in other words what is the probability that they have two boys.
The answer is $frac 13$. This is because of the four possible outcomes, BB, BG, GB, GG, the GG is thrown away. SO of the three equally likely outcomes only one is $BB$.
But this question is worded differently. we are told specifically that a certain one of them is a boy, not just any of them.
(Let's assume they aren't both named william).
So of the four possibilities: William is a Boy: Boy, William is Boy: Girl, William is a girl:Boy, William is girl; Girl. Now 2 of them are thrown away and only William is a Boy: Boy, William is Boy: Girl are left. So the probability is now $frac 12$.
answered Dec 11 at 0:19
fleablood
67.6k22684
67.6k22684
add a comment |
add a comment |
up vote
3
down vote
These questions are actually a lot of fun. Thank you for posting this!
A related question to this question is this:
You call households that have exactly two children. You ask whether one child is a boy. What is the probability that the second child is a boy.
Let A be the event that both children are girls, B the event that the first-born is a boy, the second-born a girl, C the event that the first-born is a girl the second-born a boy. and D the event that both children are boys. Then Events A,B,C,D are mutually disjoint and each occur with probability $frac{1}{4}$.
Let us assume that, instead of asking if one child is a boy, you ask if the first-born is a boy. They will say yes if either Events B or D occured. Then the probability that the second-born is a boy, given that the first-born is a boy (i.e., it was Event D that occurred given that one of D or B occurred), is 1/2.
But you are actually calling and asking if one child is a boy, and they will say yes if Events B,C, or D occurred. The only households that will say no are those for which event A occurred. So the probability that the other child is a girl, given
that one child is a boy, is the probability of either Event B or Event C happening given that one of Events B,C,D happened. So the probability that the other child is a girl is 2/3.
However, the above question is not equivalent to the original question. That only a small fraction William (as in about every other name). Here households with two boys will say yes at almost twice the rate that households will say yes to the question of "do you have a William", instead of at the same rate before. So as the fraction $p$ of Williams goes to 0, the probability that the 2nd child is a boy goes to 1/2. The calculations were already done in the other answers.
1
Unless William is a very common name, or strangely distributed, a family with two boys is roughly twice as likely to have one called William as a family with one boy. So among the families that can answer "yes" to "do you have a William?" there are (roughly) twice as many with two boys as there are among all families with two boys. Of course, overall families with one boy are twice as likely as those with two, so these factors cancel to give a roughly even chance in this case. Hence the result of about 1/2, as the other answers agree. (i.e for small values of p.)
– David Hartley
Dec 11 at 9:45
Hi @DavidHartley you are correct. I am editting my answer
– Mike
Dec 11 at 16:25
add a comment |
up vote
3
down vote
These questions are actually a lot of fun. Thank you for posting this!
A related question to this question is this:
You call households that have exactly two children. You ask whether one child is a boy. What is the probability that the second child is a boy.
Let A be the event that both children are girls, B the event that the first-born is a boy, the second-born a girl, C the event that the first-born is a girl the second-born a boy. and D the event that both children are boys. Then Events A,B,C,D are mutually disjoint and each occur with probability $frac{1}{4}$.
Let us assume that, instead of asking if one child is a boy, you ask if the first-born is a boy. They will say yes if either Events B or D occured. Then the probability that the second-born is a boy, given that the first-born is a boy (i.e., it was Event D that occurred given that one of D or B occurred), is 1/2.
But you are actually calling and asking if one child is a boy, and they will say yes if Events B,C, or D occurred. The only households that will say no are those for which event A occurred. So the probability that the other child is a girl, given
that one child is a boy, is the probability of either Event B or Event C happening given that one of Events B,C,D happened. So the probability that the other child is a girl is 2/3.
However, the above question is not equivalent to the original question. That only a small fraction William (as in about every other name). Here households with two boys will say yes at almost twice the rate that households will say yes to the question of "do you have a William", instead of at the same rate before. So as the fraction $p$ of Williams goes to 0, the probability that the 2nd child is a boy goes to 1/2. The calculations were already done in the other answers.
1
Unless William is a very common name, or strangely distributed, a family with two boys is roughly twice as likely to have one called William as a family with one boy. So among the families that can answer "yes" to "do you have a William?" there are (roughly) twice as many with two boys as there are among all families with two boys. Of course, overall families with one boy are twice as likely as those with two, so these factors cancel to give a roughly even chance in this case. Hence the result of about 1/2, as the other answers agree. (i.e for small values of p.)
– David Hartley
Dec 11 at 9:45
Hi @DavidHartley you are correct. I am editting my answer
– Mike
Dec 11 at 16:25
add a comment |
up vote
3
down vote
up vote
3
down vote
These questions are actually a lot of fun. Thank you for posting this!
A related question to this question is this:
You call households that have exactly two children. You ask whether one child is a boy. What is the probability that the second child is a boy.
Let A be the event that both children are girls, B the event that the first-born is a boy, the second-born a girl, C the event that the first-born is a girl the second-born a boy. and D the event that both children are boys. Then Events A,B,C,D are mutually disjoint and each occur with probability $frac{1}{4}$.
Let us assume that, instead of asking if one child is a boy, you ask if the first-born is a boy. They will say yes if either Events B or D occured. Then the probability that the second-born is a boy, given that the first-born is a boy (i.e., it was Event D that occurred given that one of D or B occurred), is 1/2.
But you are actually calling and asking if one child is a boy, and they will say yes if Events B,C, or D occurred. The only households that will say no are those for which event A occurred. So the probability that the other child is a girl, given
that one child is a boy, is the probability of either Event B or Event C happening given that one of Events B,C,D happened. So the probability that the other child is a girl is 2/3.
However, the above question is not equivalent to the original question. That only a small fraction William (as in about every other name). Here households with two boys will say yes at almost twice the rate that households will say yes to the question of "do you have a William", instead of at the same rate before. So as the fraction $p$ of Williams goes to 0, the probability that the 2nd child is a boy goes to 1/2. The calculations were already done in the other answers.
These questions are actually a lot of fun. Thank you for posting this!
A related question to this question is this:
You call households that have exactly two children. You ask whether one child is a boy. What is the probability that the second child is a boy.
Let A be the event that both children are girls, B the event that the first-born is a boy, the second-born a girl, C the event that the first-born is a girl the second-born a boy. and D the event that both children are boys. Then Events A,B,C,D are mutually disjoint and each occur with probability $frac{1}{4}$.
Let us assume that, instead of asking if one child is a boy, you ask if the first-born is a boy. They will say yes if either Events B or D occured. Then the probability that the second-born is a boy, given that the first-born is a boy (i.e., it was Event D that occurred given that one of D or B occurred), is 1/2.
But you are actually calling and asking if one child is a boy, and they will say yes if Events B,C, or D occurred. The only households that will say no are those for which event A occurred. So the probability that the other child is a girl, given
that one child is a boy, is the probability of either Event B or Event C happening given that one of Events B,C,D happened. So the probability that the other child is a girl is 2/3.
However, the above question is not equivalent to the original question. That only a small fraction William (as in about every other name). Here households with two boys will say yes at almost twice the rate that households will say yes to the question of "do you have a William", instead of at the same rate before. So as the fraction $p$ of Williams goes to 0, the probability that the 2nd child is a boy goes to 1/2. The calculations were already done in the other answers.
edited Dec 11 at 16:30
answered Dec 11 at 0:46
Mike
2,789211
2,789211
1
Unless William is a very common name, or strangely distributed, a family with two boys is roughly twice as likely to have one called William as a family with one boy. So among the families that can answer "yes" to "do you have a William?" there are (roughly) twice as many with two boys as there are among all families with two boys. Of course, overall families with one boy are twice as likely as those with two, so these factors cancel to give a roughly even chance in this case. Hence the result of about 1/2, as the other answers agree. (i.e for small values of p.)
– David Hartley
Dec 11 at 9:45
Hi @DavidHartley you are correct. I am editting my answer
– Mike
Dec 11 at 16:25
add a comment |
1
Unless William is a very common name, or strangely distributed, a family with two boys is roughly twice as likely to have one called William as a family with one boy. So among the families that can answer "yes" to "do you have a William?" there are (roughly) twice as many with two boys as there are among all families with two boys. Of course, overall families with one boy are twice as likely as those with two, so these factors cancel to give a roughly even chance in this case. Hence the result of about 1/2, as the other answers agree. (i.e for small values of p.)
– David Hartley
Dec 11 at 9:45
Hi @DavidHartley you are correct. I am editting my answer
– Mike
Dec 11 at 16:25
1
1
Unless William is a very common name, or strangely distributed, a family with two boys is roughly twice as likely to have one called William as a family with one boy. So among the families that can answer "yes" to "do you have a William?" there are (roughly) twice as many with two boys as there are among all families with two boys. Of course, overall families with one boy are twice as likely as those with two, so these factors cancel to give a roughly even chance in this case. Hence the result of about 1/2, as the other answers agree. (i.e for small values of p.)
– David Hartley
Dec 11 at 9:45
Unless William is a very common name, or strangely distributed, a family with two boys is roughly twice as likely to have one called William as a family with one boy. So among the families that can answer "yes" to "do you have a William?" there are (roughly) twice as many with two boys as there are among all families with two boys. Of course, overall families with one boy are twice as likely as those with two, so these factors cancel to give a roughly even chance in this case. Hence the result of about 1/2, as the other answers agree. (i.e for small values of p.)
– David Hartley
Dec 11 at 9:45
Hi @DavidHartley you are correct. I am editting my answer
– Mike
Dec 11 at 16:25
Hi @DavidHartley you are correct. I am editting my answer
– Mike
Dec 11 at 16:25
add a comment |
up vote
0
down vote
The crux of this problem is that the probability changes whether we find out that one of the children is William before or after we draw the family. See this paper for details. Assume that both sexes are equiprobable and that the probability of a child being a William is $p$. Denote Williams by $BW$ and male non-Williams by $B'$.
$$begin{array}{|c|c|c|}
hline
text{Child 1} & text{Child 2}&text{P(Both Children)}\
hline
BW&BW &p^2\
hline
BW&B'&pleft(frac12-pright)\
hline
BW&G½p\
hline
B'&BW&pleft(frac12-pright)\
hline
B'&B'&left(frac12-pright)^2\
hline
B'&G½left(frac12-pright)\
hline
G&BW½p\
hline
G&B'½left(frac12-pright)\
hline
G&G¼\
hline
end{array}\
$$
In this space, we can see that the probability of child $2$ being a boy after we've found out that child $1$ is a William is $P(B|W)=frac{P(Bland W)}{P(W)}=frac1pfrac{p^2+pleft(frac12-pright)}{p^2+2p(1/2-p)+p+(1/2-p)^2+(1/2-p)+(1/2)^2}=frac12$.
However, if we knew that the family had a William but not specifically that child $1$ was a William, we would have the following space.
begin{array}{|c|c|}
hline
text{Child 1} & text{Child 2} &text{P(Both Children)}\
hline
BW&BW&p^2\
hline
BW&B'&left(frac12-pright)p\
hline
BW&G½p\
hline
B'&BW&left(frac12-pright)p\
hline
G&BW½p\
hline
end{array}
So then the probability of the other child being a boy becomes $frac{p^2+left(frac12-pright)p+left(frac12-pright)p}{p^2+left(frac12-pright)p+frac12p+left(frac12-pright)p+frac12p}=frac{1-p}{2-p}$, which agrees with @Steve_Kass's answer. This is a variant of the well known paradox whose solution depends on the exact phrasing of the problem. In essence, the prior knowledge of changes the system.
But you are only taking cases of families with two children with one named william. Families with a boy named william and a sister are twice as common as families with a boy names william and a brother. (think about it). So the probability is 1/3.
– fleablood
Dec 10 at 23:34
Argh. I'm mistaken.
– fleablood
Dec 10 at 23:50
@fleablood So was I, to be fair.
– Jam
Dec 10 at 23:53
add a comment |
up vote
0
down vote
The crux of this problem is that the probability changes whether we find out that one of the children is William before or after we draw the family. See this paper for details. Assume that both sexes are equiprobable and that the probability of a child being a William is $p$. Denote Williams by $BW$ and male non-Williams by $B'$.
$$begin{array}{|c|c|c|}
hline
text{Child 1} & text{Child 2}&text{P(Both Children)}\
hline
BW&BW &p^2\
hline
BW&B'&pleft(frac12-pright)\
hline
BW&G½p\
hline
B'&BW&pleft(frac12-pright)\
hline
B'&B'&left(frac12-pright)^2\
hline
B'&G½left(frac12-pright)\
hline
G&BW½p\
hline
G&B'½left(frac12-pright)\
hline
G&G¼\
hline
end{array}\
$$
In this space, we can see that the probability of child $2$ being a boy after we've found out that child $1$ is a William is $P(B|W)=frac{P(Bland W)}{P(W)}=frac1pfrac{p^2+pleft(frac12-pright)}{p^2+2p(1/2-p)+p+(1/2-p)^2+(1/2-p)+(1/2)^2}=frac12$.
However, if we knew that the family had a William but not specifically that child $1$ was a William, we would have the following space.
begin{array}{|c|c|}
hline
text{Child 1} & text{Child 2} &text{P(Both Children)}\
hline
BW&BW&p^2\
hline
BW&B'&left(frac12-pright)p\
hline
BW&G½p\
hline
B'&BW&left(frac12-pright)p\
hline
G&BW½p\
hline
end{array}
So then the probability of the other child being a boy becomes $frac{p^2+left(frac12-pright)p+left(frac12-pright)p}{p^2+left(frac12-pright)p+frac12p+left(frac12-pright)p+frac12p}=frac{1-p}{2-p}$, which agrees with @Steve_Kass's answer. This is a variant of the well known paradox whose solution depends on the exact phrasing of the problem. In essence, the prior knowledge of changes the system.
But you are only taking cases of families with two children with one named william. Families with a boy named william and a sister are twice as common as families with a boy names william and a brother. (think about it). So the probability is 1/3.
– fleablood
Dec 10 at 23:34
Argh. I'm mistaken.
– fleablood
Dec 10 at 23:50
@fleablood So was I, to be fair.
– Jam
Dec 10 at 23:53
add a comment |
up vote
0
down vote
up vote
0
down vote
The crux of this problem is that the probability changes whether we find out that one of the children is William before or after we draw the family. See this paper for details. Assume that both sexes are equiprobable and that the probability of a child being a William is $p$. Denote Williams by $BW$ and male non-Williams by $B'$.
$$begin{array}{|c|c|c|}
hline
text{Child 1} & text{Child 2}&text{P(Both Children)}\
hline
BW&BW &p^2\
hline
BW&B'&pleft(frac12-pright)\
hline
BW&G½p\
hline
B'&BW&pleft(frac12-pright)\
hline
B'&B'&left(frac12-pright)^2\
hline
B'&G½left(frac12-pright)\
hline
G&BW½p\
hline
G&B'½left(frac12-pright)\
hline
G&G¼\
hline
end{array}\
$$
In this space, we can see that the probability of child $2$ being a boy after we've found out that child $1$ is a William is $P(B|W)=frac{P(Bland W)}{P(W)}=frac1pfrac{p^2+pleft(frac12-pright)}{p^2+2p(1/2-p)+p+(1/2-p)^2+(1/2-p)+(1/2)^2}=frac12$.
However, if we knew that the family had a William but not specifically that child $1$ was a William, we would have the following space.
begin{array}{|c|c|}
hline
text{Child 1} & text{Child 2} &text{P(Both Children)}\
hline
BW&BW&p^2\
hline
BW&B'&left(frac12-pright)p\
hline
BW&G½p\
hline
B'&BW&left(frac12-pright)p\
hline
G&BW½p\
hline
end{array}
So then the probability of the other child being a boy becomes $frac{p^2+left(frac12-pright)p+left(frac12-pright)p}{p^2+left(frac12-pright)p+frac12p+left(frac12-pright)p+frac12p}=frac{1-p}{2-p}$, which agrees with @Steve_Kass's answer. This is a variant of the well known paradox whose solution depends on the exact phrasing of the problem. In essence, the prior knowledge of changes the system.
The crux of this problem is that the probability changes whether we find out that one of the children is William before or after we draw the family. See this paper for details. Assume that both sexes are equiprobable and that the probability of a child being a William is $p$. Denote Williams by $BW$ and male non-Williams by $B'$.
$$begin{array}{|c|c|c|}
hline
text{Child 1} & text{Child 2}&text{P(Both Children)}\
hline
BW&BW &p^2\
hline
BW&B'&pleft(frac12-pright)\
hline
BW&G½p\
hline
B'&BW&pleft(frac12-pright)\
hline
B'&B'&left(frac12-pright)^2\
hline
B'&G½left(frac12-pright)\
hline
G&BW½p\
hline
G&B'½left(frac12-pright)\
hline
G&G¼\
hline
end{array}\
$$
In this space, we can see that the probability of child $2$ being a boy after we've found out that child $1$ is a William is $P(B|W)=frac{P(Bland W)}{P(W)}=frac1pfrac{p^2+pleft(frac12-pright)}{p^2+2p(1/2-p)+p+(1/2-p)^2+(1/2-p)+(1/2)^2}=frac12$.
However, if we knew that the family had a William but not specifically that child $1$ was a William, we would have the following space.
begin{array}{|c|c|}
hline
text{Child 1} & text{Child 2} &text{P(Both Children)}\
hline
BW&BW&p^2\
hline
BW&B'&left(frac12-pright)p\
hline
BW&G½p\
hline
B'&BW&left(frac12-pright)p\
hline
G&BW½p\
hline
end{array}
So then the probability of the other child being a boy becomes $frac{p^2+left(frac12-pright)p+left(frac12-pright)p}{p^2+left(frac12-pright)p+frac12p+left(frac12-pright)p+frac12p}=frac{1-p}{2-p}$, which agrees with @Steve_Kass's answer. This is a variant of the well known paradox whose solution depends on the exact phrasing of the problem. In essence, the prior knowledge of changes the system.
edited Dec 11 at 3:04
answered Dec 10 at 23:22
Jam
4,84211431
4,84211431
But you are only taking cases of families with two children with one named william. Families with a boy named william and a sister are twice as common as families with a boy names william and a brother. (think about it). So the probability is 1/3.
– fleablood
Dec 10 at 23:34
Argh. I'm mistaken.
– fleablood
Dec 10 at 23:50
@fleablood So was I, to be fair.
– Jam
Dec 10 at 23:53
add a comment |
But you are only taking cases of families with two children with one named william. Families with a boy named william and a sister are twice as common as families with a boy names william and a brother. (think about it). So the probability is 1/3.
– fleablood
Dec 10 at 23:34
Argh. I'm mistaken.
– fleablood
Dec 10 at 23:50
@fleablood So was I, to be fair.
– Jam
Dec 10 at 23:53
But you are only taking cases of families with two children with one named william. Families with a boy named william and a sister are twice as common as families with a boy names william and a brother. (think about it). So the probability is 1/3.
– fleablood
Dec 10 at 23:34
But you are only taking cases of families with two children with one named william. Families with a boy named william and a sister are twice as common as families with a boy names william and a brother. (think about it). So the probability is 1/3.
– fleablood
Dec 10 at 23:34
Argh. I'm mistaken.
– fleablood
Dec 10 at 23:50
Argh. I'm mistaken.
– fleablood
Dec 10 at 23:50
@fleablood So was I, to be fair.
– Jam
Dec 10 at 23:53
@fleablood So was I, to be fair.
– Jam
Dec 10 at 23:53
add a comment |
2
Potentially a couple of interesting caveats to take care of in this formulation of the problem beyond the run-of-the-mill arithmetic. What are your thoughts? Where are you getting stuck?
– gt6989b
Dec 10 at 22:44
3
If a couple has two children, what's the probability that both are boys? That exactly one is?
– Ben W
Dec 10 at 22:49
3
Well, kudos to you for asking this in an unambiguous manner. This is a famous example but most of the time it is asked in an ambiguous manner. (Namely if one (not specified which) what is the prob of "the other" (not specified which).
– fleablood
Dec 10 at 23:07
4
@ebramos I think your formulation looks good. Except, the probability that someone has two children named William is very small.
– Doug M
Dec 10 at 23:53
1
Related: math.stackexchange.com/questions/1893041/…
– Henry
Dec 11 at 1:32