Okay so in a discussion with a friend both Monty Hall problem and the two siblings with a specified gender of one came up.
Specifically discussed in: On “Let’s Make a Deal,” you pick Door #1. Monty opens Door #2 — no prize. Do you stay with Door #1 or switch to #3? - The Straight Dope
I’m not sure about the Monty Hall problem, but I’ve done Science™ on this claim:
[QUOTE=Cecil]
There is a family with two children. You have been told this family has a daughter. What are the odds they also have a son, assuming the biological odds of having a male or female child are equal? (Answer: 2/3.)
[/quote]
Further explained as:
[QUOTE=Cecil]
The second question is much the same. The possible gender combinations for two children are:
(1) Child A is female and Child B is male.
(2) Child A is female and Child B is female.
(3) Child A is male and Child B is female.
(4) Child A is male and Child B is male.
We know one child is female, eliminating choice #4. In 2 of the remaining 3 cases, the female child’s sibling is male. QED.
[/quote]
Basically the logic here is there is 3 sets: M-F, F-F, and F-M. therefore each has about 1/3 chance of happening. Two sets opposite sex, therefore opposite sex is 2/3.
This just doesn’t hold up though.F-M, and M-F are same set, just rearranged. The logical fallacy here is copying a set, flipping it around and saying it’s a different, but possible set.
The right answer is 1/2 or 50%.
To prove it I spent all of 10 minutes writing this JavaScript. I subsisted 1 and 0 for genders.
It first randomly decides which comes first the known gender or the unknown. Then it assigns the gender to the unknown kid randomly. then adds one to either the M-M, F-m or M-F set depending on results.
<html>
<script>
var looper = 1;
var limiter=10000;
var boys = 0;
var girl1 = 0;
var girl2 = 0;
while(looper<=limiter) {
var tester = Math.round(Math.random());
if (tester==1) {
var kid1 = 1;
var kid2 = Math.round(Math.random());
}
else {
var kid1 = Math.round(Math.random());
var kid2 = 1;
}
if ((kid1==1) && (kid2==1)) {
boys++;
}
if ((kid1==0) && (kid2==1)) {
girl1++;
}
if ((kid1==1) && (kid2==0)) {
girl2++;
}
looper++;
}
var girltotal=girl1+girl2;
var percentg=Math.round(girltotal/limiter*100);
var percentb=Math.round(boys/limiter*100);
alert("boy boy is "+boys+". girl boy is "+girl1+". boy girl is "+girl2+". total percents are "+percentb+"% same sex and "+percentg+"%
opposite sex.");
</script>
</html>
The results:
~25% M-F
~25% F-M
~50% M-M.
Or 50% opposite, and 50%.same. Sometimes common sense is right.