Beruflich Dokumente
Kultur Dokumente
BAYES THEOREM
Example: toss a coin 100 times, how many Heads will come up?
Example:
An experiment is carried out: Toss a coin twice.
Sample space
1.
2.
Symbols
A event A occurring
Example
If S = {p, q, r, s, t, u, v, w, x, y} and A = {q, s, t, v, x}, B = {p, r, v, w, y},
(b) AB
(c) C
(d) (AB) D
(e) (B C)
Theorem:
If an experiment can result in any one of different equally
likely outcomes and if exactly of these outcomes
correspond to event , then the probability of event is
no. of outcomes included in the event
= =
sample size
Definition
The probability of an event A is the sum of the weights of all
sample points in A. Therefore,
Example 2.1:
1) A bag contains 10 red marbles. A marble is drawn randomly
from the bag. Find the probability that the marble drawn is
a) Red
b) Black
2) Ali has a set of eight cards numbered 1 to 8. A card is drawn
randomly from the set of cards. Find the probability that the
number drawn is
a) 8
b) Not 8
3) Roll a dice three times and see whether you obtain no. 6.
Find the probability of each of the following events:
a) You obtain at least one no. 6.
Ans: 91/216
b) You obtain at least two no. 6.
Ans: 2/27
c) You obtain at most two no. 6.
Ans: 215/216
Example:
Independent events: Probability of Tom and Tony score
A in Mathematics are 0.7 and 0.9, respectively. What is
the probability that both of them fail to score A in
Mathematics?
Ans: 0.03
Dependent events: A bag contains 3 white balls and 2
black balls. Tom draws a ball without placing it back to
the bag and followed by drawing the second ball. What
is the probability that the second ball drawn is in white
colour?
Ans: 3/5
Example 2.2:
1) The probability that an automobile being filled with gasoline
also needs an oil change is 0.25; the probability that it needs
a new oil filter is 0.40; the probability that both the oil and
the filter need changing is 0.14.
a) Are the events that needs an oil change and oil filter
change independent?
b) If the oil has to be changed, what is the probability that a
new oil filter is needed?
c) If the new oil filter is needed, what is the probability that
the oil has to be changed?
P(closure) 0.7
0.6
0.65
0.65
0.97
=
=1
(| ) .
=1
= 1 1 + 2 2 + +
(| )
Example 2.3:
In a certain assembly plant, three machines, 1 , 2 and 3 ,
make 30%, 45%, and 25%, respectively, of the products. It
is known from the past experience that 2%, 3%, and 2% of
the products made by each machine, respectively, are
defective. A finished product is randomly selected. What is
the probability that it is defective?
From previous, | =
Then,
and =
= = =
1 1
+ 2 2 + +
Example 2.4:
1) A manufacturing firm employs 3 analytical plans for the
design and development of a particular product. For
cost reasons, all three are used in varying times. In fact,
plans 1, 2 or 3 are used for 30%, 20% and 50% of the
products, respectively. The defect rate given plan 1, 2
and 3 are 0.01, 0.03 and 0.02, respectively. If a random
product was observed and found to be defective, which
plan was most likely used and thus responsible?
Exercise
It is known from past experience that the probability of
selecting an adult over 60 years of age who are
smokers is 0.35. Of those adults over 60 years of age
who are smokers, 55% of them have heart attack. Of
those adults over 60 years of age who are
nonsmokers, 12% of them have heart attack. What is
the probability of selecting one of these adults with
heart attack is found to be a nonsmoker? What is the
probability of selecting one of these adults without
heart attack is found to be a smoker?