Professional Documents
Culture Documents
Anand Desai
Probability
An estimate
Probability is a measure of
that is associated with
how certain we are of occurrence
outcomes of a particular
of
experiment or activity.
an event
Probability
Sure-shot v/s Chance (Probability)
Complementary Event
Unfavourable cases in an Experiment
CLASSICAL Approach
Probability of getting a King of Heart from a Pack of Cards is 1/52
EMPIRICAL Approach
Probability of a student getting a CGPA of 8.0 is 0.98
EMPIRICAL Approach
Probability of Akshay Kumar’s latest film being a big hit at the BO is 0.7
SUBJECTIVE Approach
Probability of Life on Mars is 0.45
Random Variables
RANDOM
Word means ‘done without a deliberate order or without having control’
A Random variable is a variable that assumes different numerical values as a
result of random experiments
2 Types
Discrete Random Variables
Continuous Random Variables
0 ≤ P(A) ≤ 1
Mutually Exclusive / Disjoint Events
Events A & B are said to be MUTUALLY EXCLUSIVE
If only one Event can take place at a time
i.e. NO COMMON ELEMENT
i.e. Both the events cannot happen simultaneously
𝑃 𝐴∩𝐵 =0
When a list of possible events that can result from an event includes
every possible outcome
Written as
P (A | B)
𝑃 𝐴∩𝐵
P(A | B) =
𝑃 (𝐵)
Similarly
𝑃 𝐵∩𝐴
P(B | A) =
𝑃(𝐴)
Conditional Probability
Written as
P (A | B)
P (A) P (B)
Conditional Probability
Written as
P (A | B)
JOINT
Probability MARGINAL
Probability
JOINT Probability Table
Products Supplied
Company Total
Good (G) Defective (D)
A1 P(A1*G) = 60/415 P(A1∩D) = 40/415 P(A1) = 100/415
A2 P(A2*G) = 75/415 P(A1∩D) = 75/415 P(A2) = 150/415
A3 P(A3*G) = 85/415 P(A1∩D) = 80/415 P(A3) = 165/415
TOTAL P(G) = 220/415 P(D) = 195/415 1
Total of JOINT Probability is MARGINAL Probability
&
Total of MARGINAL Probability is ALWAYS 1
𝐽𝑂𝐼𝑁𝑇 𝑃𝑟𝑜𝑏𝑎𝑏𝑖𝑙𝑖𝑡𝑦
∴ CONDITIONAL Probability =
𝑀𝐴𝑅𝐺𝐼𝑁𝐴𝐿 𝑃𝑟𝑜𝑏𝑎𝑏𝑖𝑙𝑖𝑡𝑦
Conditional Probability: Example
Products Supplied
Company Total
Good (G) Defective (D)
A1 P(A1*G) = 60/415 P(A1∩D) = 40/415 P(A1) = 100/415
A2 P(A2*G) = 75/415 P(A1∩D) = 75/415 P(A2) = 150/415
A3 P(A3*G) = 85/415 P(A1∩D) = 80/415 P(A3) = 165/415
TOTAL P(G) = 220/415 P(D) = 195/415 1
In general,
𝑃 𝐴𝑖∗𝐷
P(Ai | D) = ∑𝑃(𝐴𝑖∗𝐷)
𝑃 𝐴𝑖) ∗ 𝑃 𝐷 𝐴𝑖 BAYES’
P(Ai | D) =
∑[𝑃 𝐴𝑖) ∗𝑃 𝐷 𝐴𝑖 ] Theorem
Conditional Probability
Bayes’ Theorem
P(A | B) = P(AΩB) / P(B) P(AΩB) = P(A | B) x P(B)
P(AΩB) = P(BΩA)
NOTE
P(A | D) = P(A) If A & D are Independent
&
P(A*B) = P(A) * P(B) If A & B are Independent
Conditional Probability
Bayes’ Theorem
Box X contains 2 White & 3 Red Balls & Box Y contains 4 White & 5
Red Balls. One Ball is drawn at random from one of the bags & is
found to be Red. Find the Probability that it was drawn from Bag Y.
Conditional Probability
Bayes’ Theorem
In a bolt factory, Machine A, B & C manufactures respectively 25%, 35%
& 40%. Of the total of the outputs 5% , 4% & 2% are defective bolts. A
bolt is drawn at random from the bunch & found to be defective.
What is the probability that it was manufactured by Machine B?
Conditional Probability
Bayes’ Theorem
In 2022, there will be 3 candidates for the position of CEO: A, B & C,
whose chances of getting selected are in the proportion 4:2:3
respectively. The probability that A , if selected, would bring about
digitization in the company, is 0.3. The probability that B & C doing
the same are 0.5 & 0.8.
a)
What is the probability that there will be digitization in the company
in 2023
b)
If there is digitization in the company in 2023, what is the probability
that C will be the CEO?
Conditional Probability
Bayes’ Theorem
Solution
Let PA, PB, & PC denote the events that the persons A, B & C respectively are
selected as CEO & let E be the event of introducing digitization in the
company
Hence,
P(A) = 4/9 P(B) = 2/9 P(C) = 3/9
Thus,
E = (A∩E) ∪ (B∩E) ∪ (C∩E)
where, A∩E, B∩E & C∩E are disjoint
Hence,
P(E) = P(A∩E) + P(B∩E) + P(C∩E)
Let PA, PB, & PC denote the events that the persons A, B & C respectively are
selected as VC & let E be the event of introducing democratization in the
university structure
Hence,
P(A) = 4/9 P(B) = 2/9 P(C) = 3/9
Thus,
E = (A∩E) ∪ (B∩E) ∪ (C∩E)
where, A∩E, B∩E & C∩E are disjoint
Hence,
P(E) = P(A∩E) + P(B∩E) + P(C∩E)
P (A) = ? P(B) = ? P (A or B) = ?
P (A) = P (Only A) + P (A&B) 8/50 + 6/50 14/50 = 0.28
P (B) = P (Only B) + P (A&B) 13/50 + 6/50 19/50 = 0.38
P (A or B) = P (A) + P (B) – P (A&B) = 14/50 + 19/50 – 6/50 = 27/50 = 0.54
Or
P (A or B) = 1 – P (Neither A nor B) = 1 – (23/50) = 27/50 = 0.54
Set 3, Sum 2
The leader of MP Fiber Plant, Sid, has drafted a set of wage & benefit
demands to be presented to the management. To get an idea of worker
support for the package, he randomly polls the two largest groups of
workers at his plant, the Machinists (M) & the Inspectors (I). He polls 30 of
each group with the following results: Opinion of Package M I
Strongly Support 9 10
Mildly Support 11 3
Undecided 2 2
Mildly Oppose 4 8
Strongly Oppose 4 7
TOTAL 30 30
• Find the probability that a randomly chosen driver is a cell phone user in a car
• Find the probability that a randomly chosen driver had no violation in the last
year
• Find the probability that a randomly chosen driver had no violation in the last
year and is a cell phone user
• Find the probability that a randomly chosen driver had no violation in the last
year or is a cell phone user
• Find the probability that a randomly chosen driver found to have violated the
rules is a cell phone user
Set 3, Sum 4
In a study of speeding violations and drivers who use cell phones covering 700 cell
phone users, data has been collected as shown in the table
Speeding violation No speeding violation in Total
in the last year the last year
Cellphone user in a Car 25 275 300
Not Cellphone User in a Car 75 325 400
Total 100 600 700
• Find the probability that a randomly chosen driver is a cell phone user in a car
[ 300/700 = 3/7 = 0.43 ]
• Find the probability that a randomly chosen driver had no violation in the last
year [ 600/700 = 6/7 = 0.86 ]
• Find the probability that a randomly chosen driver had no violation in the last
year and is a cell phone user [ 275/700 = 11/28 = 0.39 ]
• Find the probability that a randomly chosen driver had no violation in the last
year or is a cell phone user [ 625/700 = 25/28 = 0.89 ]
• Find the probability that a randomly chosen driver found to have violated the
rules is a cell phone user [ 25/100 = 1/4 = 0.25 ]
Set 3, Sum 5
Social class v Number of Children in the family is tabulated below. Find the
probabilities.
Number of Children Lower Middle Upper
0 7 18 6
1 9 38 23
2 34 97 58
3 47 31 30
• P (3 Children)
• P (Lower or 3 Children)
• P (Middle or 1 Child)
• P (Lower | 2 Children)
• P (0 Child | Middle)
Set 3, Sum 5
Social class v Number of Children in the family is tabulated below. Find the
probabilities.
Number of Children Lower Middle Upper TOTAL
0 7 18 6 31
1 9 38 23 70
2 34 97 58 189
3 47 31 30 108
TOTAL 97 184 117 398
• P (3 Children)
• P (Lower or 3 Children)
• P (Middle or 1 Child)
• P (Lower | 2 Children)
• P (0 Child | Middle)
Set 3, Sum 5
Social class v Number of Children in the family is tabulated below. Find the
probabilities.
Number of Children Lower Middle Upper TOTAL
0 7 18 6 31
1 9 38 23 70
2 34 97 58 189
3 47 31 30 108
TOTAL 97 184 117 398