Probability & Prob. Distributions
Probability & Prob. Distributions
Second coin
H
T
H
T
Outcome
HH
HT
TH
TT
No . of outcomes favorable
the event
Total no . of all possible outcomes
is
known
in
advance
before
No . of of occurrence of an event
Total no .of trials
No. of successes
Total no . of trials
The sample
Since the coins are fair, we can assign the probability 1/8 to each
sample point.
Let E be the event at least 2 Heads appear &
Let F be the event as first coin shows tail then
E = {HHH, HTH, THH, HHT} &
F = {THH, TTH, THT, TTT}
E F = {THH}
So P(E) = P(HHH) + P(HTH) + P(THH) + P(HHT) = 1/8 + 1/8 + 1/8
+ 1/8 = 4/8 = 1/2;
P(F) = P(THH) + P(TTH) + P(THT) + P(TTT) = 1/8 + 1/8 + 1/8 +
1/8 = 4/8 = 1/2 &
P(E F) = 1/8
Now, suppose we are given that the event F occurs (i.e., the first
coin shows tail), then what is the probability of occurrence of E?
This information reduces our sample space from the set S to its
subset F for the event E.
Thus, probability of E considering F as the sample space = 1/4
So P(E|F) =
n(E F)
n( F)
n( E F /n(S ))
n(F)/n( S)
P( E F )
, where P(F) 0 i.e., F
P(F )
(empty set)
Problem:
In an organization, out of 200 employees, 40 are having their
monthly salary more than Rs.15000 & 120 of them are regular
takers of Alpha Brand Tea. Out of those 40, who are having their
monthly salary more than Rs.15000, 20 are regular takers of
Alpha Brand Tea. If a particular employee is selected, what is the
probability that he is having a monthly salary more than
Rs.15000, if he is a regular taker of Alpha Brand Tea?
Rule of Multiplication
P(A B) = P(A) P(B|A) = P(B) P(A|B)
If A, B & C are 3 events of sample space, then we have
P(A B C) = P(A) P(B|A) P(C|A B) = P(A) P(B|A) P(C|AB)
Independent events:
2 events are said to be independent if the occurrence of one
event does not influence the occurrence of the other event.
e.g. Successive tosses of a fair coin are independent. If a fair
coin is tossed twice, the event Head in the first toss (assume this
as event A) and the event Head in the 2 nd toss (assume this as
event B) are independent since the occurrence of Head in any
toss does not influence the occurrence of Head of the other toss
and the probability of getting a Head, say, in the second toss,
which is 1/2, does not change, whether in the 1 st toss we get a
2
4
3
5
1
4 .
3
4 .
The
2 3 3
, ,
5 7 4
respectively.
What is the
Probability Distribution of
the experiment
Probability
# of
of
outcome occurrenc
Even s of the
e of the
t
event
event
HHH 1
1/8
HHT 3
3/8
HTT 3
3/8
TTT
1
1/8
Total
1
The discrete probability distribution of tossing 3 coins is
calculated as follows:
The events of this experiment are HHH, HHT, HTT & TTT. Let X be
a r.v. defined as the no. of Heads in the event occurrence, which is
probabilistic.
The events HHH, HHT, HTT, TTT can be defined as follows:
X = 0, when the event is TTT (i.e., no. of Heads is 0)
X = 1, when the event is HTT (i.e., no. of Heads is 1)
X = 2, when the event is HHT (i.e., no. of Heads is 2)
X = 3, when the event is HHH (i.e., no. of Heads is 3)
Based on this, the probability distribution is
1 /8, if X =03
3/8,if X=12
0, otherwise
P(X) =
3 x 23 x +1.5,if 0 x 1
0, ot h erwise
f ( x) dx
0
(3 x 23 x +1.5) dx
0
=1
4
4
Poisson distribution
It is a discrete probability distribution. This is usually used to
represent the no. of occurrence of an event in one unit of time.
1
exp[-(x )2/22),
(2)
- < X <
exp[-Z2/2),
- < Z <
1
, a x b
ba
0, otherwise
b
P( X=x)dx
a
dx
ba
a+b
2
&
=1
Problem:
In a private canteen, the daily demand for packed meals follows
uniform distribution as below:
P(X) = 1 / (450 230),
230 X 450
= 0, otherwise
If the service level of satisfying the demand of the canteen is 0.8,
find the highest possible demand which can be satisfied w.r.t. the
given service level (cumulative probability)
Problem:
Let the continuous r.v. X denote the current measured in a thin
copper wire in milliamperes. Assume that the range of X is [0,
20mA], and assume that the p.d.f. of X is f(x) = 0.05, 0 x 20 ;
What is the probability that a measurement of current is between
5 and 10 mA?
Exponential Distribution
It is a continuous probability distribution. This distribution is used
to represent the time interval between consecutive occurrence of
an event, like inter-arrival time of customers, service time for
customers, mean time between failures in maintenance activity,
etc.
Consider the example of the service time of customers in a
queuing system. Generally the service time in a queuing example
is a random variable which follows exponential distribution. Let
the no. of customers served per unit time (service rate) be .
Therefore, the service time is (1/).
If r.v. X follows exponential distribution, then the probability
density function f(x) = e-x, x 0
The r.v. X that equals the distance between successive events of
a Poisson process with mean > 0 is an exponential random
variable with parameter . The p.d.f. of X is
f(x) = e-x for 0 x
E(X) = =
& = V(X) =
2
1
2
;
x
P(x1 X x2) = e
x
- e , for 0 x1 < x2
1
Problem:
In an international airport, the service time for servicing flights by
a terminal follows exponential distribution. The service rate of a
terminal servicing the flights is 20 per day. Find the probability
that the service time of the terminal in clearing a flight is less
than 0.45 hour.
Problem:
In a mainframe computer centre, execution time of programs
follows exponential distribution. The average execution time of
the programs is 5 minutes. Find the probability that the execution
time of programs is
(a) Less than 4 minutes
(b) More than 6 minutes
(HintAverage execution time is 5 minutes; Means the execution
rate is (1/5) = )