Class 2 Notes
Class 2 Notes
C. Gravel (Carleton)
STAT 3502
January 2015
1 / 21
Chapter 2 - Probability
N(A)
n
STAT 3502
January 2015
2 / 21
Chapter 2 - Probability
Counting Techniques - 2
Ordered Pairs
Consider pairs of events such that if O1 and O2 are objects, then the
pair (O1 , O2 ) is different from the pair (O2 , O1 ). Pairs of this nature
can be called, ordered pairs.
Examples
C. Gravel (Carleton)
STAT 3502
January 2015
3 / 21
Chapter 2 - Probability
Counting Techniques - 3
Proposition: Product Rule for Ordered Pairs (p.65)
If the first element or object of an ordered pair can be selected in n1
ways, and for each of these n1 ways the second element of the pair
can be selected in n2 ways, then the number of pairs is n1 n2 .
Another way to think of this is,
STAT 3502
January 2015
4 / 21
Chapter 2 - Probability
Counting Techniques - 3a
What if we chose to eat before the movie?
Note, that this example can be considered in both orders, that may
note be the case. For example, a process that occurs in stages in
which the second stage depends on the results of the first stage.
C. Gravel (Carleton)
STAT 3502
January 2015
5 / 21
Chapter 2 - Probability
Counting Techniques - 4
C. Gravel (Carleton)
STAT 3502
January 2015
6 / 21
Chapter 2 - Probability
Counting Techniques - 4
C. Gravel (Carleton)
STAT 3502
January 2015
7 / 21
Chapter 2 - Probability
Counting Techniques - 4
Consider a group of n distinct objects. How many ways are there to
select a subset of size k from the group?
Example
A businessman wishes to open a second franchise in Ottawa and the
owner wants to transfer 3 of his existing 10 staff members to the
new store. How many different ways can we select these 3
individuals? Note: Assume they are all of equal rank in the old store.
C. Gravel (Carleton)
STAT 3502
January 2015
8 / 21
Chapter 2 - Probability
Counting Techniques - 5
C. Gravel (Carleton)
STAT 3502
January 2015
9 / 21
Chapter 2 - Probability
Counting Techniques - 6
Counting Permutations
The number of permutations of size k that can be formed from n
objects in a group is,
Pk,n =
n!
(n k)!
Counting Combinations
The number of combinations of size k that can be formed from n
objects in a group is,
n
n!
Ck,n =
=
.
k
k!(n k)!
C. Gravel (Carleton)
STAT 3502
January 2015
10 / 21
Chapter 2 - Probability
Counting Techniques - 7
C. Gravel (Carleton)
STAT 3502
January 2015
11 / 21
Chapter 2 - Probability
Counting Techniques - 8
C. Gravel (Carleton)
STAT 3502
January 2015
12 / 21
Chapter 2 - Probability
Counting Techniques - 9
C. Gravel (Carleton)
STAT 3502
January 2015
13 / 21
Chapter 2 - Probability
Conditional Probability
The conditional probability of A given that B has occurred is
P(A|B) =
C. Gravel (Carleton)
P(A B)
P(B)
STAT 3502
January 2015
14 / 21
Chapter 2 - Probability
Conditional Probability - 2
C. Gravel (Carleton)
STAT 3502
January 2015
15 / 21
Chapter 2 - Probability
Conditional Probability - 3
Example: Advertising Effectiveness
Suppose 100 people are surveyed upon entering a store as to:
i) did they see the stores advertisement?
ii) did they make a purchase?
What is the probability that a person who did not see the ad
made a purchase?
What is the probability that a person who did see the ad made a
purchase?
Survey Results:
Forty customers made purchases and thirty of those saw the ad.
C. Gravel (Carleton)
STAT 3502
January 2015
16 / 21
Chapter 2 - Probability
Conditional Probability - 4
An easy way to visualize and solve conditional probabilities is to use
a probability tree.
C. Gravel (Carleton)
STAT 3502
January 2015
17 / 21
Chapter 2 - Probability
Conditional Probability - 5
Law of Total Probability, p. 78
Let A1 , ..., Ak be mutually exclusive, exhaustive events. Then, for
any other event B,
P(B)
STAT 3502
January 2015
18 / 21
Chapter 2 - Probability
Conditional Probability - 6
Bayes Theorem, p. 79
Let A1 , ..., Ak be mutually exclusive, exhaustive events with prior
probabilities P(A ), = 1, ..., k. Then, for any other event B, the
posterior probability of Aj given that B has occurred is,
P(Aj |B) =
P(Aj B)
P(B)
P(B|Aj )P(Aj )
= Pk
,
P(B|A )P(A )
=1
STAT 3502
January 2015
19 / 21
Chapter 2 - Probability
Conditional Probability - 7
C. Gravel (Carleton)
STAT 3502
January 2015
20 / 21
Chapter 2 - Probability
Conditional Probability - 8
C. Gravel (Carleton)
STAT 3502
January 2015
21 / 21