Professional Documents
Culture Documents
Chapter 4
Basic Probability
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-1
Learning Objectives
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-2
Definitions
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-3
Types of Probability
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-4
Calculating Probability
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-5
Example of a priori
classical probability
Find the probability of selecting a face card (Jack,
Queen, or King) from a standard deck of 52 cards.
X 12 face cards 3
T 52 total cards 13
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-6
Example of empirical
classical probability
Find the probability of selecting a male taking statistics
from the population described in the following table:
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-7
Examples of Sample Space
The Sample Space is the collection of all possible
events
ex. All 6 faces of a die:
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-8
Events in Sample Space
Simple event
An outcome from a sample space with one
characteristic
ex. A red card from a deck of cards
Complement of an event A (denoted A/)
All outcomes that are not part of event A
ex. All cards that are not diamonds
Joint event
Involves two or more characteristics simultaneously
ex. An ace that is also red from a deck of cards
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-9
Visualizing Events in
Sample Space
Contingency Tables: Ace Not Total
Ace
Black 2 24 26
Red 2 24 26
Total 4 48 52
Tree Diagrams: 2
Ace
c k Card
Bla Not an Ace 24
Full Deck
of 52 Cards Ace 2
Sample Red C
ard
Space Not an
A ce 24
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-10
Definitions
Simple vs. Joint Probability
Simple (Marginal) Probability refers to the
probability of a simple event.
ex. P(King)
Joint Probability refers to the probability of
an occurrence of two or more events.
ex. P(King and Spade)
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-11
Definitions
Mutually Exclusive Events
Mutually exclusive events are events that cannot occur
together (simultaneously).
example:
A = queen of diamonds; B = queen of clubs
Events A and B are mutually exclusive if only one card is
selected
example:
B = having a boy; G = having a girl
Events B and G are mutually exclusive if only one child is
born
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-12
Definitions
Collectively Exhaustive Events
Collectively exhaustive events
One of the events must occur
The set of events covers the entire sample space
example:
A = aces; B = black cards; C = diamonds; D = hearts
Events A, B, C and D are collectively exhaustive (but not
mutually exclusive – a selected ace may also be a heart)
Events B, C and D are collectively exhaustive and also
mutually exclusive
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-13
Computing Joint and
Marginal Probabilities
The probability of a joint event, A and B:
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-14
Example:
Joint Probability
P(Red and Ace)
number of cards that are red and ace 2
total number of cards 52
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-15
Example:
Marginal (Simple) Probability
P(Ace)
2 2 4
P( Ace and Re d) P( Ace and Black )
52 52 52
Black 2 24 26
Red 2 24 26
Total 4 48 52
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-16
Joint Probability Using a
Contingency Table
Event
Event B1 B2 Total
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-17
Probability
Summary So Far
Probability is the numerical measure of the 1 Certain
likelihood that an event will occur.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-18
General Addition Rule
General Addition Rule:
P(A or B) = P(A) + P(B) - P(A and B)
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-19
General Addition Rule
Example
Find the probability of selecting a male or a statistics student
from the population described in the following table:
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-20
Conditional Probability
A conditional probability is the probability of one event,
given that another event has occurred:
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-22
Computing Conditional
Probability
CD No CD Total
Given AC, we only consider the top row (70% of the cars). Of
these, 20% have a CD player. 20% of 70% is about 28.57%.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-23
Computing Conditional
Probability: Decision Trees
.2
.4
Given CD or A C P(CD and AC) = .2
Has
no CD: . 4
D)= Does
P (C have not .2 P(CD and AC/) = .2
C D AC
H as
.4
All
Cars .5
Doe
not s .6
h P (C AC P(CD/ and AC) = .5
CD ave D /)= Ha s
.6
D oe s
h av e n o t .1 P(CD/ and AC/) = .1
AC .6
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-24
Computing Conditional
Probability: Decision Trees
.2
.7
Given AC or C D P(AC and CD) = .2
Has
no AC: . 7
C )= Does
P (A ha ve n o t . 5 P(AC and CD/) = .5
A C CD
H as
.7
All
Cars .2
Doe
not s .3
h P (A CD P(AC/ and CD) = .2
AC ave C /)= Ha s
.3
D oe s
h av e n o t .1 P(AC/ and CD/) = .1
CD .3
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-25
Statistical Independence
P(A | B) P(A)
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-26
Multiplication Rules
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-27
Multiplication Rules
Suppose a city council is composed of 5
democrats, 4 republicans, and 3 independents.
Find the probability of randomly selecting a
democrat followed by an independent.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-28
Marginal Probability Using
Multiplication Rules
Marginal probability for event A:
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-29
Bayes’ Theorem
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-30
Bayes’ Theorem
P(A | Bi )P(Bi )
P(Bi | A)
P(A | B1 )P(B1 ) P(A | B2 )P(B2 ) P(A | Bk )P(Bk )
where:
Bi = ith event of k mutually exclusive and
collectively exhaustive events
A = new event that might impact P(Bi)
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-31
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?
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-32
Bayes’ Theorem
Example
Let S = successful well
U = unsuccessful well
P(S) = .4 , P(U) = .6 (prior probabilities)
Define the detailed test event as D
Conditional probabilities:
P(D|S) = .6 P(D|U) = .2
Goal: To find P(S|D)
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-33
Bayes’ Theorem
Example
Apply Bayes’ Theorem:
P(D | S)P(S)
P(S | D)
P(D | S)P(S) P(D | U)P(U)
(.6)(.4)
(.6)(.4) (.2)(.6)
.24
.667
.24 .12
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-34
Bayes’ Theorem
Example
Given the detailed test, the revised probability of a successful
well has risen to .667 from the original estimate of 0.4.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-35
Chapter Summary
In this chapter, we have
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc. Chap 4-36