Probability Concept and Application
Probability Concept and Application
Probability Concept and Application
(EBM2123)
Probability Concepts & Application
1 2
The probability, P of any The sum of
event, or sample point probabilities for all
occurring is greater than possible outcome
or equal to 0, and less of an activity must
than or equal to 1 equal to 1
for all i
Example
Inthe experiment of rolling a dice, the total number of outcome
is 6. In general, by randomly rolling a dice, the probability of
getting any number, say number 3 is
Subjective Method
• When logic and past history are not appropriate, probabilities can be assessed
subjectively, depending on one’s experience or judgment.
• Example: Opinion polls on probability of winning an election
Example of Relative Frequency
In the past 30 days, salesman A has sold either 8,9,10 or 11 of
product XYZ. It never sold fewer than 8 or more than 11. Assuming
the past is similar to the future, find the probabilities of the
number of product sold if sales were 8 units on 10 days, 9 units on
12 days, 10 units on 6 days and 11 units on 2 day.
Mutually Exclusive A B
Intersection of A and B
Relationship of Probability (Cont’d)
Collectively exhaustive: When the list of outcomes
includes every possible outcomes
Example
Collectively A B A B
Exhaustive
Not
Collectively A B A B
Exhaustive
Complement of Event
As sum of possibilities of all possible outcome is 1, in collectively
exhaustive,
A A c 𝑃 ( 𝐴 ) =1− 𝑃 ( 𝐴 𝑐 )
A B A B C A B C D
𝐵= 𝐴𝑐 𝐵 ∪ 𝐶 =𝐴𝑐 𝐵 ∪ 𝐶 ∪ 𝐷= 𝐴 𝑐
Addition Law
The union of two events is when we are interested in
whether one event or a second event will occur, i.e the
event containing all sample points in A, B or both.
𝑃 ( 𝐴 ∨𝐵 )=𝑃 ( 𝐴 )+ 𝑃 (𝐵)
A B
𝑃 ( 𝐴 ∪ 𝐵 ) =𝑃 ( 𝐴 )+ 𝑃 (𝐵)
𝑃 ( 𝐴 ∨𝐵 )=𝑃 ( 𝐴 )+ 𝑃 ( 𝐵 ) − 𝑃( 𝐴∧𝐵)
A B
𝑃 ( 𝐴 ∪ 𝐵 ) =𝑃 ( 𝐴 )+ 𝑃 ( 𝐵 ) − 𝑃( 𝐴 ∩ 𝐵)
Addition Law (Example)
1. In the experiment of drawing a card, find the probability of
drawing a 5 or drawing a diamond.
Exercise (Q1)
In a college course, from 200 students taking the course, 160 passed
in mid-term exam, 140 passed the final exam, and 124 students
passed both exam. After reviewing the grade, the lecturer decided to
give a passing grade to any student who passed at least one of the
two exams. What is the probability of a student receiving a passing
grade in this?
Independent & Dependent Event
Independent event: When the occurrence of one event has no
effect on the probability of occurrence of the second event.
Example
1. Draw a jack of heart from full deck & draw a queen of club from full
deck :- Independent
4. Win the UEFA Champions League & Win the UEFA Super Cup:-
Dependent
Marginal, Joint & Conditional Probability
Marginal probability
• Also known as simple probability, it is just the
probability of an event occurring
Joint probability
• A probability of event A and event B (and other events)
occurring together, or one after another.
Conditional probability
• A probability of an event A, given that another event B
has taken place.
Example
A bucket contains 3 black balls and 7 green balls. We draw a
ball from the bucket, replace it, and draw a second ball.
• Probability of drawing a black ball : Marginal probability
𝑃 ( 𝐴 ∩𝐵 )=𝑃 (𝐴 )× 𝑃 ( 𝐵 )
*Joint probability of event A and B is same as intersection of event A and B
𝑃 ( 𝐵| 𝐴 ) =𝑃(𝐵)
Example
A bucket contains 3 black balls and 7 green balls. We draw a
ball from the bucket, replace it, and draw a second ball.
• Probability of drawing a black ball : Marginal probability
b. What is the probability that at least one supplier delivers the material in four
days?
c. What is the probability the production process is shut down in four days?
Joint & Conditional Probability in Dependent Event
𝑃 ( 𝐴 ∩𝐵 )=𝑃 ( 𝐴|𝐵 ) × 𝑃 ( 𝐵 )
𝑃 ( 𝐿∩𝑌 )
𝑃 ( 𝐿|𝑌 ) = =? ? ?
𝑃(𝑌 )
Exercise (Q3)
Your stockbroker informs you that if the stock market reaches the
12,500 level by year-end, there is 70% probability that share price
of company A will go up in value. Based your own analysis, there is
only 40% chance of the stock market to reach 12,500 level by year-
end. What is the probability that both stock market will reach
12,500 level and share price of company A will go up?
Exercise (Q4)
A class contains 30 students. Ten are female (F) and from Sarawak
(S); 12 are male (M) and from Sarawak; 6 are female and from
West Malaysia (W); 2 are male and from West Malaysia.
A name is randomly selected from the class roster and it is female.
What is the probability that the student is a Sarawakian?
Exercise (Q5)
A quality controller of a manufacturing company has sampled 25
items from the production line. An item will pass the test if it has
no defect, but if it is defective, further test will determine whether
it is minor or major defect. Of the 25 sampled items, 4 have minor
defects and 2 have major defects. What is the probability that an
item has major defect, given that it is defective?
Posterior Probabilities
Bayes’ theorem is used to incorporate additional information as it
is made available and help create revised or posterior probabilities.
Prior
Probabilities
Posterior
Bayes’ Process
Probabilities
New
Information
Example of Posterior Probabilities
A cup contains two identical dices, however one is loaded (biased)
and one is fair (unbiased). The probability of rolling a 3 on the fair dice
is 1/6 or 0.167. For loaded dice, the probability of tossing a 3 however
is 0.60. Mr. Jones has no idea which dice is which. He select one dice
randomly and toss it. The result is 3.
From above, we know that Mr. Jones select dice at random. So,
…(1)
We also know that,
…(2)
From (1) and (2), we can compute
…(3)
…(4)
Example of Posterior Probabilities (Cont’d)
From (3) and (4), we can compute the probability of getting a 3.
…(5)
If a 3 does occur, and if we do not know which dice it come from, the
probability of that dice is fair one is
…(6)
And, the probability of the dice is loaded one
…(7)
𝑃 ( 𝐵| 𝐴 ) 𝑃 ( 𝐴 )
𝑃 ( 𝐴|𝐵 ) =
𝑃 ( 𝐵| 𝐴 ) 𝑃 ( 𝐴 )+ 𝑃 ( 𝐵| 𝐴 𝑐 ) 𝑃 ( 𝐴 𝑐 )
Example Using Bayes’ Theorem
Using the same example of loaded and fair dices, we replace
A : Fair dice
Ac : Loaded dice
B : Get 3
𝑃 ( 𝐵| 𝐴 ) 𝑃 ( 𝐴 )
Therefore, 𝑃 ( 𝐴|𝐵 ) =
𝑃 ( 𝐵| 𝐴 ) 𝑃 ( 𝐴 )+ 𝑃 ( 𝐵| 𝐴 𝑐 ) 𝑃 ( 𝐴 𝑐 )
Example Using Bayes’ Theorem (Cont’d)
Or,
Exercise (Q6)
A car manufacturer, purchase a certain part of car accessories from
suppliers A, B and C. Supplier A supply 60% of the parts, B 30% and C
10%. The quality of part varies among the suppliers, with A, B and C
having 0.25%, 1% and 2% defective rates, respectively. The parts are used
in one of the company top selling car, car XYZ.
a. What is the probability that the car XYZ is assembled with a defective
accessories?
b. When a defective part is found, which supplier is the likely source?