















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
















Conditional CDF and PDF: Recall that in Chapter 2, we defined conditional CDF and PDF of event {X
x} for conditioning event B (fixed), i.e.
[^
]^
[^
]
BX
|
C onditional CDF
and
BX
BX
|
|^
C onditional PDF
Also, the standard properties of CDF and PDF apply to these as well (See pages 60 and 61 of your textbook). Some additionalproperties are given in the next remarks.
Department of Electrical & Computer Engineering
Remarks:^ 1. For r.v. X conditional PDF is
|^
i
i
i
BX
∑
δ
conditional expectation or mean
of r.v. X is defined to be
∞ ∫ ∞−
BX
|
For discrete r.v. this becomes
∑
i
i
i^
More generally,
∞ ∫ ∞−
BX
|
or
∑
i
i
i^
Department of Electrical & Computer Engineering
Note that for continuous r.v. the expression for F
(x|Y=y)=X
(x|y) can alternatively be written as (^) (^
)^
(^
)^
[^
]^
[^
]
(^
)
) (
) ,(
) ( 2
) ,( 2
) (
) , (
lim
|
|
|
,
0
y f
y Yx F
y y f
y y Yx F
d f
d d
f
y Y P
y Y x X P y Y x X P y Y x F y x F
Y X Y X y y
y y^
Y
x^
y y yy^
YX
y X
X
=
=
∆
=
=
=
= ∩ ≤ = = ≤ = = =
∫ ∫ ∫
∆+ ∆−
∞−
∆+ ∆−
→∆
β β
β α β α
For discrete r.v’s X and Y with possible values x
, yi
,^ ij
∈[1,N], j
∈[1,M]
it can be shown that
[^
]^
]
[ )
(
and ) ( ]
,
[
,^
1
k
k
Y
i
N i
k
i
k
X^
y Y P y Y f x x u y Y x X P y
Yx F^
= = = − = = =
=^
∑=
Thus, we get
1
i
N i
k
k
i
k
X^
∑=
4
Department of Electrical & Computer Engineering
The associated PDF is
(^
)^
(^
)
dx
y x dF y x f^
X
X
(^
)
It can be shown that
(^
)^
(^
)^
(^
)
(^
) y f
x f x y f y f
y x f y x f
Y
X
Y
YX Y
X
,^
(^
)^
(^
)^
(^
)^
(^
)
( ) x f
y f y x f x f
y x f x y f
X
Y
X
Y X X
Y
,^
Bayes’ Theorem
A posteriori conditional PDF
A priori conditional PDF
or^ and
(^
)^
(^
)
x
X
X^
d y f y x F
These functions satisfy the same properties as the unconditionalones.
Department of Electrical & Computer Engineering
(^
)^
(^
) ) (
,
y f
y x f y x f YX Y
X^
Thus,
elsewhere
2 2
2 2
y r
x
y r
Remark: For discrete r.v’s X and Y with possible values x
, yi
,^ ij
∈[1,N], j
∈[1,M]
the conditional PDF can be expressed as
1 1
i
N i
k
i
i
N i^
k
k
i
k
X
∑= ∑=
δ δ
Department of Electrical & Computer Engineering
Statistical Independence: Recall that events A, B are statistically independent if and only if
(^
)^
(^
)^
(^
) B P A P B A P^
(^
)^
(^
) (^
)^
(^
) A P
B P
or
For r.v.’s X and Y with events {X
x}, {Y
y} statistically
independence similarly implies that
(^
)^
(^
)^
(^
) y
Y P x X P y Y x X
,^ (
)^
(^
)^
(^
) y F x F y x
F^
Y
X
Y X^
,^
Thus, And from the previous definitions,
(^
)^
(^
)^
(^
) y f x f y x f^
Y
X
Y X^
,^
Department of Electrical & Computer Engineering
(3) The PDF of the sum of a large number of statistically
independent r.v.’s approaches a Gaussian density function (central limit theorem). Example 8: Given the following joint PDF
(^
)^
(^
)^
∫
∫
∞
−
∞ ∞−
0
) 1 (
,^
yx
YX
( Y
)^
) ( ) (
,^
) 1 (
,^
y u x u
ex
y x f^
yx
YX
Find the marginal PDF’s and determine statistical independence.
2
2
) 1 (^
) 1
/() ( 0 ] ) 1 (
1
) 1
[ (
) (^
= ∞⎤ ⎥ ⎦
⎡ ⎢ ⎣
−
⇒
−^
y y u
y
x y
e y u^
yx
Solution:
Department of Electrical & Computer Engineering
( )
(^
)^
∫
∫
∞
−
−
∞ ∞−
0
,^
xy
x
YX
X
) (
0
1 ) (^
x u e
e x
x u ex
x
xy
x^
−
−
−^
= ∞⎤ ⎥⎦
⎡ ⎢−⎣
⇒ (^
)^
) ( ) (
, ,^
y f x f y x
f^
Y
X
YX
≠
Clearly
i.e. statistically dependent.
Example 9:
Two r.v.’s have a joint PDF as (^
)^
(^
)
elsewhere
,
y x y x A y x
f^
Y X
(a) Find the value of A. (b) Find the marginal PDF’s. (c) Find the conditional PDF’s and determine statistical
independence.
Department of Electrical & Computer Engineering
(^
)^
elsewhere
y
y
y f^ Y
Similarly,
(^
)^
(^
)
,
y
y x
y f
y x f y x f YX Y
X^
and
(c)
(^
)^
(^
)
,
x
y x
x f
y x f x y f Y X X
Y
( )
(^
)^
(^
)(^
)^
y x y x y f x
f^
Y
X^
Since they are NOT statistically independent.
Department of Electrical & Computer Engineering
Sum of Two Random Variables-Very Important Let Z be a r.v. equal to the sum of two r.v.’s X and N (signal
Communication
Channel
Noise
Z = X + N
X
Given the PDF’s of X and N, i.e.,
fX
(x)
and
fN
(n),
the PDF
of r.v. Z=X+N is the convolution of the two PDF’s, i.e.
( )
(^
)^
(^
)^
(^
)^
(^
)
α α
α
α α
α^
d f z f d z f f z
f^
N
X
N
X
Z^
∞ ∞−
∞ ∞−
−
=
−
=
( )
) ( ) ( ) ( )
(^
z f z f z f z f z
f^
X
N
N
X
Z^
∗
=
∗
=
or where * stands for linear convolution.
Department of Electrical & Computer Engineering
And let Z = X + N. Find
fZ
(z).
( )
(^
)^
(^
)^
(^
)^
(^
)
α α
α
α α
α^
d f z f d z f f z
f^
N
X
N
X
Z^
∞ ∞−
∞ ∞−
−
=
−
=
Hint: When taking the convolution integral always fix the more complicated functionwhile the other function is flipped and used as a moving frame.^ Solution:
z^
z
-^
1
(^
)α − fX
(^ )^ α N f
(^
) α − z f^ X
1/
α
Department of Electrical & Computer Engineering
Region 1: For z < -1 Obviously no overlap, thus
-^
(^1 ) α f^ N
(^
)α − z fX
1/
( )
z for 0
z fZ
α
z
Region 2: For –
z < 1
( )
(^
)
− −
=
z^
z
Z^
d
e
z f
1 1 2
α α^
z z^ e e
1
−
−
α
(^
)
− − =^
z e
Department of Electrical & Computer Engineering
α^17
-^
1
(^ )^ α N f
1/
OverlapRegion
(^ z
)α − z fX
Generalization-Sum of Multiple Random Variables:^ Consider N statistically independent r.v.’s X
N^
with
PDF’s
, then the PDF of r.v.
is given by
i.e. (N-1)-fold (consecutive) convolution of N PDF’s.
( )
1
1
X
X
X
Z^
N
N^
−
N X
X
X Z^
=^
.... 2
1
) (^
1 1
x f^ X
) (^
2 2
x f^ X
) (^
N
X^
x f^
N
Central Limit Theorem
(Cramer 1946)
The CDF of the sum of a large number (i.e. N large) of statistically independent and identically distributed (IID)
r.v.’s
approaches that of
Gaussian,
regardless of the CDF of individual
r.v.’s.
Department of Electrical & Computer Engineering
Maximum
A Posteriori
(MAP) Estimator
Let Z (e.g. Z=X+N i.e. signal+noise) represent the observation/ measurement, then the MAP estimate of r.v. X (unknown parameter/signal) is the one that maximizes the
a posteriori
conditional PDF, i.e.
x MAP x
Noisy Measurements(Observations)
Measurement
X )( x f^ X
Inference
Department of Electrical & Computer Engineering
Y
)| (|
x y f^
XY
) | (|
y x f^ ˆ X YX