Lesson 04 - Basic Probability
Lesson 04 - Basic Probability
LEARNING OBJECTIVES
• Witte, R.S. and Witte, J.S. (2017). Statistics. 11th Edition, Wiley
• Berenson, M.L., Levine, D.M. and Krehbiel,T.C (2012). Basic Business Statistics: Concepts and
applications, 12th Edition (International Edition), Prentice Hall, New Jersey (BLK).
BASIC PROBABILITY CONCEPTS
• Simple event
• An event described by a single characteristic
• e.g., A day in January from all days in 2010
• Joint event
• An event described by two or more characteristics
• e.g. A day in January that is also a Wednesday from all days in 2010
• Complement of an event A (denoted A’)
• All events that are not part of event A
• e.g., All days from 2010 that are not in January
SAMPLE SPACE
Wed. 4 48 52
Not Wed. 27 286 313
Total 31 334 365
P(Jan.) = 31 / 365
MUTUALLY EXCLUSIVE EVENTS
• Events A, B, C and D are collectively exhaustive (but not mutually exclusive – a weekday can be in January
or in Spring)
• Events A and B are collectively exhaustive and also mutually exclusive
JOINT PROBABILITIES AND MARGINAL PROBABILITIES
Wed. 4 48 52 Wed. 4 48 52
Don’t count
the four
Wednesdays in
Jan Not Jan Total January twice!
Wed 4 48 52
• A conditional probability is the probability of one event, given that another event has
occurred:
P(A and B) The conditional
P(A | B) = probability of A given
P(B) that B has occurred
• Of the cars on a used car lot, 90% have air conditioning (AC) and 40% have a GPS. 35% of the
cars have both.
• What is the probability that a car has a GPS given that it has AC ?
i.e., we want to find P(GPS | AC)
ANSWER
• Of the cars on a used car lot, 90% have air conditioning (AC) and 40% have a GPS.
35% of the cars have both.
• Given AC, we only consider the top row (90% of the cars). Of these, 35% have a GPS. 35% of
90% is about 38.89%.
GPA No GPS Total
𝑃 𝐴 𝐵 = 𝑃(𝐴)
• Events A and B are independent when the probability of one event is not affected by the fact
that the other event has occurred
MULTIPLICATION RULES
𝑃 𝐴 𝑎𝑛𝑑 𝐵 = 𝑃 𝐴 𝐵 𝑃(𝐵)
• Note: If A and B are independent, then 𝑃(𝐴│𝐵)=𝑃(𝐴), and the multiplication rule simplifies to
𝑃 𝐴 𝑎𝑛𝑑 𝐵 = 𝑃(𝐴)𝑃(𝐵)
MARGINAL PROBABILITY
• Where B1, B2, …, Bk are k mutually exclusive and collectively exhaustive events
BAYES’ THEOREM
P(A | B i )P(B i )
P(B i | A) =
P(A | B 1 )P(B 1 ) + P(A | B 2 )P(B 2 ) + + P(A | B k )P(B k )
• where:
𝐵𝑖 = 𝑖𝑡ℎ event of 𝑘 mutually exclusive and collectively
exhaustive events
𝐴 = new event that might impact 𝑃(𝐵𝑖)
BAYES’ THEOREM EXAMPLE
• A drilling company has estimated a 40% chance of striking oil for their new well.
• A detailed test has been scheduled for more information. Historically, 60% of successful wells
have had detailed tests, and 20% of unsuccessful wells have had detailed tests.
• Given that this well has been scheduled for a detailed test, what is the probability that the
well will be successful?
EXAMPLE: CONTD…
P(D | S)P(S)
P(S | D) =
P(D | S)P(S) + P(D | U)P(U)
(0.6)(0.4)
=
(0.6)(0.4) + (0.2)(0.6)
0.24
= = 0.667
0.24 + 0.12
• So the revised probability of success, given that this well has been scheduled for a detailed
test, is 0.667
Prior Conditional Joint Revised
Event
Prob. Prob. Prob. Prob.
S (successful) 0.4 0.6 (0.4)(0.6) = 0.24 0.24/0.36 = 0.667
U (unsuccessful) 0.6 0.2 (0.6)(0.2) = 0.12 0.12/0.36 = 0.333
Sum = 0.36
Given the detailed test, the revised probability of a successful well has risen to 0.667 from the
original estimate of 0.4
COUNTING RULES: RULES FOR COUNTING THE
NUMBER OF POSSIBLE OUTCOMES
• Counting Rule 1:
• If any one of k different mutually exclusive and collectively exhaustive events can occur on
each of n trials, the number of possible outcomes is equal to
𝑘𝑛
• Example
• If you roll a fair die 3 times, then there are 63 = 216 possible outcomes
• Counting Rule 2:
• If there are 𝑘1 events on the first trial, 𝑘2 events on the second trial, … and 𝑘𝑛 events on the
𝑛𝑡ℎ trial, the number of possible outcomes is
𝑘1 𝑘2 … (𝑘𝑛 )
• Example: You want to go to a park, eat at a restaurant, and see a movie. There are 3 parks, 4
restaurants, and 6 movie choices. How many different possible combinations are there?
• Answer: (3)(4)(6) = 72 different possibilities
• Counting Rule 3:
• The number of ways that n items can be arranged in order is
𝑛! = 𝑛 𝑛 − 1 … (1)
• Example: You have five books to put on a bookshelf. How many different ways can these
books be placed on the shelf?
• Answer: 5! = (5)(4)(3)(2)(1) = 120 different possibilities
• Counting Rule 4: Permutations
• The number of ways of arranging X objects selected from n objects in order is
𝑛!
𝑛𝑃𝑋 =
𝑛−𝑋 !
• Example: You have five books and are going to put three on a bookshelf. How many different
ways can the books be ordered on the bookshelf?
= 60 different possibilities
n! 5! 120
Answer: n Px = = =
(n − X)! (5 − 3)! 2
• Counting Rule 5: Combinations
• The number of ways of selecting X objects from n objects, irrespective of order, is
𝑛!
𝑛𝐶𝑋 =
𝑋! (𝑛 − 𝑋)!
Example: You have five books and are going to randomly select three to read. How many
different combinations of books might you select?
n! 5! 120
Answer: n Cx = = = = 10 different possibilities
X!(n − X)! 3! (5 − 3)! (6)(2)
CHAPTER SUMMARY