| Conclusions | Generating random integers within a desired range | |||||
index | ||||||
Back to Deley's Homepage | ||||||

![]() |
![]() |

| A mother has two children. The younger one is a daughter named Mary. What is the probability that the other child is a girl? |
| A mother has two children. The older one is a daughter named Mary. What is the probability that the other child is a girl? |
| A mother has two children. One of them is a daughter. What is the probability that the other child is a girl? |
| A mother has two children. One of them is a daughter named Mary. What is the probability that the other child is a girl? |
How to Lie With Statistics
by Darrell Huff, Irving Geis (Illustrator) (1954){1 & 2} {3}
And here's the math, in case anyone cares. Again, a proper use of Bayes'
Theorem is required to mathematically solve this problem. Bayes' Theorem
tells us how to properly update the odds after we are given new information,
the new information being: The grand prize is not behind door number
<whatever door Monty opens>
For this analysis let's label the doors {A,B,C}.
The a priori probability that the prize is behind any door X, P(X) = 1/3
Let's examine the case where the contestant selects door A, and Monty
then opens door B.
The probability that Monty Hall opens door B if the prize were behind A,
P(Monty opens B|A) = 1/2
The probability that Monty Hall opens door B if the prize were behind B,
P(Monty opens B|B) = 0
The probability that Monty Hall opens door B if the prize were behind C,
P(Monty opens B|C) = 1
(Note: for the following M.o. = Monty opens)
The probability that Monty Hall opens door B is then
p(Monty opens B) = p(A)*p(M.o. B|A) + p(B)*p(M.o. B|B) + p(C)*p(M.o. B|C)
= 1/6 + 0 + 1/3 = 1/2
Then, by Bayes' Theorem,
P(A|Monty opens B) = p(A)*p(Monty opens B|A)/p(Monty opens B)
= (1/6)/(1/2)
= 1/3
and
P(C|Monty opens B) = p(C)*p(Monty opens B|C)/p(Monty opens B)
= (1/3)/(1/2)
= 2/3
In other words, the probability that the prize is behind door C is higher
when Monty opens door B, and you SHOULD switch!
| Pr(A>B and A>C) | = | Pr(A>B | and | A>C | | | A=3 | ) | * | PR(A=3) | |||
| = | .54 | * | .56 | * | 1 | |||||||
| = | .3024 | |||||||||||
| Thus A is the most effective drug ~ 30% of the time. | ||||||||||||
| Pr(B>A and B>C) | = | Pr(B>A | and | B>C | | | B=1 | ) | * | Pr(B=1) | |
| + | Pr(B>A | and | B>C | | | B=5 | ) | * | Pr(B=5) | ||
| = | 0 | * | .56 | * | .54 | |||||
| + | 1 | * | .78 | * | .46 | |||||
| = | .3588 | |||||||||
| Thus B is the most effective drug ~ 36% of the time. | ||||||||||
| Pr(C>A | and | C>B | ) | = | Pr(C>A | * | C>B | | | C=2 | ) | * | Pr(C=2) | |
| + | Pr(C>A | * | C>B | | | C=4 | ) | * | Pr(C=4) | |||||
| + | Pr(C>A | * | C>B | | | C=6 | ) | * | Pr(C=6) | |||||
| = | .3388 | ||||||||||||
| Thus C is the most effective drug ~ 34% of the time. | |||||||||||||
| A is the most effective drug | ~ 30% | of the time. |
| B is the most effective drug | ~ 36% | of the time. Most effective most of the time. |
| C is the most effective drug | ~ 34% | of the time. |
| = 100% |
| Answer 1: | 1/2 | The possibilities are Daughter-Girl, Daughter-Boy. | ||
| Answer 2: | 1/2 | The possibilities are Girl-Daughter, Boy-Daughter. | ||
| Answer 3: | 1/3 | The possibilities are Girl-Boy, Boy-Girl, Girl-Girl.
For a further analysis of Question 3 click here |
||
| Answer 4: | I'm not sure. Here's my guess: | |||
|
It depends on the probability of the mother naming both
her children Mary. If she names all her children Mary
then knowing one of them is named Mary doesn't help us
and the answer as you know from question 3 is 1/3. If
she names only one child Mary, then this uniquely
identifies the child and the probability is 1/2. That
is, there are two mutually exclusive possibilities: Mary
is the older child or Mary is the younger child. In
either case the probability of the other child being a
girl is 1/2. For a further analysis of Question 4 click here | ||||
| Conclusions | Generating random integers within a desired range | |||
index |
||||
Back to Deley's Homepage | ||||