Professional Documents
Culture Documents
11th Edition
Chapter 4
Basic Probability
Chap 4-1
Basic Probability Concepts
What is Probability?
Probability allows us to measure effectively the
risks in selecting one alternative over the
others. In general, it is a number that describes
the chance that something will happen
Chap 4-3
Basic Probability Concepts
What is Probability?
Chap 4-4
Basic Probability Concepts
Chap 4-5
Basic Probability Concepts
Approaches To Probability
Two types or classifications of probability are
discussed: the Objective and Subjective
viewpoints.
Objective probability is subdivided into
Classical Probability (Priori Probability) and
Empirical Probability.
Chap 4-6
Assessing Probability
1. a Classical or Priori
Assuming
all X number of ways the event can occur
outcomes probability of occurrence
are equally
T total number of elementary outcomes
likely
2. Subjective probability
based on a combination of an individual’s past experience,
personal opinion, and analysis of a particular situation
Chap 4-7
Example of a Classical or Priori
Probability
X 12 face cards 3
T 52 total cards 13
Chap 4-8
Example of Empirical probability
Chap 4-9
Example of Empirical probability
Ex. - A person who sells the newspaper wants to find
out the chance that on any day he will be able to sell
more than 100 copies. From his diary where he has
recorded the daily sales of the last year , he finds out
the following data.
SALES NO. OF DAYS RELATIVE
FREQUENCY FREQUENCY
85 73 73/365
95 146 146/365
105 60 60/365
110 86 86/365
Chap 4-10
Example of Empirical probability
SALES NO. OF DAYS RELATIVE
FREQUENCY FREQUENCY
85 73 73/365
95 146 146/365
105 60 60/365
110 86 86/365
Thus the no. of days when his sales were more than 100 = 60 + 86 = 146
•
Chap 4-11
Experiment & Outcome
In our study of probability we will make extensive use of several key
words.
Experiment: A process that leads to the occurrence of one and only one
of several possible observations. e.g. -
You roll a die and observe the number of spots that appear face up.
if they plan to buy a new American made car this year. You contact a
sample of 5,000 consumers. The act of counting the consumers who
indicated they would purchase an American made car is the
experiment.
buy a new American-made car this year, one possibility is that 2,258
plan to buy a car. Another outcome is that 142 plan to buy one.
Chap 4-12
Events
Each possible outcome of a variable is an event.
Simple event
An event described by a single characteristic
e.g., A red card from a deck of cards
Joint event
An event described by two or more characteristics
e.g., An ace that is also red from a deck of cards
Complement of an event A (denoted A’)
All events that are not part of event A
e.g., All cards that are not diamonds
P(A) = 1 – P(A’)
Chap 4-13
Mutually Exclusive Events
Mutually exclusive events
Events that cannot occur simultaneously
Chap 4-14
Collectively Exhaustive Events
For example:
Chap 4-15
Sample Space
The Sample Space is the collection of all
possible events
e.g. All 6 faces of a die:
S ={Head, Tail}
S = { 1, 2, 3, 4, 5, 6 }
S = { Defective, Non Defective}
Chap 4-16
Sample Space
Experiment All Possible Outcomes
( Sample Space)
1 Toss a coin Head, Tail
4 Roll a Die 1, 2, 3, 4, 5, 6
Black 2 24 26
Red 2 24 26
Total 4 48 52
Event
A
Event
B
Chap 4-19
Visualizing Events
Venn Diagrams
Let A = aces
Let B = red cards A ∩ B = ace and red
A U B = ace or red B
Chap 4-20
Definitions
Simple vs. Joint Probability
Chap 4-21
Computing Joint and
Marginal Probabilities
Chap 4-22
Joint Probability Example
Color
Type Red Black Total
Ace 2 2 4
Non-Ace 24 24 48
Total 26 26 52
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
Chap 4-24
Marginal & Joint Probabilities In A
Contingency Table
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)
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
Chap 4-26
Addition Rules
Chap 4-27
Addition Rules
Chap 4-29
Computing Conditional
Probabilities
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
Chap 4-31
Conditional Probability Example
(continued)
Of the cars on a used car lot, 70% have air conditioning
(AC) and 40% have a CD player (CD).
20% of the cars have both.
CD No CD Total
AC
No AC
Total 1.0
CD No CD Total
AC 0.2 0.5 0.7
No AC 0.2 0.1 0.3
Total 0.4 0.6 1.0
Chap 4-34
Independence
Two events are independent if and only
if:
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
Chap 4-37
Multiplication Rules
Chap 4-38
Examples
Ex. – A scooter company has two plants. Plant 1 produces 80
% & plant 2 produces remaining 20 %.
85 % products produced in plant 1 are considered to be std
quality product & that in plant 2 is 65 %.
What is the probability that a scooter selected at random
Chap 4-40
Examples
Quality Share of
Level Production
Plant 1 Joint Prob. =
P ( B) =
P ( C) =
P (A) =
P ( D / A) =
Chap 4-41
Examples
Quality Share of
Level Production
Plant 1 0.85 0.80 Joint Prob. = 0.85* 0.80 = 0.68
OWN TV SET 27 20 18 10
NO TV SET 18 10 12 10
43
Examples
1. What is a probability of obtaining a TV owner in
drawing at random ?
2. If household has income over Rs. 8000 & is a
telephone subscriber, what is a probability that he
has a TV?
3. What is the conditional probability of drawing a
household that owns a TV given that household is a
telephone subscriber ?
4. Are the events ‘ ownership of TV’ & ‘ ownership of
telephone ‘ statistically independent?
44
Examples
Income </= 8000 Income >/= 8000 Total
Own No Phone Own No
Telephone Telephone Phone
Own TV 27 20 18 10
No TV 18 10 12 10
Total
Ans.1 - , Ans. 2 -
Ans. 3 –
• Ans. 4 - When Events are independent, the special rule of
Probability can be applied . Special Rule : P(A&B) = P(A) * P(B)
• P(A) = , P(B) =
• P(A) * P(B) =
• P( A & B) = 45
Examples
Income </= 8000 Income >/= 8000 Total
Own No Phone Own No
Telephone Telephone Phone
Own TV 27 20 18 10 75
No TV 18 10 12 10 50
Total 45 30 30 20 125
Chap 4-51
Bayes Theorem
Chap 4-52
Bayes Theorem
Ex – Consider a Manufacturing firm that receives
shipment of parts from two different suppliers.(A1 –
Part from supplier 1 & A2 – Part from Supplier 2).
Currently 65% Parts are supplied by Supplier 1 & 35 %
from Supplier 2. Percentage of Rejects from Supplier 1
& 2 are 2% and 5% respectively. Suppose a machine
breaks down while processing a reject part, what is a
probability that it comes from Supplier 1 or 2?
Chap 4-53
Bayes Theorem
Chap 4-54
Bayes Theorem
Chap 4-55
Bayes’ Theorem Example
Chap 4-57
Bayes’ Theorem Example
(continued)
Chap 4-58
Bayes’ Theorem Example
(continued)
Sum =
Chap 4-59
Bayes’ Theorem Example
(continued)
Sum = 0.36
Chap 4-60
Bayes’ Theorem Example
(continued)
kn
Example
If you roll a fair die 3 times then there are 63 = 216 possible
outcomes
Chap 4-62
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
Chap 4-63
Counting Rules
(continued)
Counting Rule 3:
n! = (n)(n – 1)…(1)
Chap 4-64
Combination & Permutation
Example for Combination & Permutations –
Consider a Quality Control Procedure wherein Two samples are
selected out of Five for testing purpose.
The Question is
How many Combinations?
How Many Permutations?
Let us name the 5 Parts as A, B, C, D & E.
We have to choose any 2 out of this.
Using Combination Formula (Order is not important) –
nCr = n! / r! ( n-r)! = 5! / 2! (5-2)! = 5! / 2! * 3!
= 5*4*3*2*1 / (2*1) * ( 3*2*1) =120 / 12 = 10
AB,AC, AD, AE, BC, BD, BE, CD, CE, DE
Chap 4-68
Combination & Permutation
Example for Combination & Permutations –
Consider a Quality Control Procedure wherein Two samples are
selected out of Five for testing purpose.
The Question is
How many Combinations?
How Many Permutations?
Let us name the 5 Parts as A, B, C, D & E.
We have to choose any 2 out of this.
Using Permutation Formula (Order is important) –
nPr = n! / ( n-r)! = 5! / (5-2)! = 5! / 3!
= 5*4*3*2*1 / ( 3*2*1) =120 / 6 = 20
AB & BA, AC & CA, AD & DA, AE & EA, BC & CB, BD & DB,
BE & EB, CD & DC, CE & EC, DE & ED
Chap 4-69