# probabilities

**URL:** <https://boards.straightdope.com/t/probabilities/468293>\
**Category:** Factual Questions\
**Created:** [October 17, 2008, 12:08am UTC](https://boards.straightdope.com/t/probabilities/468293 "2008-10-17T00:08:42Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![dauerbach](https://avatars.discourse-cdn.com/v4/letter/d/c2a13f/32.png) [@dauerbach](https://boards.straightdope.com/u/dauerbach)\
**Post date:** [October 17, 2008, 12:08am UTC](https://boards.straightdope.com/t/probabilities/468293/1 "2008-10-17T00:08:42Z")

</div>

I am sitting here trying to set up a 2 x 2 table and keep coming up with funky results. The question is: Suppose that 30% of the population have characteristic A and 40% have charactersitic B. Assume that the probabilities are independent.

What is the probability that a person selected at random from this populateion will have both characteristics. I take this to be the union of  
of A and B and believe that the answer is .3 + .4 = .7. This is clearly not correct. It is way to high.

What is the probability of having Characeristic A among people who have charteristice B?

What is the probability of haing Chaacteristic A among peope who do not have characteristic B?

---

<div class="post-metadata">

**Author:** ![brazil84](https://avatars.discourse-cdn.com/v4/letter/b/8491ac/32.png) [@brazil84](https://boards.straightdope.com/u/brazil84)\
**Post date:** [October 17, 2008, 12:15am UTC](https://boards.straightdope.com/t/probabilities/468293/2 "2008-10-17T00:15:53Z")

</div>

> [@dauerbach](#):
>
> I am sitting here trying to set up a 2 x 2 table and keep coming up with funky results. The question is: Suppose that 30% of the population have characteristic A and 40% have charactersitic B. Assume that the probabilities are independent.
> 
> What is the probability that a person selected at random from this populateion will have both characteristics. I take this to be the union of  
> of A and B and believe that the answer is .3 + .4 = .7. This is clearly not correct. It is way to high.
> 
> What is the probability of having Characeristic A among people who have charteristice B?
> 
> What is the probability of haing Chaacteristic A among peope who do not have characteristic B?

Is this a homework assignment? 🙂 I’ll tell you what I think the answer is if you really want, but first, here’s a suggestion:

Imagine a hypothetical universe of 100 people. It’s often easier to think in terms of whole numbers than percentages.

---

<div class="post-metadata">

**Author:** ![Valgard](https://avatars.discourse-cdn.com/v4/letter/v/7feea3/32.png) [@Valgard](https://boards.straightdope.com/u/Valgard)\
**Post date:** [October 17, 2008, 12:24am UTC](https://boards.straightdope.com/t/probabilities/468293/3 "2008-10-17T00:24:25Z")

</div>

The union of two events (call them A and B) means “Either A occurs, or B occurs, or both occur”.

The intersection of A and B means “A and B both occur”.

The probability of a union is not the same as an intersection. You need to figure out which of these two situations you’re looking for and then do the calculation. The math is obviously very simple in your example, however I’ll note that your calc for a union is wrong…suppose that P(A) = 0.8 and P(B) = 0.9, would P(AuB) = 1.7?

---

<div class="post-metadata">

**Author:** ![dauerbach](https://avatars.discourse-cdn.com/v4/letter/d/c2a13f/32.png) [@dauerbach](https://boards.straightdope.com/u/dauerbach)\
**Post date:** [October 17, 2008, 12:35am UTC](https://boards.straightdope.com/t/probabilities/468293/4 "2008-10-17T00:35:24Z")

</div>

Well, one problem that I am encountering is that when I set up the 2 x 2 box, I end up with 200, rather than 100 individuals.

---

<div class="post-metadata">

**Author:** ![CookingWithGas](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/cookingwithgas/32/485_2.png) [@CookingWithGas](https://boards.straightdope.com/u/CookingWithGas)\
**Post date:** [October 17, 2008, 12:43am UTC](https://boards.straightdope.com/t/probabilities/468293/5 "2008-10-17T00:43:09Z")

</div>

I’m not sure what you’re putting in your 2x2 box but if you know the probabilities of two independent events, the probability of both of them occurring is the product of the two probabilities. That should launch you in the right direction.

(Also note that it’s against board rules to ask for help with homework, in case that’s what this is.)

---

<div class="post-metadata">

**Author:** ![dauerbach](https://avatars.discourse-cdn.com/v4/letter/d/c2a13f/32.png) [@dauerbach](https://boards.straightdope.com/u/dauerbach)\
**Post date:** [October 17, 2008, 12:48am UTC](https://boards.straightdope.com/t/probabilities/468293/6 "2008-10-17T00:48:12Z")

</div>

Actually, it is and it isn’t homework. I am following a couple of online (free) courses from MIT. So, I am out of school, and doing this for my own self interest. I have been doing well, but seem somewhat befuddled by this section of an Epidemiology course they are offering. Obviously, they provide no backup, given that they don’t even charge for the courses.

---

<div class="post-metadata">

**Author:** ![Bryan\_Ekers](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/bryan_ekers/32/183_2.png) [@Bryan\_Ekers](https://boards.straightdope.com/u/Bryan_Ekers)\
**Post date:** [October 17, 2008, 1:09am UTC](https://boards.straightdope.com/t/probabilities/468293/7 "2008-10-17T01:09:05Z")

</div>

> [@dauerbach](#):
>
> What is the probability of having Characeristic A among people who have charteristice B?

Well, if the possibilities are truly independent and 30% of the population has A, then logically 30% of the subpopulation that has B also has A.

brazil84’s suggestion of picturing 100 people is a sound one.

---

<div class="post-metadata">

**Author:** ![dauerbach](https://avatars.discourse-cdn.com/v4/letter/d/c2a13f/32.png) [@dauerbach](https://boards.straightdope.com/u/dauerbach)\
**Post date:** [October 17, 2008, 1:21am UTC](https://boards.straightdope.com/t/probabilities/468293/8 "2008-10-17T01:21:07Z")

</div>

Ok, so then the answer to the first question would be 12%.

The answer to the second questsion would also be 12%

And the answer to the third question would be 30%.

---

<div class="post-metadata">

**Author:** ![Indistinguishable](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@Indistinguishable](https://boards.straightdope.com/u/Indistinguishable)\
**Post date:** [October 17, 2008, 1:29am UTC](https://boards.straightdope.com/t/probabilities/468293/9 "2008-10-17T01:29:28Z")

</div>

I’d look at the second question again (specifically, I’d do so keeping in mind your reasoning regarding the third question). In case this is the issue, note that the probability of A among people who have B isn’t the same as the probability of having both A and B (e.g., the probability of owning a computer is nearly 100% among people with an SDMB account, while the global probability of both owning a computer and having an SDMB account is tiny).

---

<div class="post-metadata">

**Author:** ![Thudlow\_Boink](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/thudlow_boink/32/320_2.png) [@Thudlow\_Boink](https://boards.straightdope.com/u/Thudlow_Boink)\
**Post date:** [October 17, 2008, 1:50am UTC](https://boards.straightdope.com/t/probabilities/468293/10 "2008-10-17T01:50:26Z")

</div>

> [@Indistinguishable](#):
>
> I’d look at the second question again (specifically, I’d do so keeping in mind your reasoning regarding the third question). In case this is the issue, note that the probability of A among people who have B isn’t the same as the probability of having both A and B (e.g., the probability of owning a computer is nearly 100% among people with an SDMB account, while the global probability of both owning a computer and having an SDMB account is tiny).

In general, this is true, but the OP said he was assuming that the probabilities were independent—which means that the probability of having A is the same regardless of whether you look at the general population or just at those who have B (or just those who don’t have B).

---

<div class="post-metadata">

**Author:** ![Indistinguishable](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@Indistinguishable](https://boards.straightdope.com/u/Indistinguishable)\
**Post date:** [October 17, 2008, 1:50am UTC](https://boards.straightdope.com/t/probabilities/468293/11 "2008-10-17T01:50:58Z")

</div>

Yes, I agree. But look again at the answer he gave to question 2, and the mistaken reasoning I suspect he followed.

Let me revise my example to illustrate the issue I was talking about, even where dealing with independent events: Suppose we look at families with two children. The probability of both the older and the younger child being boys is 25%. However, the probability of the younger child being a boy is 50% among those whose older child is a boy. The global probability P(A & B) of A and B is not the same as the probability P(A | B) of A among those with trait B.

---

<div class="post-metadata">

**Author:** ![Indistinguishable](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@Indistinguishable](https://boards.straightdope.com/u/Indistinguishable)\
**Post date:** [October 17, 2008, 1:57am UTC](https://boards.straightdope.com/t/probabilities/468293/12 "2008-10-17T01:57:36Z")

</div>

Let me make that last sentence a little clearer: The global probability P(A & B) of having both traits A and B is not the same as the probability P(A | B) of having trait A among those with trait B.

---

<div class="post-metadata">

**Author:** ![Sage\_Rat](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/sage_rat/32/399_2.png) [@Sage\_Rat](https://boards.straightdope.com/u/Sage_Rat)\
**Post date:** [October 17, 2008, 2:09am UTC](https://boards.straightdope.com/t/probabilities/468293/13 "2008-10-17T02:09:29Z")

</div>

Say that you have 100 people all lined up into a 10 person by 10 person square. Horizontally, 30 of them will be A starting from the back. Vertically, 40 of them will be B, starting from the left.

```auto

o o o o o o o o o o
o o o o o o o o o o
o o o o o o o o o o
o o o o o o o o o o
o o o o o o o o o o
o o o o o o o o o o
o o o o o o o o o o
o o o o o o o o o o
o o o o o o o o o o
o o o o o o o o o o

```

---

<div class="post-metadata">

**Author:** ![dauerbach](https://avatars.discourse-cdn.com/v4/letter/d/c2a13f/32.png) [@dauerbach](https://boards.straightdope.com/u/dauerbach)\
**Post date:** [October 17, 2008, 2:14am UTC](https://boards.straightdope.com/t/probabilities/468293/14 "2008-10-17T02:14:16Z")

</div>

I think I am getting it.

The answer to question 1 is .12%

The answer to number 2 is 30%. It doesn’t matter whether the individual has Charateristic B or not.

The answer to number 3 is 30%. Once again, the prevelance of Characteristic B is irrelevent in the the prevelance of A.

---

<div class="post-metadata">

**Author:** ![Indistinguishable](https://avatars.discourse-cdn.com/v4/letter/i/90ced4/32.png) [@Indistinguishable](https://boards.straightdope.com/u/Indistinguishable)\
**Post date:** [October 17, 2008, 2:16am UTC](https://boards.straightdope.com/t/probabilities/468293/15 "2008-10-17T02:16:05Z")

</div>

Extraneous period in answer 1 aside, hooray! That’s correct.
