25
$\begingroup$

The following probability question appeared in an earlier thread:

I have two children. One is a boy born on a Tuesday. What is the probability I have two boys?

The claim was that it is not actually a mathematical problem and it is only a language problem.


If one wanted to restate this problem formally the obvious way would be like so:

Definition: Sex is defined as an element of the set $\\{\text{boy},\text{girl}\\}$.

Definition: Birthday is defined as an element of the set $\\{\text{Monday},\text{Tuesday},\text{Wednesday},\text{Thursday},\text{Friday},\text{Saturday},\text{Sunday}\\}$

Definition: A Child is defined to be an ordered pair: (sex $\times$ birthday).

Let $(x,y)$ be a pair of children,

Define an auxiliary predicate $H(s,b) :\\!\\!\iff s = \text{boy} \text{ and } b = \text{Tuesday}$.

Calculate $P(x \text{ is a boy and } y \text{ is a boy}|H(x) \text{ or } H(y))$

I don't see any other sensible way to formalize this question.


To actually solve this problem now requires no thought (infact it is thinking which leads us to guess incorrect answers), we just compute

$$ \begin{align*} & P(x \text{ is a boy and } y \text{ is a boy}|H(x) \text{ or } H(y)) \\\\ =& \frac{P(x\text{ is a boy and }y\text{ is a boy and }(H(x)\text{ or }H(y)))} {P(H(x)\text{ or }H(y))} \\\\ =& \frac{P((x\text{ is a boy and }y\text{ is a boy and }H(x))\text{ or }(x\text{ is a boy and }y\text{ is a boy and }H(y)))} {P(H(x)) + P(H(y)) - P(H(x))P(H(y))} \\\\ =& \frac{\begin{align*} &P(x\text{ is a boy and }y\text{ is a boy and }x\text{ born on Tuesday}) \\\\ + &P(x\text{ is a boy and }y\text{ is a boy and }y\text{ born on Tuesday}) \\\\ - &P(x\text{ is a boy and }y\text{ is a boy and }x\text{ born on Tuesday and }y\text{ born on Tuesday}) \\\\ \end{align*}} {P(H(x)) + P(H(y)) - P(H(x))P(H(y))} \\\\ =& \frac{1/2 \cdot 1/2 \cdot 1/7 + 1/2 \cdot 1/2 \cdot 1/7 - 1/2 \cdot 1/2 \cdot 1/7 \cdot 1/7} {1/2 \cdot 1/7 + 1/2 \cdot 1/7 - 1/2 \cdot 1/7 \cdot 1/2 \cdot 1/7} \\\\ =& 13/27 \end{align*} $$


Now what I am wondering is, does this refute the claim that this puzzle is just a language problem or add to it? Was there a lot of room for misinterpreting the questions which I just missed?

  • 0
    The "born on a Tuesday" question also came up here: http://math.stackexchange.com/questions/3278/probability-of-a-given-b/3357#33572010-09-11
  • 1
    In case you haven't found it yet, there is a plethora of opinions here: http://sciencenews.org/view/generic/id/60598/title/When_intuition_and_math_probably_look_wrong2010-09-11
  • 0
    I was particularly hoping that people would directly address my derivation as written and the interpretations I used here. (Hence actually writing them out as opposed to just giving the value 13/27).2010-09-11
  • 1
    So you are having a beer with a coworker. The coworker says "I have a sibling". What is the probability the sibling is a brother? Would the probability be different if I told you the coworker was female? I'm in the linguistic camp. (If it isn't obvious my co-worker scenerio is meant to parallel the two children problem. A family has two children; 1 is a boy, what is the probability the other is a boy. The answer is 2/3 but the coworker, the probability is 1/2)2016-01-18
  • 0
    Yes, yes, yes it is a language trick. With some mathematical aspects. I'll say more, it is a language trick with several nuances specific to english language.2018-06-07

9 Answers 9

31

There are even trickier aspects to this question. For example, what is the strategy of the guy telling you about his family? If he always mentions a boy first and not a daughter, we get one probability; if he talks about the sex of the first born child, we get a different probability. Your calculation makes a choice in this issue - you choose the version of "if the father has a boy and a girl, he'll mention the boy".

What I'm aiming to is this: the question is not well-defined mathematically. It has several possible interpretations, and as such the "problem" here is indeed of the language; or more correctly, the fact that a simple statement in English does not convey enough information to specify the precise model for the problem.

Let's look at a simplified version without days. The probability space for the make-up of the family is {BB, GB, BG, GG} (GB means "an older girl and a small boy", etc). We want to know what is $P(BB|A)$ where A is determined by the way we interpret the statement about the boys. Now let's look at different possible interpretations.

1) If there is a boy in the family, the statement will mention him. In this case A={BB,BG,GB} and so the probability is $1/3$.

2) If there is a girl in the family, the statement will mention her. In this case, since the statement talked about a boy, there are NO girls in the family. So A={BB} and so the probability is 1.

3) The statement talks about the sex of the firstborn. In this case A={BB,BG} and so the probability is $1/2$.

The bottom line: The statement about the family looks "constant" to us, but it must be looked as a function from the random state of the family - and there are several different possible functions, from which you must choose one otherwise no probabilistic analysis of the situation will make sense.

  • 1
    Gadi A, I don't understand what you are saying here. The problem says "I have two children. One is a boy born on a Tuesday" - this is all the information given. Are you referring to a similar problem which is stated in different wording?2010-09-11
  • 6
    Nope. I'm saying that in order to give a probabilistic meaning to this statement, you need to attach probabilistic assumptions to it. In your case it seems you've chosen the assumption of "if there is a boy, a boy will be given in the statement". Other possible interpretations: "If there is a girl, a girl will be said" (so since a boy was said, there are no girls 100%), and "If there is a boy and a girl, one will be said at random" and "The sex of x is said" and so on. Forget about days - try to do the probability for these cases and see what happens.2010-09-11
  • 1
    I am really struggling to follow what you are saying, it's not clear to me why it appears I am making that assumption - or where the other possible ones come from. My priors are that there is uniform probability of being born of either sex and uniform probability of being born on any weekday.2010-09-11
  • 6
    This is of course correct, but you must also take into account the question of how the statement "I have a boy" comes to be. I've tried to elaborate in my answer.2010-09-11
  • 0
    "I have a boy" is not one of the statements. Regarding "what is the strategy of the guy": I don't think of this problem as a game theory thing, in any case: since we do not know the strategy of the guy we must sum over all strategies - this is an impossible type of impredicative quantification so treating the problem this way erases its meaning.2010-09-11
  • 3
    The statement (ignoring the day red herring) is "I have two children. One is a boy." As I said before, this statement should be considered as part of the probabilistic scenario otherwise the problem is simply not well-defined.2010-09-11
  • 0
    You have both said that day is a red herring :S - but it changes the probability.. I don't agree that it is a red herring.2010-09-11
  • 5
    What I meant was that adding the day does not affect the "strangeness" of the situation. However, I'm not sure if it's the strangeness that interests you. The main point is that it's called "a language problem" because different mathematical interpretations of the same English statement yield different mathematical models, and hence different mathematical results - and so for every intuition about the problem there is a interpretation in which the result is counter-intuitive.2010-09-11
  • 1
    Well done, Gadi: nice discussion and follow up.2010-09-11
  • 1
    @Gadi: I do not agree. I think you are making confusion with similar sounding problems like the Monty Hall one. In this case there is a very precise information; there is no need to speculate why the parent gave this piece of information instead of another one. Of course he/she might have said other things, for instance "I have a boy which is not born on Sunday", and you would obtain a different question, but this does not affect our problem.2010-09-11
  • 0
    This highly depends on the presentation of the problem; sometimes it's phrased like "you visit your friend's home and a boy answers the door; what's the probability the other child is a girl?" which is more ambiguous. I think that many people treat "our" case with similar assumptions in mind, hence resulting in what seems like illogical results.2010-09-11
  • 1
    @Andrea: the difficulty (that is, the ambiguity) in this problem is of the same type as in the Monty Hall problem.2010-09-11
  • 0
    @T. No, it is not. In the Monty Hall problem there is a random choice, and then the showman has to make a choice about which door to open (he certainly does not want to open the door with the goat). In this case, there is not a random choice, after which the parent has to reveal information (for instance a random question). It is just plain conditional probability: the fact that the parent reveals this piece of information has nothing to do with the fact that he/she could reveal another.2010-09-11
  • 1
    @Gadi The formulation you give is indeed ambiguous: we do not know a probability model for who goes to open the door. The formulation in the original question is unambiguous and indeed is a simple problem of conditional probability.2010-09-11
  • 0
    Well, the problem of whether the original question **is** ambiguous is a problem of language... If someone told me "I have two children. One of them is a boy. What is the sex of the other?" I won't guess "girl"; I'll ask him what was his guiding rule in deciding what to tell me. The similarity to Monty Hall here is that information is not only conveyed in what is said or done, but also in what is **not** said ("girl") or done (the door Monty does not open, which is guaranteed to have a prize unless you picked the door prize in the first place).2010-09-11
  • 0
    @Andrea: in the Monty Hall problem, as in this puzzle, the answer depends on the probabilistic algorithm that generates the pair (all data, revealed data). If Monty opens a door only in the case when you have picked the door with a prize, then with probability 1 switching is a bad strategy. In this problem, if you are told about the boy's birth day only in case the other child is a girl (resp. boy) the probability is 0 (resp. 1). The parent revealing partial-data does not reveal what procedure was used to decide which subset of all-data to display. But the answer is procedure-dependent.2010-09-12
  • 2
    -1 As long as we agree "One is a boy born on a Tuesday" means "At least one is a boy born on a Tuesday", then the answer is 13/27. The statement puts the family in the set { families with 2 children, at least one of whom is a boy born on Tuesday } and then 13/27 is the probability that a family picked at random from this set has 2 boys. There is no ambiguity about it, and if you're unconvinced you can run a simulation as others have done below.2010-09-12
  • 2
    @Chris Card: it is not automatic that the distribution is equivalent to "family picked [uniformly] at random from the set" satifying the given information. If the information disclosure algorithm is, for example, to reveal the gender and Tuesday information for a boy child only if there is a second girl child, then the answer is 0, not 13/27.2010-09-12
  • 0
    on that basis, you can assign any probability you want to the answer, by coming up with a suitable "disclosure algorithm". I think that's outside the spirit of the question. If you were doing an exam, and this question came up, I bet you'd answer 13/27 (assuming you wanted the marks!)2010-09-13
  • 0
    after all, there are a lot of other hidden (but reasonable) assumptions made, e.g. the probability of having a boy is 0.5; the gender of the second child is independent of the gender of the first child; the probabilities are the same everywhere; and so on.2010-09-13
  • 1
    The problem is that is student A answered in the exam with the assumption that the algorithm is "if there's a boy, say it", and student B with the algorithm "if there are both a boy and a girl, choose one at random", and you'll give full points to A but not to B, then B can argue that his line of reasoning is also intuitive and should be accepted. I think that in this case it's problematic turning down student B, and I'd say that it's "your fault" for giving a question which is ambiguously phrased.2010-09-13
  • 0
    If it is in a maths exam, specifically on the subject of probability, then it is expected that the analysis should start from the first principles, i.e. what is the set of all possibilities, what are their probabilities, and so on. Of course, the questions should be stated as unambiguously as possible, but maths is not about trying to divine the intentions of some fictional person. If it was a philosophy or linguistics exam, you might have a point, but then the idea would be to explore the language, not calculate a probability.2010-09-13
  • 4
    Exactly; this is why this question, in its ambiguous phrasing, would make a poor exam question. Since there are several acceptable formulations "from first principles" of this problem.2010-09-15
  • 1
    **-1, this answer is incorrect.** See [KalEl's answer](http://math.stackexchange.com/questions/4400/boy-born-on-a-tuesday-is-it-just-a-language-trick/4409#4409) for a correct explanation.2010-12-21
  • 0
    By this argument, any question that does not contain all relevant information is ambiguous - but in this question, one piece of very relevant undisclosed information is the actual gender of the other child. This argument would rule out as ambiguous any question containing any uncertainty: even "I have flipped a fair coin - what is the probability that it is heads-up?", as the actual state of the coin is part of the full information. If this view were correct, we could not use probability to reason about any situation involving uncertainty, which would, of course, render it pointless.2017-08-07
  • 0
    @sdenham, Wikipedia says it best: **The moral of the story is that these probabilities do not just depend on the known information, but on how that information was obtained.**2017-09-27
  • 0
    @sdenham, to put it in a real-world framework, let's consider causes of death. The *global* odds of getting killed by a shark are 1 in 3.7 million. Given a **randomly selected person** who died yesterday, what are the odds that that person was killed by a shark? Obviously, 1 in 3.7 million. Now, if *I* choose a person to tell you about, and I say, "Sally died yesterday," no further information, *you don't have any justification for thinking my choice was random.* Especially if I work at the society for the eradication of sharks. ;)2017-09-27
19

It is actually impossible to have a unique and unambiguous answer to the puzzle without explicitly articulating a probability model for how the information on gender and birthday is generated. The reason is that (1) for the problem to have a unique answer some random process is required, and (2) the answer is a function of which random model is used.

  1. The problem assumes that a unique probability can be deduced as the answer. This requires that the set of children described is chosen by a random process, otherwise the number of boys is a deterministic quantity and the probability would be 0 or 1 but with no ability to determine which is the case. More generally one can consider random processes that produce the complete set of information referenced in the problem: choose a parent, then choose what to reveal about the number, gender, and birth days of its children.

  2. The answer depends on which random process is used. If the Tuesday birth is disclosed only when there are two boys, the probability of two boys is 1. If Tuesday birth is disclosed only when there is a sister, the probability of two boys is 0. The answer could be any number between 0 or 1 depending on what process is assumed to produce the data.

There is also a linguistic question of how to interpret "one is a boy born on Tuesday". It could mean that the number of Tuesday-born males is exactly one, or at least one child.

  • 7
    +1. We have a reasonably standard jargon for specifying simple random processes in English. People come up with "puzzles" like this by exploiting the impreciseness of English for describing more complicated situations. If the person posing the question had directly stated the random process, nobody would be confused. The reason this is a "puzzle" is that it's worded too vaguely to convey the intended meaning. So @muad: any time someone asks you a probability "puzzle", you should simply press them about exactly what random process they have in mind. Then it will be easy.2010-09-12
  • 0
    What you call "a linguistic question" over what "one is a boy born on Tuesday" means is actually the observation that people are capable of misunderstanding even unambiguous language. I do not think this question is about that sort of misunderstanding, and it would be unchanged by substituting "at least one is a boy born on a Tuesday" for the above phrase. (comment reposted to correct an incorrect quote.)2017-08-07
  • 0
    @sdenham, no, that has absolutely nothing to do with it. Consider this puzzle (a real one): I am typing this comment on a laptop. I have worked in graphic design and I have worked as a sysadmin. **What is the probability that I am using a Mac?** This question, just like the original, is *impossible* to answer without a probability model being set up. It's actually a meaningless question.2017-09-27
10

I guess the following two versions of framing the question yield two different probabilities:

  1. Dave has two children. Is atleast one of them a boy who is born on Tuesday? Dave answers Yes.

  2. Dave has two children. I ask him to first choose and fix one child at random, and tell me if it is a boy who was born on Tuesday. Dave answers yes he is a boy born on Tuesday.

For 1st the probability (of both being boys) is 13/27, while for the second the probability is 1/2.

The way in which the question is asked, it's in line with 1st, hence the answer should be 13/27.

  • 3
    +1 for correct answer. More specifically, your first example is equivalent to the case where Dave *knows* the sex/birthdate of both children, while the second example is equivalent to the case where Dave *doesn't know* the sex/birthdate of both children; so what we have here is yet another question about knowledge-of-knowledge. See [this answer](http://math.stackexchange.com/questions/15055/in-a-family-with-two-children-what-are-the-chances-if-one-of-the-children-is-a/15085#15085) for more information.2010-12-21
  • 1
    Also, since there is - presumably - no ambiguity over whether or not Dave knows the sex of his children, there is indeed no ambiguity in the quesiton; the answer is correctly 13/27 *(the accepted answer, by Gadi, is incorrect)*.2010-12-21
  • 0
    @BlueRaja-DannyPflughoeft: The issue isn't whether Dave knows his children, but under what circumstances he made his statement. In other words if Dave says "I have two children, and at least one of them is a boy born on a Tuesday", the information conveyed by his statement depends on the space of possible ones. (You're assuming that the information conveyed is the content of his statement: and yes, the answer to "if we are given the information that Dave has a boy born on a Tuesday..." is indeed 13/27.) See [Tanya Khovanova's article "Martin Gardner's Mistake"](http://arxiv.org/abs/1102.0173).2014-01-17
  • 0
    No, I disagree with "the way in which the question is asked, it's in line with 1st". If the statement were a response to a random experiment where we ask random people if they have a boy born on Tuesday, yes, it would be in line with the 1st. That is certainly not the case here, however.2017-04-08
  • 2
    In my brain, I have an implicit prior distribution over the possible kids someone has and whether they are male or female. Upon hearing they have 2 kids, I update on them having 2 kids. Upon hearing that one of them is a boy, I update not on the fact that at least one is a boy, but rather on the fact that a random child of theirs was a boy -- in other words, mentally, I assume WLOG they are talking about a random child when they make the statement. Thus I get that the other child is equally likely a boy or a girl. "Boy born on tuesday" additionally does not affect it :)2017-04-08
  • 0
    @6005 Well, "I have two children. One is a boy born on a Tuesday." in colloquial terms is equivalent of saying "I have two children. Atleast one of the two children is a boy, born on Tuesday". The only way this can be wrong is normally when people say 'one' they mean 'exactly one' and not both. With this taken into account, the chance of both being boys is 6/13. But at this level it's a little vague... since Dave could very will say 'The other is also a boy born on Tuesday'.2017-06-05
  • 0
    @KalEl The common usage of "One is a boy born on a Tuesday" would definitely be "exactly one" not "at least one." The common usage is technically ambiguous, but basing your answer on the *less* common usage definitely seems suspect.2017-06-05
  • 0
    @KalEl It's at least one, of course. I get my answer by Bayes updating not on the fact "at least one is a boy", but instead "they said that one was a boy". The second is in contrast to the first when you realize people with two boys are more likely to say that.2017-06-06
  • 0
    I agree with (1) and (2) in your answer. The thing I object to is: "The way in which the question is asked, it's in line with 1st." That makes a nontrivial probabilistic assumption and sweeps the details under the rug. Namely, that the probability of me SAYING X is exactly the same as the probability that, had I been ASKED X, I would have answered yes. This assumption, by the way, is patently false.2017-06-06
3

There is always room for misinterpreting a question when one does not fully understand the language in which it is written. I think that the way mathematics and mathematicians use conditional probability is clear:

$$P(A|B)=P(A \cap B)/P(B).$$

So I believe that this is the interpretation that one should take, and thus arrive at your answer of 13/27, and not search for further nuances, which are not too difficult to find.

  • 4
    Conditional probability is not the issue. The problem is in defining what "P" is implied in the problem. Once a probability measure is specified ,of course it is then possible to use the formula for conditional probability.2010-09-11
  • 4
    So A = [Dave has 2 boys] and B = [Dave says "I have 2 children. One is a boy born on a Tuesday."]. The problem is that **we don't know P(B).** What space does Dave's statement come from? The only way to get the 13/27 answer is to make the unjustified unreasonable assumption that Dave is boy-centric & Tuesday-centric: if he has two sons born on Tue and Sun he will mention Tue; if he has a son & daughter both born on Tue he will mention the son, etc. See [this article](arxiv.org/abs/1102.0173). The information in [Dave says X] is not the same as [X]; it depends on what all Dave could have said.2011-05-05
3

Well, given the unstated assumption that the writer is a mathematician and therefore not using regular english, then I agree with the 13/27 answer.

But in everyday english, from "there are two fleems, one is a glarp" we all infer that the other is not a glarp.

From "there are two fleems, one is a glarp, which is snibble" we would still infer that the other is not a glarp. Whereas from "there are two fleems, one is a glarp which is snibble" (absence of comma, or when spoken, difference in intonation) we would infer that the other is not a snibble glarp, but it could still be an unsnibble glarp.

  • 0
    I see what you mean, Whether one interprets "One is ..." to mean "Exactly one (and no more) is ..." or "At least one ...". This would change the answer from 13/27 to 12/26. I don't think this ambiguity is an intentional part of the problem though - just an unfortunate problem of the language.2010-09-12
  • 2
    I think "But in everyday english, from "there are two fleems, one is a glarp" we all infer that the other is not a glarp." is debatable.2010-09-12
2

The Tuesday is a red herring. It's stated as a fact, thus the probability is 1. Also, it doesn't say "only one boy is born on a Tuesday". But indeed, this could be a language thing.

With 2 children you have the following possible combinations:
1. two girls
2. a boy and a girl
3. a girl and a boy
4. two boys

If at least 1 is a boy we only have to consider the last three combinations. That gives us one in three that both are boys.
The error which is often made is to consider 2. and 3. as a single combination.

edit
I find it completely counter-intuitive that the outcome is influenced by the day, and I simulated the problem for one million families with 2 kids. And lo and behold, the outcome is 12.99 in 27. I was wrong.

  • 0
    Note that this too may seem counter-intuitive: It means that if someone tells you "I have two children. One of them is a boy" the probability the the other one is a girl is 2/3, but you might expect 1/2 since the sex of the children is independent.2010-09-11
  • 0
    What you are saying here contradicts my derivation of 13/27 (which I cannot see any flaw in) - can you tell me if you think there is a mistake in my derivation?2010-09-11
  • 0
    @muad: there doesn't seem a mistake in your derivation; the error was in my intuition that the day couldn't possibly have anything to do with it.2010-09-12
  • 0
    I also had to write a computer simulation before I could believe the answer!2010-09-12
1

This, in my opinion, is why the intuitive approach fails:

One has a tendency to think that the probability of 7*P(b AND d1) = P(b AND d1) + P(b AND d2) + ... + P(b AND d7) = P((b AND d1) OR (b AND d2) OR ... OR (b AND d7)) = P(b AND (d1 OR d2 OR ... OR d7)) = P(b).

However, the flaw here is that, in reality, P(b AND d1) + P(b AND d2) + ... + P(b AND d7) is NOT equal to P((b AND d1) OR (b AND d2) OR ... OR (b AND d7)). This means that mentioning independent (and one might think irrelevant) information alongside with relevant information actually changes the resulting probabilities.

One interesting consequence: if I say something like "I have two children. One of them is a boy who was born at 10:24 PM on February 10th," The probability that I have two boys is now almost exactly the same as as the probability that I have a girl and a boy. Adding a unique or almost unique piece of information makes the stuff I want to know about the other child independent of the information I have on the first child. If I took this to the extreme and said that I have a firstborn boy, won't know anything additional about the other child.

  • 0
    What is an example of the "... is NOT equal ..."? (A well-specified probability model where the two sides of the equation are not the same.)2010-09-13
0

The problem lacks a scenario, "situation" or "experiment" [1], according to probability theory, and is therefore, as it stands, unsolvable.

However, assuming a general scenario supporting the problem description: walking down the street, I met a man claiming to have two children of which one boy born on a Tuesday. Is it more likely the other child is a boy, or the same? the correct answer is it is equally likely.

Notice how the problem now does not ask for exact probabilities, but rather which of two probabilities is higher. This is better because a lot of the man's actions can now be disregarded: his lying for example.

Assuming equal birth rates among boys and girls: a quick explanation of the answer: the man is just as likely to claim the sex and birth day of the other child. The situation is therefore symmetric, and it is really nothing special about the claim. The probability space can thusly be partitioned into two symmetric parts of equal probability: one where a claim is made about the firstborn, and the other about the second born. Since any such claim is made irrespective of the sex of the other child, its sex must be of equal probability. And since the two parts have equal probability, the sex of the other child has equal probability.

For a more thorough explanation, add a request in the comment section and I will update the answer.

[1] Wikipedia on "probability space"

-1

The VERY simple answer is that you can get rid of all ambiguity if you can clarify from what pool the parent was chosen. This allows you to restate the "probability" question as a "percentage" question, taking idealized percentages.

Consider:

Given a parent randomly selected from the pool of all parents who have two children where at least one of the children is a boy born on Tuesday, what is the probability that both children are boys?

This can be stated as a percentage question:

What percentage of (parents who have two children where at least one of the children is a boy born on Tuesday) have two boys?

By contrast, if the day was a matter of chance (not a restriction on the pool size), we get a different question:

Given a parent randomly selected from the pool of all parents who have two children at least one of whom is a boy, where after the random selection is made we shall be told the day of the week on which the boy was born (if there is only one boy) or if there are two boys we shall be told the day of the week on which a randomly chosen one of the two boys was born, what is the probability that both children are boys if the day we are told is Tuesday?

As you can see, in this setup the "Tuesday" part has absolutely no influence on the selection process, and can be entirely disregarded.

This is what is meant by Wikipedia's statement:

The moral of the story is that these probabilities do not just depend on the known information, but on how that information was obtained.


As a further note, you can't "prove" anything about the "actual" meaning by using computer simulations, because in order to program a computer simulation in the first place you must first disambiguate which scenario you are actually talking about. So the only thing a computer simulation can "prove" is how the programmer interpreted the question.