Lecture 4
Lecture 4
Lecture 4
Probability
(Chapter 6)
What is Probability?
Sample Space:
Event:
Unions of events
It is denoted as A or B.
Addition Rule
The addition rule enables us to calculate the probability
of the union of two events.
Addition Rule :
Primary Medium
interest Radio Newspaper Word of
(R) (N) mouth
(W)
Personal tax (C’) 34 20 26
Corporate tax (C) 36 70 14
One caller is selected at random, and four events are
defined as follows:
Medium Total
Primary Interest Radio (R) Newspaper (N) Word of
mouth (W)
Personal Tax (C’)
Corporate tax (C)
Total
Summary of all the marginal and joint probabilities.
Multiplication Rule:
Independent events
P(Pass) = .72
First exam
= . 72
ss)
P(Pa Second exam
P(Fail and Pass)=
P( Fa ail) = .88 (.28)(.88)=.25
s|F
il) =
.28 P(Pas
P( Fa
il|Fail P(Fail and Fail) =
) = .12
(.28)(.12) = .03
Example
What is the probability that a randomly grad passes the bar?
“There is almost a 97% chance they will pass the bar”
P(Pass) = P(Pass 1st) + P(Fail 1st and Pass 2nd) =
= 0.7200 + 0.2464 = .9664
P(Pass) = .72
First exam
= . 72
ss)
P(Pa Second exam
P(Fail and Pass)=
P( Fa ail) = .88 (.28)(.88)=.25
s|F
il) =
.28 P(Pas
P( Fa
il|Fail P(Fail and Fail) =
) = .12
(.28)(.12) = .03
Example 4:
A standard certification test was given at three locations.
1,000 candidates took the test at location A, 600 candidates at
location B, and 400 candidates at location C. The percentages
of candidates from locations A, B, and C who passed the test
were 70%, 68%, and 77%, respectively. One candidate is
selected at random from among those who took the test.
b) P(P|A) = 0.70
Conditional
probability
Bayes’ Law
Bayes’ Law is a method of transforming the prior
probability of an event into a posterior probability
given that additional information is obtained.
Prior probability
Posterior probability
P( A and P) 0.35
P( A | P) 0.494
P(P) 0.708
0
A .1 B C|A .48 A and BC 0.048 Now we just
need P(B) !
B|A .23
C
AC AC and B 0.207
.90
0 Marginal Prob.
A .1 B C|A .48 A and BC 0.048
P(B) = P(A and B) +
P(AC and B) = .259
B|A .23
C
AC AC and B 0.207
.90