Conditional Probability Flashcards
How do you calculate the probability of A given B?
P(A|B)=P(AnB)/P(B)
Example 1 -
The Venn diagram shows the number of teachers who own cats (C) and dogs (D)
Cat:12 Dog:16 Both:2 Neither:5 a. Calculate P(C|D) b. Calculate P(D|C')
a. P(CnD)/P(D)=2/35 divided by 18/35.Cancels out to 2/18
b. P(DnC’)/P(C’)=16/35 divided by 21/35=16/21
Example 2 -
In New York, 48% of all teenagers own a skateboard. 39% of all teenagers own a skateboard and roller blades. What is the probability a teenager owns roller blades given they own a skateboard?
P(RB|S)=P(RBnS)/P(S)=39%/48%
=39/100 divided by 48/100
=39/48
Example 3 -
In a room there are 25 people
4 of the people reading are wearing glasses
10 of people who are NOT reading are wearing glasses
3 people are not reading or wearing glasses
Given they are not wearing glasses, what is the probability of a chosen person reading?
Reading:8
Glasses:10
Both:4
Neither:3
P(R|G’)=8/25 divided by 11/25=8/11