Basic Probability Concepts Explained
Basic Probability Concepts Explained
Course
6th Edition
Chapter 4
Basic Probability
Chap 4-1
Learning Objectives
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chap 4-2
Basic Probability Concepts
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chap 4-3
Assessing Probability
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chap 4-4
Example of a priori probability
X 31 days in January 31
= =
T 366 days in 2010 366
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chap 4-5
Example of a priori probability
X 12 face cards 3
= =
T 52 total cards 13
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chap 4-7
Events
◼ Simple event
◼ An event described by a single characteristic
◼ e.g., A day in January from all days in 2012
◼ 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 2012
◼ Complement of an event A (denoted A’)
◼ All events that are not part of event A
◼ e.g., All days from 2012 that are not in January
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chap 4-8
Sample Space
The Sample Space is the collection of all
possible events
e.g. All 6 faces of a die:
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chap 4-9
All 52 cards of a bridge deck
Chap 4-10
Visualizing Events
◼ Contingency Tables -- For All Days in 2012
Jan. Not Jan. Total
Wed. 4 48 52
Not Wed. 27 287 314
287
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chap 4-11
Visualizing Events
◼ Contingency Tables
Ace Not Ace Total
Black 2 24 26
Red 2 24 26
Total 4 48 52
24
Business Statistics: A First Course. Chap 4-12
Visualizing Events
◼ Venn Diagrams
◼ Let A = aces
◼ Let B = red cards A ∩ B = ace and red
A U B = ace or red B
P(Jan.) = 31 / 366
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chap 4-14
Definition: Joint Probability
◼ Joint Probability refers to the probability of an
occurrence of two or more events (joint event).
◼ ex. P(Jan. and Wed.)
◼ ex. P(Not Jan. and Not Wed.)
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chap 4-16
Mutually Exclusive Events
A = Weekday; B = Weekend;
C = January; D = Spring;
Example:
A = aces; B = black cards;
C = diamonds; D = hearts
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chap 4-20
Joint Probability Example
Wed. 4 48 52
Not Wed. 27 287 314
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chap 4-21
Joint Probability Example
Color
Type Red Black Total
Ace 2 2 4
Non-Ace 24 24 48
Total 26 26 52
P(Wed.)
4 48 52
= P ( Jan. and Wed.) + P(Not Jan. and Wed.) = + =
366 366 366
Wed. 4 48 52
Not Wed. 27 287 314
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chap 4-23
Marginal Probability Example
P(Ace)
2 2 4
= P( Ace and Re d) + P( Ace and Black ) = + =
52 52 52
Color
Type Red Black Total
Ace 2 2 4
Non-Ace 24 24 48
Total 26 26 52
Event
Event B1 B2 Total
A1 P(A1 and B1) P(A1 and B2) P(A1)
A2 P(A2 and B1) P(A2 and B2) P(A2)
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chap 4-25
Probability Summary So Far
◼ Probability is the numerical measure
of the likelihood that an event will 1 Certain
occur
◼ The probability of any event must be
between 0 and 1, inclusively
0 ≤ P(A) ≤ 1 For any event A 0.5
◼ The sum of the probabilities of all
mutually exclusive and collectively
exhaustive events is 1
P(A) + P(B) + P(C) = 1
0 Impossible
If A, B, and C are mutually exclusive and
collectively exhaustive
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chap 4-26
Exercise
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chap 4-27
General Addition Rule
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chap 4-28
Exercise
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chap 4-29
General Addition Rule Example
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chap 4-30
General Addition Rule Example
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chap 4-34
Conditional Probability Example
(continued)
◼ Of the cars on a used car lot, 90% have air conditioning
(AC) and 40% have a GPS.
35% of the cars have both.
GPS No GPS Total
AC 0.35 0.55 0.90
No AC 0.05 0.05 0.10
Total 0.40 0.60 1.00
P(A | B) = P(A)
◼ Events A and B are independent when the probability
of one event is not affected by the fact that the other
event has occurred
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chap 4-40
Multiplication Rules
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chap 4-41
Multiplication Rules
◼ Marble Example 2: A bag contains 4 white, 3
red, 2 black, 2 green, 1 yellow, and 0 blue
marbles. One marble is chosen at random. It is
replaced, and then another marble is randomly
chosen. Determine the probability of each event.
◼ 1. P(green is chosen first and red is chosen
second)=
◼ 2. P(black is chosen first and black is chosen
second)=
◼ 3. P (green and red in either order)=
Multiplication Rules
◼ Marble Example 3: A bag contains 4 white, 3
red, 2 black, 2 green, 1 yellow, and 0 blue
marbles. One marble is chosen at random. It is
not replaced, and then another marble is
randomly chosen. Determine the probability of
each event.
◼ 1. P(green is chosen first and red is chosen
second)=
◼ 2. P(black is chosen first, and black is chosen
second)=
Marginal Probability
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chap 4-44
Bayes’ Theorem
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chap 4-45
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:
Bi = ith event of k mutually exclusive and collectively
exhaustive events
A = new event that might impact P(Bi)
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chap 4-46
Bayes’ Theorem Example
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chap 4-47
Bayes’ Theorem Example
(continued)
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chap 4-48
Bayes’ Theorem Example
(continued)
Sum = 0.36
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chap 4-50
Counting Rules
kn
◼ Example
◼ If you roll a fair die 3 times then there are 63 = 216 possible
outcomes
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chap 4-51
Counting Rules
(continued)
◼ Counting Rule 2:
◼ If there are k1 events on the first trial, k2 events on
the second trial, … and kn events on the nth trial, the
number of possible outcomes is
(k1)(k2)…(kn)
◼ 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
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chap 4-52
Counting Rules
(continued)
◼ Counting Rule 3:
◼ The number of ways that n items can be arranged in
order is
n! = (n)(n – 1)…(1)
◼ Example:
◼ You have five books to put on a bookshelf. How many
different ways can these books be placed on the shelf?
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chap 4-53
Counting Rules
(continued)
◼ Counting Rule 4:
◼ Permutations: The number of ways of arranging X
objects selected from n objects in order is
n!
n Px =
(n − X)!
◼ 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?
◼ Counting Rule 5:
◼ Combinations: The number of ways of selecting X
objects from n objects, irrespective of order, is
n!
n Cx =
X!(n − X)!
◼ 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: Cx = = = = 10 different possibilities
X!(n − X)! 3! (5 − 3)! (6)(2)
n
Copyright ©2013 Pearson Education, Inc. publishing as Prentice Hall Chap 4-55
Chapter Summary