Beruflich Dokumente
Kultur Dokumente
Theorem
Complement of a Set
S
A A
Let S={e1,e2,e3,e4,e5,e6}
If A= {e1},
then A’= {e2, e3,e4,e5,e6}
Basic Definitions (Continued)
Intersection (And)
– a set containing all elements in both A and B, means
both A and B occurs together
– A single card is drawn from a pack of cards, A is the
event selecting a king, B is the event selecting a card
which is heart
– What is the probability of selection of A and B
– A={K,K,K,K}
– B={1,2,3,4,5,6,7,8,9,10,J,Q,K}
Sets: A Intersecting with B
both A and B occur
A
B
A B
Basic Definitions (Continued)
Union (Or)
– a set containing all elements in A or B or both,
means either A or B will happen
– A single card is drawn from a pack of cards, A is the
event selecting a king, B is the event selecting a
card which is heart
– What is the probability of selection of A or B
– A={K,K,K,K}
– B={1,2,3,4,5,6,7,8,9,10,J,Q,K}
2-6
Sets: A Union B
A
B
A B
2-7
B
A
2-8
B
A Red Cards Black Cards
Independent events
Probability of happening of an event A does not
depends on another event B then A is
independent of B
2
𝑃 𝐴 = 𝑝𝑙𝑢𝑚𝑏𝑖𝑛𝑔 =
3
𝑃 𝐵 = 𝑒𝑙𝑒𝑐𝑡𝑟𝑖𝑐 = 4/9
𝑎𝑡𝑙𝑒𝑎𝑠𝑡 𝑜𝑛𝑒 𝑐𝑜𝑛𝑡𝑟𝑎𝑐𝑡, 𝐴 𝑜𝑟 𝐵 = 𝑃 𝐴 ∪ 𝐵 =4/5
𝑏𝑜𝑡ℎ 𝑡ℎ𝑒 𝑐𝑜𝑛𝑡𝑟𝑎𝑐𝑡 𝑚𝑒𝑎𝑛𝑠 𝐴 𝑎𝑛𝑑 𝐵 𝑏𝑜𝑡ℎ, 𝑃 𝐴 ∩ 𝐵
Conditional Probability
A conditional probability is the probability of one event,
given that another event has occurred
The
conditional
probability
of A given
that B has
occurred
The conditional
probability of B
given that A
has occurred
Where P(A and B) = joint probability of A
and B
Conditional Probability (continued)
Example-Conditional Probability
Q1- What is the probability of drawing a king from a pack of
cards
P(A=King)= 4/52
Q2- What is the probability of drawing a king from a pack of
cards, when the card drawn is of red colour
P(A=King)= 4/52,
P(B= red colour)= 26/52, Think Logically about the
𝟐 answer-
𝑷 𝑨∩𝑩 = favourable events/ total
𝟓𝟐
number of events
P(A|B)=(2/52)/(26/52)= 2/26
Example- we noted that 75% of the chain
customers use mustard, 80% use Ketchup, and
65% use Both. What are the probabilities that a
Ketchup user uses mustard and that a mustard
user uses ketchup.
P(Mus)= 0.75, P(Ket)=0.80, P(ket and Mus)=0.65
P(Mus|Ket) = P(Ket AND Mus)/ P(Ket)=
0.65/0.80= 0.8125
P(Ket|Mus) = P(Ket AND Mus)/ P(Mus)=
0.65/0.75= 0.8667
Same Example
Can you fill the gaps
Mustard No Mustard
Ketchup
No Ketchup
1.00
Same Example
Mustard No Mustard
P(A)*P(B)*P(C)
If the probability of A solving the problem is ½, B
is 2/3 and C is ¾. What is the probability that the
problem will be solved
Profit Loss
Real state 41 98 139
Stock Market 163 471 634
204 569 773
Profit Loss
Real state 41/773 98/773 139/773
Stock Market 163/773 471/773 634/773
204/773 569/773 733/773
Example-
Profit Loss
Real state 41/773 98/773 139/773
Stock Market 163/773 471/773 634/773
204/773 569/773 733/773
Find
Probability of an investor to investment in real state
Probability of an investor to investment in stock market
Probability of an investor to get profit
Probability of an investor to get loss
Probability of an investor to have profit investing in real state
Probability of an investor to have loss investing in real state
Probability of an investor to have profit investing in stock market
Probability of an investor to have loss investing in stock market
Profit Loss
Real state Joint Joint Marginal
Probability Probability Probability
Profit Loss
Real state 41/773 98/773 139/773
Stock Market 163/773 471/773 634/773
204/773 569/773 733/773
Example-
If a randomly selected delegate is from real
state, what is the probability that he/she will
earn profit-
P(profit| real state)= P(profit and real
state)/P(real state)
=(41/773)/(139/773)=41/139
P(real state| profit)= P(profit and real
state)/P(profit)
=(41/773)/(204/733)=41/204
Bayes Theorem
Prediction of weather- if the temperature is so and so,
humidity is so and so, what is the probability that there will
be rain
Medical Science
Bayes Theorem
P ( A B) P ( A B) P( A B) P( A B) P( B)
P ( B)
P( B A) P( A)
0.65 ∗ 0.02
𝑃 𝐴1 𝐵 = = 0.4262
0.65 ∗ 0.02 + 0.35 ∗ 0.05
What is the probability that the bad product was
from A2
𝑃 𝐴2 𝑃(𝐵|𝐴2)
𝑃(𝐴2|𝐵) =
𝑃 𝐴1 𝑃 𝐵 𝐴1 + 𝑃 𝐴2 𝑃(𝐵|𝐴2)
0.35 ∗ 0.05
𝑃 𝐴2 𝐵 = = 0.5738
0.65 ∗ 0.02 + 0.35 ∗ 0.05
Another approach
Good Quality Bad Quality
A1 0.98 of 0.65 0.02 of 0.65 0.65
0.9695 0.0305 1
Another approach
Good Quality Bad Quality
A1 0.637 0.013 0.65
0.9695 0.0305 1
𝑃(𝐴1 𝑎𝑛𝑑 𝐵)
𝑃 𝐴1 𝐵 =
𝑃(𝐵)
0.013
𝑃 𝐴1 𝐵 = = 0.4262
0.0305
Joint Probability
Subsidiary Quality
P(G|A1)* P(A1)=P(A1 and G)
Good
P(G|A1)=0.98)
𝑃 𝑆 𝑃 𝐴𝑆
𝑃 𝑆𝐴 =
𝑃 𝑆 𝑃 𝐴 𝑆 +𝑃 𝐶 𝑃 𝐴 𝐶 +𝑃 𝑇 𝑃 𝐴 𝑇
(2/12) ∗ (1/100)
2/12 ∗ (1/100) + (4/12) ∗ (3/100) + (6/12) ∗ (15/100)
= 2/104
What is the probability that he is a Car driver.
P(C|A)= ?
What is the probability that he is a truck driver.
P(T|A)= ?
Manufacturing Sector
A factory produces 3 machines, A, B and C
producing 1000, 2000 and 3000 bolts per day
respectively.
It is found that A produces 1% defective, B
produces 2 % defective and C produces 3%
defectives.
If a bolt is chosen at the end of the day and
found defective what is the probability that it
came from machine A
P(A)=1/6, P(B)= 2/6, and P(C)= 3/6
It is found that A produces 1% defective
=>P(D|A)=1/100
B produces 2 % defective
=>P(D|B)=2/100
and C produces 3% defectives
=>P(D|C)=3/100
If a bolt is chosen at the end of the day and
found defective what is the probability that it
came from machine A
=> P(A|D)
P(A|D)
𝑃 𝐴 𝑃 𝐷𝐴
𝑃 𝐴 𝐷 =
𝑃 𝐴 𝑃 𝐷 𝐴 +𝑃 𝐵 𝑃 𝐷 𝐵 +𝑃 𝐶 𝑃 𝐷 𝐶
𝑃 𝐴 𝐷 =
1
∗1/100
6
1 2 =1/14
∗1/100+ 2/100+(3/6)∗3/100
6 6
𝑃 𝐵 𝐷 =?
𝑃 𝐶 𝐷 =?
Manufacturing Sector
Notation
Probability
Let us consider that the company manufactures 10,000
items, considering the probabilities convert it into a
table form
Let us consider that the company manufactures 10,000
items, considering the probabilities convert it into a
table form