Professional Documents
Culture Documents
Probability - Student Lecture
Probability - Student Lecture
2
Case Study Product Shopping
A market research company performs a survey on retail
outlets of a certain pharmaceutical product, in which
consumers in the city and suburbs are asked to identify
the type of store where they bought the product.
This information will help suppliers of the product with
their delivery logistics and retailers with their advertising.
The research company asked a random sample of 205
customers and summarised their location and
the type of store at which they purchased the product in
the following table (contingency table).
3
Case Study Product Shopping
Location
Outlet City Suburbs Total
Supermarket 39 46 85
Pharmacy 47 73 120
Total 86 119 205
A B
46 39 47
73
5
Case Study Product Shopping
The raw values in the contingency table or Venn diagram
can be converted into probabilities.
Contingency Table Joint Probability Table
Location Location
A B A B
46 39 47 0.22 0.19 0.23
73 0.36
6
Key messages: this week you will
learn
What we mean by the probability of an event and
its associated notation
The range of possible values for probabilities and
interpretations
What we mean by the complement of an event
The different types of probabilities and how they
are evaluated
What we mean by mutually exclusive events and
how to identify them
What we mean by independent events and how to
identify them
7
The probability of an event: P(event)
Business Decision-Making
Management needs to decide upon whether to allocate
machinery to an open building site or an undercover
site.
What is the chance (probability) it will rain tomorrow?
The event would be rain tomorrow
P(rain tomorrow)
In notations form
Let A = rain tomorrow
Then P(A)
8
The probability of an event: P(event)
Business Decision-Making
Management of Aldi group is interested in potential value
in opening a new store in the region.
What is the chance (probability) of a local consumer spending
more than $175 per week on groceries?
The event is consumer spends more than $175 per week
on groceries
P(consumer spends more than $175 per week on groceries)
In notations form
Let B = consumer spends more than $175 per week on groceries
Then P(B)
9
The probability of an event: P(event)
How do we determine such probabilities?
Sometimes we do so in theory, other times we obtain data
and consider proportions.
13
Key messages: this week you will
learn
What we mean by the probability of an event and
its associated notation.
The range of possible values for probabilities and
interpretations
What we mean by the complement of an event
The different types of probabilities and how they
are evaluated
What we mean by mutually exclusive events and
how to identify them
What we mean by independent events and how to
identify them
14
Complement of an event
Business Decision-Making
Management needs to decide upon whether to allocate
machinery to an open building site or an undercover site.
What is the chance (probability) it will rain tomorrow?
The event would be rain tomorrow. The complement would
be no rain tomorrow.
P(rain tomorrow), P(no rain tomorrow)
In notations form
Let A = rain tomorrow, AC = no rain tomorrow
Then P(A) , P(AC)
P(AC) = 1 P(A)
15
Complement of an event (ctd)
Business Decision-Making
Management of Aldi group is interested in potential value in opening
a new store in the region.
What is the chance (probability) of a local consumer spending more than
$175 per week on groceries?
The event is consumer spends more than $175 per week on
groceries. The complement is consumer does not spend more than
$175 per week.
P(consumer spends more than $175 per week on groceries), P(consumer
does not spend more than $175 per week on groceries)
In notations form
Let B = consumer spends more than $175 per week on groceries, BC =
consumer does not spend more than $175 per week on groceries
Then P(B) , P(BC)
P(BC) = 1 P(B) 16
Key messages: this week you will
learn
What we mean by the probability of an event and
its associated notation.
The range of possible values for probabilities and
interpretations
What we mean by the complement of an event
The different types of probabilities and how they
are evaluated
What we mean by mutually exclusive events and
how to identify them
What we mean by independent events and how to
identify them
17
Types of probabilities
Marginal
Probability of one characteristic.
E.g. Customers who are located in the City.
Joint
Probability of two or more characteristics.
E.g. Customers who are located in the City and buy
the product at a supermarket.
Conditional
Probability of a characteristic given another one.
E.g. Among customers located in the City, those who
buy the product at a supermarket.
18
Case Study Product Shopping
Calculating marginal probabilities
Lecture Example 1: Location
A = the customer buys the
City Suburbs
product at a supermarket Outlet Total
Super-
Find P(A) market
0.19 0.22 0.41
Lecture Exercise 1:
B = the customer is in the
City
Find P(B)
19
Case Study Product Shopping
Calculating marginal probabilities
Lecture Exercise 1 Location
20
Case Study Product Shopping
Calculating joint probabilities
Lecture Example 2: Location
A = the customer buys the
City Suburbs
product at a supermarket Outlet Total
21
Case Study Product Shopping
Calculating joint probabilities
Lecture Example 2 (ctd): Location
A = the customer buys the product at a
Amount
supermarket City Suburbs
spent Total
Super-
B = the customer is located in the City 0.19 0.22 0.41
market
A or B
P( A B ) P( A) P( B ) P( A B )
0.41 0.42 0.19 0.64
22
Case Study Product Shopping
Calculating a marginal and a joint probability
Lecture Example 3: Location
P ( AC B C ) 0.36
23
Case Study Product Shopping
Calculating a marginal and a joint probability
Lecture Example 3 (ctd): Location
A = the customer buys the product
at a supermarket Outlet
City Suburbs
Total
Ac Super
0.19 0.22 0.41
= not A = the customer buys -market
the product at a pharmacy
Pharmacy 0.23 0.36 0.59
Bc
AC B C
= not B = the customer is = the customer buys the product
located in the
C suburbs
at a pharmacy or customer is located in
P( A B ) C
the suburbs (or both)
Not
P B
( AAC or Not
C
)B
Find P ( AC ) P ( B C ) P ( AC B C )
0.59 0.58 0.36 0.81
24
Conditional Probability
Suppose we have two events, denoted by A and B.
The probability that event A will occur, given that we
know event B has occurred, is called a conditional
probability.
The notation is P A B .
It means Probability of A given B .
In mathematical terms:
P( A B)
P A B
P( B )
25
Case Study Product Shopping
Calculating conditional probabilities
Lecture Example 4: Location
Suppose we know that a
City Suburbs
customer is in the City. What is Outlet Total
the probability that they buy the Super
0.19 0.22 0.41
-market
product at a supermarket?
Pharmacy 0.23 0.36 0.59
P( A B) 0.19
P A B 0.45
P( B ) 0.42
26
Case Study Product Shopping
Calculating conditional probabilities
Lecture Example 5: Location
P ( B A) 0.19
P B A 0.46
P ( A) 0.41
27
Case Study Product Shopping
Calculating conditional probabilities
Lecture Exercise 2: Location
Suppose we know that a
City Suburbs
customer is in the City. What is Outlet Total
the probability that they buy the Super
0.19 0.22 0.41
-market
product at a pharmacy?
Pharmacy 0.23 0.36 0.59
28
Case Study Product Shopping
Calculating conditional probabilities
Lecture Exercise 2 Location
29
Case Study Product Shopping
Calculating conditional probabilities
Lecture Exercise 3: Location
Given that a customer buys the
City Suburbs
product at a pharmacy, what is Outlet Total
the probability that they are in Super
0.19 0.22 0.41
-market
the City?
Pharmacy
0.23 0.36 0.59
30
Case Study Product Shopping
Calculating conditional probabilities
Lecture Exercise 3 Location
31
Key messages: this week you will
learn
What we mean by the probability of an event and
its associated notation.
The range of possible values for probabilities and
interpretations
What we mean by the complement of an event
The different types of probabilities and how they
are evaluated
What we mean by mutually exclusive events and
how to identify them
What we mean by independent events and how to
identify them
32
Mutually Exclusive Events
Suppose we have two events, denoted by A and B.
Events A and B are mutually exclusive if they do
not occur simultaneously.
P( A B ) 0
Lecture Example 6: Product Shopping
Is the event the customer buys the product from a
supermarket mutually exclusive from that of the
customer being in City?
A = the customer buys the product from a supermarket
B = customer is in City
From Lecture Example 2: P ( A B ) 0.19 0
P A B 0.45
From Lecture Example 4:
From Lecture Example 1:
P A 0.41
P A B P ( A)
Answer to the
question is NO !
From Lecture Example 5: P B A 0.46
From Lecture Exercise 1: P B 0.42
P B A P (B )
36
Independent Events (continued)
Lecture Example 7 (ctd): Product shopping
Is the event of a customer buying the product at a
supermarket independent from that of them being in the
City?
A = the customer buys the product at a supermarket
B = the customer is in the City
37
Key messages: this week you will
learn
What we mean by the probability of an event and
its associated notation
The range of possible values for probabilities and
interpretations
What we mean by the complement of an event
The different types of probabilities
How the different types of probabilities are
evaluated
What we mean by mutually exclusive events and
how to identify them
What we mean by independent events and how to
identify them 38
Case Study Product Shopping
Answers
Some of the questions market research company hopes
to answer are:
What proportion of customers buy the product at a
supermarket?
From Lecture Example 1: P(supermarket) = 0.41
39
Case Study Product Shopping
Answers
Some of the questions market research company hopes
to answer are:
Are customers in the City more likely to buy the product at a
supermarket?
Please note:
The book is a reference only; its the lecture content
which dictates what you read in the book.
41
Next Week
Assessing Risk and the Normal distribution
42