Probability
Probability
Subjective Probability
based on personal beliefs, experiences, prejudices,
intuition - personal judgment
different for all observers (subjective)
examples: elections, new product introduction, snowfall
Basic Definitions
Set - a collection of elements or objects of
interest
Empty set (denoted by )
a set containing no elements
Universal set (denoted by S)
a set containing all possible elements
Complement (Not). The complement of A is
a set containing all elements of S not in A
A
Complement of a Set
Intersection (And) A B
– a set containing all elements in both A
and B
Union (Or)
–
A
a set containing
allBelements in A or B
or both
Sets: A Intersecting with B
A
B
A B
Basic Definitions (Continued)
Queen
King
Sets: Partition
S
A3
A1
A2 A4
A5
Sets: A Union B
A
B
A B
• Independent Events-
Two events A and B are said to be independent if the
occurrence of A is in no way influenced by the
occurrence of B. Likewise, the occurrence of B is no
way influenced by the occurrence of A.
Eg. When you toss a coin twice, getting a head in the
second trial is not influenced by what happened in
the first trial.
Experiment
• Process that leads to one of several possible
outcomes *, e.g.:
Coin toss
• Heads, Tails
Throw die
• 1, 2, 3, 4, 5, 6
Pick a card
• AH, KH, QH, ...
Introduce a new product
• Each trial of an experiment has a single observed outcome.
• The precise outcome of a random experiment is unknown
before a trial.
• S = {1,2,3,4,5,6}
Event
Collection of outcomes having a common characteristic
E.g.: Even number
• A = {2,4,6}
• Event A occurs if an outcome in the set A occurs
Probability of an event
Sum of the probabilities of the outcomes of which it consists
P(A) = P(2) + P(4) + P(6)
Pick a Card: Sample Space
Hearts Diamonds Clubs Spades
Union of A
K
A
K
A
K
A
K
Event ‘Ace’
Events ‘Heart’ Q Q Q Q
n ( Ace ) 4 1
and ‘Ace’ J J J J
P ( Ace )
10 10 10 10
P ( Heart Ace ) 9 9 9 9
n(S ) 52 13
8 8 8 8
n ( Heart Ace ) 7 7 7 7
6 6 6 6
n(S ) 5 5 5 5
4 4 4 4
16 4 3 3 3 3
2 2 2 2
52 13
P( A B) n( A B)
n( S )
Mutually exclusive events (A and C) :
P( A C ) 0
Basic Rules for Probability
(Continued)
• Union - Probability of A or B or both (rule of unions)
P( A B) n( A B) P( A) P( B) P( A B)
n( S )
Mutually exclusive events: If A and B are mutually exclusive, then
P( A B) 0 so P( A B) P( A) P( B)
Sets: P(A Union B)
A
B
P( A B)
Multiplication Rule
• Independent Events
For two independent events A and B, the probability
of simultaneous occurrence of A and B, also known
as probability of intersection equals the product of
probability of A and probability of B.
P(A∩B) = P(A).P(B)
• Example: The probability that you will get a A grade
in QT is 0.7 and that you will get a A grade in
Marketing is 0.6. What is the probability that you
will get a A grade in both these subjects?
Multiplication Rule
P( A B)
P( A B) , where P( B) 0
P( B)
Independent events:
P( A B) P( A)
P( B A) P( B)
Conditional Probability
(continued)
Rules of conditional probability:
P( A B) P( A B) so P( A B) P( A B) P( B)
P( B)
P( B A) P( A)
P ( A D ) P ( A)
so P( A D) P( A) P( D)
P ( D A) P ( D )
Example
• From a pack of cards, 2 cards are drawn without
replacement. What is the probability that both cards drawn
are heart?
Let A = getting a heart in first draw
B= getting a heart in second draw
P(A) = 13/52
P(B/A) = 12/51
Therefore
P(A∩B) = P(A). P(B/A)= (13/52) (12/51)=1/17.
• There is a 30% chance that you will catch the 9.00AM bus. If
you catch the bus you will be on time. If you miss the bus,
there is a 60% chance that you will be late. What is the
probability that you will be late?
• There is a 30% chance that you will catch the
9.00AM bus. If you catch the bus you will be on
time. If you miss the bus, there is a 60% chance
that you will be late. What is the probability that
you will be late?
• Hint let P(A)= Miss the bus
P(B) = Late
• P(A∩B)= P(A).P(B/A)
• A survey was conducted for 200 Family Income Income total
families. below 4 above 4
• What is the probability that a Lakhs/y Lakhs/
randomly selected family is a ear. year
buyer of car? Buyer 38 42 80
• What is the probability that a of car
randomly selected family is both a
buyer of a car and belongs to
income 4 lakhs and above? Non- 82 38 120
Buyer
• A family selected at random is of car
found to be belonging to income
of 4 lakhs and above. What is the Total 120 80 200
probability that this family is buyer
of car?
• Marginal probability – simple event P(A) or P(B)
• Joint Probability – simultaneous occurrence of
events P(A∩B)
• Conditional probability – P(A/B) or P(B/A).
Contingency Table -
Example
Counts
AT& T IBM Total
4 13 1
P( Ace Heart ) * P( Ace) P( Heart )
52 52 52
Independence of Events –
Example
Events Television (T) and Billboard (B) are
assumed to be independent.
a )P (T B ) P (T ) P ( B )
0.04 * 0.06 0.0024
b)P (T B ) P (T ) P ( B ) P (T B )
0.04 0.06 0.0024 0.0976
2-7 The Law of Total
Probability and Bayes’
Theorem
The law of total probability:
P( A) P( A B) P( A B )
P ( Z I ) 0.92
(.92)( 0.001)
(.92)( 0.001) ( 0.04)(.999)
0.00092 0.00092
0.00092 0.03996
P ( Z I ) 0.04 .0225
.04088
Example (Tree Diagram)
Prior Conditional Joint
Probabilities Probabilities Probabilities
P( Z I ) 0.96
P ( Z I ) (0.999)(0.96) .95904
Bayes’ Theorem Extended
• Given a partition of events B1,B2 ,...,Bn:
P( A B )
P ( B A)
1
1
P ( A)
Applying the law of total
P( A B ) probability to the denominator
1
P( A B ) i
Applying the definition of
P( A B ) P( B ) conditional probability throughout
1 1
P( A B ) P( B )
i i
Bayes’ Theorem Extended -
Example
An economist believes that during periods of high economic growth, the U.S.
dollar appreciates with probability 0.70; in periods of moderate economic
growth, the dollar appreciates with probability 0.40; and during periods of
low economic growth, the dollar appreciates with probability 0.20.
During any period of time, the probability of high economic growth is 0.30,
the probability of moderate economic growth is 0.50, and the probability of
low economic growth is 0.50.
Suppose the dollar has been appreciating during the present period. What is
the probability we are experiencing a period of high economic growth?
Partition: Event A Appreciation
H - High growth P(H) = 0.30 P ( A H ) 0.70
M - Moderate growth P(M) = 0.50 P ( A M ) 0.40
L - Low growth P(L) = 0.20 P ( A L) 0.20
Example (continued)
P ( H A)
P ( H A)
P ( A)
P ( H A)
P ( H A ) P ( M A) P ( L A )
P( A H ) P( H )
P ( A H ) P ( H ) P ( A M ) P ( M ) P ( A L) P ( L)
( 0.70)( 0.30)
( 0.70)( 0.30) ( 0.40)( 0.50) ( 0.20)( 0.20)
0.21 0.21
0.21 0.20 0.04 0.45
0.467
Example (Tree Diagram)
Prior Conditional Joint
Probabilities Probabilities Probabilities
P ( A H ) 0.70 P ( A H ) ( 0.30)( 0.70) 0.21
P ( A H ) 0.30
P ( H ) 0.30 P ( A H ) ( 0.30)( 0.30) 0.09
P ( M ) 0.50
marginal probabilities.