Unit 4 2000
Unit 4 2000
Unit 4 2000
Carrie Madden
Unit 4 – Probability
Probability Theory
Probability theory is the branch of mathematics that describes random
behaviour. We must deal with mathematical models, because probability
itself can never be observed.
We could toss a coin forever, but our understanding of random behaviour
enables us to describe the long-run behaviour.
Probability Model
Probability Model
Sample Space
Definition
The sample space, S, of a random phenomenon is the set of possible
outcomes.
Example
We toss a coin one time. What is the sample space?
Solution
S = {H, T }
Probability Model
Sample Space
We can see that this is a simple sample space!
They can also be very complicated. Consider the set of all possible
combinations of six numbers drawn in Lotto 6/49 from a population of 49
numbers. The sample space consists of over 14 million unique options.
Sample Space
Example
Suppose we toss a coin three times. What is the sample space?
Solution
S = {HHH, HHT , HTH, HTT , THH, THT , TTH, TTT }
Suppose we are only interested in how many Heads are observed. Then,
our sample space becomes
S = {0, 1, 2, 3}
Example – Dice
Example
Suppose we roll two six-sided dice. What is the sample space of the
possible outcomes?
S = {11, 12, 13, 14, 15, 16, 21, 22, 23, 24, 25, 26,
31, 32, 33, 34, 35, 36, 41, 42, 43, 44, 45, 46,
51, 52, 53, 54, 55, 56, 61, 62, 63, 64, 65, 66}
where the first number in each outcome represents the number on the top
face of the first die and the second number is the number on the top face
of the second die.
Carrie Madden STAT 2000 – Unit 4 9 / 50
Unit 4 – Probability
Probabilities of Outcomes
S = {O1 , O2 , . . . , On }
Events
A = {14, 24, 34, 41, 42, 43, 44, 45, 46, 54, 64}
Equal Probabilities
Example – Dice
Example
What is the probability of event A?
S = {11, 12, 13, 14 , 15, 16, 21, 22, 23, 24 , 25, 26,
51, 52, 53, 54 , 55, 56, 61, 62, 63, 64 , 65, 66}
Example – Dice
Example
What is the probability of event B?
S = {11, 12, 13, 14, 15, 16, 21, 22, 23, 24, 25, 26,
31, 32, 33, 34, 35, 36 , 41, 42, 43, 44, 45 , 46,
51, 52, 53, 54 , 55, 56, 61, 62, 63 , 64, 65, 66}
Intersection
Example – Dice
Example
What is the probability of events A and B?
We can see that there are only two events that are in both A and B.
S = {11, 12, 13, 14, 15, 16, 21, 22, 23, 24, 25, 26,
31, 32, 33, 34, 35, 36, 41, 42, 43, 44, 45 , 46,
51, 52, 53, 54 , 55, 56, 61, 62, 63, 64, 65, 66}
Union
Example – Dice
Example
What is the probability of events A or B?
S = {11, 12, 13, 14 , 15, 16, 21, 22, 23, 24 , 25, 26,
So, A ∪ B = {14, 24, 34, 36, 41, 42, 43, 44, 45, 46, 54, 63, 64}. Hence,
13
P (A ∪ B) = = 0.3611
36
Carrie Madden STAT 2000 – Unit 4 19 / 50
Unit 4 – Probability
Probability of a Union
The reason for this can be seen in the following diagram, known as a Venn
diagram.
Union
A B
We can see that if we add the events A and B, then we have included the
probability of the intersection A ∩ B two times, so we must now subtract it!
Example – Dice
We could have used the probability rule to calculate the probability in the
previous example, rather than defining the set:
P (A ∪ B) = P (A) + P (B) − P (A ∩ B)
11 4 2
= + −
36 36 36
13
= = 0.3611
36
Definition
The empty set, ∅, is a set which contains no outcomes.
i.e.: P (∅) = 0
Definition
Two events are mutually exclusive (or disjoint) if they have no outcomes in
common:
A∩B =∅
Theorem
Two event, A and B, are mutually exclusive if and only if
P (A ∩ B) = 0
Example – Dice
Example
Consider the dice example. Define the events
Example – Dice
Solution
The resulting spaces are
P (A ∩ B) = 0
P (A ∪ B) = P(A) + P(B)
P (A ∪ B) = P(A) + P(B)
6 15
= +
36 36
21
= = 0.5833
36
Exhaustive Events
Theorem
Two events, A and B, are exhaustive of the sample space S if together,
they contain all ouctomes in S.
Example
For the dice example, consider the events
Example – Dice
The sample space is shown below
S = { 11 , 12 , 13 , 14 , 15 , 16 ,
21 , 22 , 23 , 24 , 25 , 26 ,
31 , 32 , 33 , 34 , 35 , 36 ,
41 , 42 , 43 , 44 , 45 , 46 ,
51 , 52 , 53 , 54 , 55 , 56 ,
61 , 62 , 63 , 64 , 65 , 66 }
Complements
P (Ac ) = 1 − P(A)
In other words, two events are complements if they are both mutually
exclusive and exhaustive of the sample space.
Example – Dice
Consider the events
S = { 11 , 12 , 13 , 14 , 15 , 16 , 21 , 22 , 23 , 24 , 25 , 26 ,
31 , 32 , 33 , 34 , 35 , 36 , 41 , 42 , 43 , 44 , 45 , 46 ,
51 , 52 , 53 , 54 , 55 , 56 , 61 , 62 , 63 , 64 , 65 , 66 }
So, A = B c and B = Ac .
Carrie Madden STAT 2000 – Unit 4 30 / 50
Unit 4 – Probability
Conditional Probability
Conditional Probability
A B
Example – Dice
Example
If we roll two fair dice, what is the probability that the sum is at least ten,
given that both dice show an even number?
Example – Dice
Therefore,
P (A ∩ B)
P (A|B) =
P (B)
3
36 1
= 9 =
36
3
Practice Questions
Probability of Intersections
Example
If we randomly select two cards from a standard deck of 52 cards, what is
the probability they are both Hearts?
Solution
Let A = {first card is a Heart} and B = {second card is a Heart}.
13 12
P(A ∩ B) = P(A)P(B|A) = = 0.0588.
52 51
Independence
Example – Handedness
Example – Handedness
P(LRR) = P(L)P(R)P(R)
= (0.1) (0.9) (0.9) = 0.081
Example – Handedness
The probabilities for all outcomes are calculated similarly and are shown
below:
Example – Handedness
What is the probability that exactly one of the three people in the sample
is left-handed? Since outcomes are mutually exclusive,
Example – Handedness
Example – Handedness
Let X be the number of people in our sample that are left-handed. We
can calculate probabilities for all possible values of X :
x 0 1 2 3
P(X = x ) 0.729 0.243 0.027 0.001
Practice Question
A student must pass through two sets of traffic lights on his way to work.
The first light is red 40% of the time, yellow 10% of the time and green
50% of the time. The second light is red 60% of the time, yellow 5% of
the time and green 35% of the time. Assuming that the lights operate
independently, what is the probability that the student has to stop exactly
one time on his way to work? (He will stop only for a red light, and not if
it is yellow.)
A 0.46
B 0.48
C 0.50
D 0.52
E 0.54
Example
Suppose the probability model for the blood types for some population is
as follows:
Blood Type O A B AB
Probability 0.48 0.23 0.19 0.10
Notice that the probability of each outcome is between 0 and 1. Also, note
that
Solution
The probability of not having blood type A is:
The blood types of any two people are independent. The probability that
the first person has blood type A and the second person has blood type O
is:
If the order doesn’t matter and we just want to know the probability that
one of the two people has blood type A and the other has blood type O,
then:
Practice Question
Practice Questions
A I only
B I and II only
C I and III only
D II and III only
E I, II and III