PSFDS Unit1 Week3
PSFDS Unit1 Week3
(
P( A) = ∑ i =1 P A Bi P (Bi )
n
)
• This is called divide and conquer approach to find the probability
of complex event A by identifying all different causes Bi for A.
(
P A Bi P (Bi ) )
P (Bi A) =
∑
n
i =1
P A Bi P ( (
Bi
) )
likelihood prior
posterior
evidence
Bayes’ theorem is an important tool for determining the
relative likelihood of a particular cause to an event.
03/01/2024 Dr. Jigar Shah (Asst. Prof., ICT, PDEU, Gandh 2
inagar)
Example
• A communication system encounters one of three possible
interference waveforms: F1, F2 or F3. The probability of each
interference is 0.8,0.16 and 0.04 respectively. The communication
system fails with probabilities 0.01,0.1 and 0.4 when it encounters F1,
F2 and F3 respectively. Given that the system had failed, find the
probability that the failure is a result of F1, F2 or F3 respectively.
P(A | F1 ) P ( F1 )
• P(F1)=0.8, P(F2)=0.16, P(F1 | A) 3
0 .2
P(A | F ) P(F )
i i
P(F3)=0.04 i 1
P(A | F2 ) P ( F2 )
P(F2 | A) 3
0 .4
• A=event of system failure. P(A | F ) P(F )
i 1
i i
P(A | F3 ) P ( F3 )
• P(A|F1)=0.01, P(A|F2)=0.1, P(A| P(F3 | A) 3
0 .4
P(A | F ) P(F )
i i
F3)=0.4 i 1
x2 Tail X = -1
x1 x2 xn R
-3 -2 -1 0 1 2 3
• An upper-case letter will represent the name of the
random variable, usually X.
• Its lower-case counterpart, xi,(i=1,2,..,n) will represent
the value of the random variable for outcome i.
• The probability that the random variable X will equal
xi is: P(X = xi) or PX (xi)
• Let X = number of heads in 10 flips of coin
• P(X = 5) = PX (5)Dr.inagar)
03/01/2024 = Shah
Jigar probability of
(Asst. Prof., ICT, PDEU, 5 heads in 10 flips
Gandh 5
Discrete Random Variable (D.R.V.): Example
= 1/36 1/18 1/12 1/9 5/36 1/6 5/36 1/9 1/12 1/18 1/36
P
i
X ( xi ) 1
• Properties of CDF :
1. 0 FX ( xi ) 1
2. FX () 1, FX () 0
3. FX is a nondecreasing function
i.e. FX ( xi ) FX ( x j ) for xi x j
• For D.R.V. the CDF is always staircase type function and PMF is
always impulse train
03/01/2024
as cleared in next example.
Dr. Jigar Shah (Asst. Prof., ICT, PDEU, Gandh 7
inagar)
Example: CDF of Discrete R.V.
• Consider an experiment of rolling of two dice.
Assign the random variable X to the sum of
numbers on two dice. Find PMF and CDF.
• X = sum of two numbers after rolling two dice.
Following table specifies all possible outcomes
along with their probabilities.
X =xi 2 3 4 5 6 7 8 9 10 11 12
PX(xi) 1/36 2/36 3/36 4/36 5/36 6/36 5/36 4/36 3/36 2/36 1/36
FX(xi) 1/36 3/36 6/36 10/36 15/36 21/36 26/36 30/36 33/36 35/36 36/36
𝑖
03/01/2024 Dr. Jigar Shah (Asst. Prof., ICT, PDEU, Gandh 12
• This is called marginal (total) PMF.
inagar)
Continuous Random Variables (C.R.V.) and Distribution Functions:
• Properties of PDF :
1. PDF is always non-negative f X ( x ) 0
2. Total area under PDF curve is unity
f ( x)dx F () F () 1
X X X