this post was submitted on 03 Dec 2023
421 points (100.0% liked)
196
16574 readers
1933 users here now
Be sure to follow the rule before you head out.
Rule: You must post before you leave.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
No. It's still 50-50. Observing doesn't change probabilities (except maybe in quantum lol). This isn't like the Monty Hall where you make a choice.
The problem is that you stopped your probably tree too early. There is the chance that the first kid is a boy, the chance the second kid is a boy, AND the chance that the first kid answered the door. Here is the full tree, the gender of the first kid, the gender of the second and which child opened the door, last we see if your observation (boy at the door) excludes that scenario.
1 2 D E
B B 1 N
B G 1 N
G B 1 Y
G G 1 Y
B B 2 N
B G 2 Y
G B 2 N
G G 2 Y
You can see that of the scenarios that are not excluded there are two where the other child is a boy and two there the other child is a girl. 50-50. Observing doesn't affect probabilities of events because your have to include the odds that you observe what you observed.
I was about to reply to you with a comment that started with "oh shit you're right!" But as I wrote it I started rethinking and I'm not sure now.
Because I actually don't think it matters whether we're BB1 or BB2. They're both only one generation of the four possible initial states. Which child opens the door is determined after the determination of which child is which gender. Basically, given that they have two boys, we're guaranteed to see a boy, so you shouldn't count it twice.
Still, I'm now no where near as confident in my answer as I was a moment ago. I might actually go and write the code to perform the experiment as I outlined in an earlier comment (let me know if you think that methodology is flawed/biased, and how you think it should be changed) to see what happens.
That's a great idea let me know how it turns out. If you randomly pick the genders and randomly pick who opens the door, I think it will be 50-50. With these kinds of things they can get pretty tricky. Just because an explanation seems to make sense doesn't mean it's right so I'm curious!
I put it together. Here's the code I wrote in Python.
And it turns out you were right. I ran it a few times and got answers ranging from 4942 to 5087, i.e., clustered around 50%.
That's cool. Always nice to see a practical example of theory. Thanks to you I got to brush up on my Python too! I think it all makes sense. Everything is random, you exclude examples where s girl comes to the door. The odds are 50-50. Looks like you were right in the end though, this DID stir quite a bit of conversation lol!
There've been a lot of times when I simply didn't believe something in statistics until I simulated it. Like this problem:
I have two children. One is a boy born on a Tuesday. What is the probability I have two boys?
I wanted to simulate that because the answer seems absurd. 13/27? Where does that even come from? I'm scared of snakes, so I use Baby's First Programming Language: Tasker.
Variable randomize %sex Min:1 Max:2
Variable randomize %day Min:1 Max:7
Variable set %child1 "%sex%day"
Variable randomize %sex Min:1 Max:2
Variable randomize %day Min:1 Max:7
Variable set %child2 "%sex%day"
Goto 1 IF %child1 != 11 AND %child2 != 11
Now I've generated two random children, at least one of which is 11–a specific sex born on a specific day.
Variable add %BoyGirl IF %child1 = 2* OR %child2 = 2*
Variable add %BoyBoy IF %child1 = 1* AND %child2 = 1*
If either child is a girl, it adds one to the BG bucket. If neither one is a girl, it adds one to the BB bucket.
Variable add %Counter
Goto 1 IF %Counter > 1,000
Hit play and yep, about 48% of families were BB. But remove the Tuesday part and just simulate the question "I have two children, and at least one of them is a boy," and it drops down to 33% again. I don't understand it, but apparently the math maths.
Ha. As someone from the "mathematics is shortened to maths" part of the world, this sounds weird to me. I'd probably say "the maths mathses". I just thought you might enjoy that.
Anyway, I Googled the problem you presented, and came across this excellent answer:
The whole answer is worth reading, but that part there is the crux of it. It goes back to one of my earliest comments on this topic in this thread. The problem isn't that maths is weird, it's that language's ability to describe mathematical problems is lacking. There are so many different ways to translate the described problem into mathematical formulae and they necessarily carry assumptions. Even far more subtle assumptions than I at first thought.
I know this wasn’t the main point of your comment, but to be grammatically correct, it would be “the maths math.”
Plural verbs go with their plural noun subject and don’t need the s:
And like you said, maths being short for mathematics means it’s plural.
Since using "maths" as a verb is very much nonstandard, I would argue against trying to apply any rigorous rules to it. It's about the vibes of the thing.
And this interaction is why lemmy (and others) is superior. No “fuck you, you’re wrong” just “well I think it’s this” followed by “okay, let me try that” 10/10
Yes! They responded to my comment before the edit, where I gave the coin example: "I flipped two coins, at least one of them was heads. What is the probability that both of them are heads?"
Before I read their reply, I edited it to the more confusing and infuriating two kids example. It's annoying because it seems like it should be the same as saying "I have two children, and at least one is a boy. What is the probability that I have two boys?" In both the coin case and this one, the answer is 1/3, but when one child answers the door, it's like sliding one quarter out from behind my hand. Now you know a particular (child, coin)'s (sex, face), and the answer is 50% again.