Module 1 - Prob_Class1_afterclass
Module 1 - Prob_Class1_afterclass
1
Objectives
1. Understand key probability definitions.
2
Basic probability concepts
§ Experiment: is a process that produces a single outcome whose result
cannot be predicted with certainty
S={ } or S = {1,2,3,4,5,6}
3
Basic probability concepts
§ Probability is a numerical statement about the likelihood that an event will
occur
4
Basic probability concepts
6
Venn Diagram Representations of Probability
Sample Space
Event A Event B
Sample Space
Event A Event B
7
Venn Diagram Representations of Probability
Sample Space
Rolling a Rolling a
3 2
Rolling a 1, 4, 5, or 6
Sample Space
Rolling a
Rolling
number
an even
greater
number
than 3
Event A Event B
9
“A union B”: aka A ∪ B
“A union B” (aka, A∪B) indicates the collection of outcomes that are in A or B.
Sample Space
Event A Event B
“A union B” or A ∪ B or “A or B”
10
“A complement”: aka #: or #;
Sample Space
Event A Event B
A’ or “not A” or
“A complement”
P(A’) + P(A) = 1
11
Venn Diagram Representations of Probability
Sample Space
Event A Event B
12
In Class Practice: Tea/Coffee
A study by Coffee Academics revealed 40% of undergraduates drink both
coffee and tea. The study also found 70% of undergraduates drink coffee. No
students reported drinking neither coffee nor tea.
P(Coffee ∩ Tea) = 0.4 P(Coffee) = 0.7 P(Coffee’∩Tea’) = 0
1. What is the probability a randomly chosen
undergraduate drinks coffee but not tea?
13
P(Coffee’ ∩ Tea) = 0.3
Mutually Exclusive
Mutually Exclusive
– Two events are mutually exclusive if they cannot occur at the same
time
– A and B are mutually exclusive if their intersection is the empty set.
$∩< = ∅
– Example:
q A = rolling a pair of dice and getting at least one 2
q B = rolling a pair of dice and getting a sum of 12
Example:
q A = rolling a dice and getting at least 3
q B = rolling a dice and getting at most 4
15
16
In-class Exercises
Mutually Collectively
Two events: A and B
Exclusive Exhaustive
1. Draw a spade and a club Yes No
2. Draw a face card and a number card Yes Yes
3. Draw an ace and a 3 Yes No
4. Draw a club and a non-club Yes Yes
5. Draw a 5 and a diamond No No
6. Draw a red card and a non-diamond No Yes
Useful Probability Rules
§ Rule 1: The probability of any event is a number between zero and one:
0 ≤ P(A) ≤ 1.
P( A È B) = P( A) + P(B) - P( A Ç B)
§ Rule 3: (Law of Total Probability): For any two events A and B, we have
P( A) = P( A Ç B) + P( A Ç B' )
We are utilizing the property that B and B’ are mutually exclusive and
collectively exhaustive!
17
Today’s Objectives
1. Understand key probability definitions.
18
Conditional Probability
Conditional Probability: Probability of “A given B” = P(A|B)
§ The probability of A, given that B has already happened.
§ The probability of A, given that we are “in” B.
§ The probability of A, given we know B is true.
Additional (new) information allows us to re-assess the likelihood of the event.
Probability may change.
20
Conditional Probability Formula
Sample Space
?(A ∩ B)
Event A Event B
21
Conditional Probability Formula
Sample Space
?(A ∩ B)
Event A Event B
22
Conditional Probability Formula
Sample Space
?(A ∩ B) B B’
A !(# ∩ %)
Event A Event B
A’ !(#′ ∩ %)
23
? A ∩ B + ? A! ∩ B = ?(B)
Conditional Probability Formula
"/$%
# $< = = 1/3
&%/$%
24
A Property of Conditional Probability
Because conditional probability is focusing on the sub-space where the event
has occurred, the following property holds:
Sample Space
B B’
A
Event A Event B
A’
25
Coffee and Tea, Revisited
A study by Campus Coffee revealed 40% of undergraduates drink both coffee
and tea. The study also found 70% of undergraduates drink coffee. No
students reported drinking neither coffee nor tea.
Coffee Coffee’
Coffee Tea
Tea .40 .30 .70
0.3 0.4 0.3
Tea’ .30 0 .30
0 .70 .30
1. Given a person drinks coffee, what is the probability they drink tea?
# HIJ|LMNNII = 0.4/0.7 = 0.57
2. What percentage of undergraduates drink tea but not coffee?
# HIJ ∩ LMNNII′ = 0.3 or 30%
3. If a friend (an undergraduate) of yours does not drink tea, what is the
probability they do drink coffee?
26
# LMNNII|HIJ′ = 0.3/0.3 = 1