SlideShare a Scribd company logo
1 of 18
1
As we have seen in section 4 conditional probability density
functions are useful to update the information about an
event based on the knowledge about some other related
event (refer to example 4.7). In this section, we shall
analyze the situation where the related event happens to be a
random variable that is dependent on the one of interest.
From (4-11), recall that the distribution function of X given
an event B is
(11-1)
   .
)
(
)
)
(
(
|
)
(
)
|
(
B
P
B
x
X
P
B
x
X
P
B
x
FX







PILLAI
11. Conditional Density Functions and
Conditional Expected Values
2
Suppose, we let
Substituting (11-2) into (11-1), we get
where we have made use of (7-4). But using (3-28) and (7-7)
we can rewrite (11-3) as
To determine, the limiting case we can let
and in (11-4).
 .
)
( 2
1 y
Y
y
B 

 
(11-3)
(11-2)
 
,
)
(
)
(
)
,
(
)
,
(
)
)
(
(
)
(
,
)
(
)
|
(
1
2
1
2
2
1
2
1
2
1
y
F
y
F
y
x
F
y
x
F
y
Y
y
P
y
Y
y
x
X
P
y
Y
y
x
F
Y
Y
XY
XY
X














.
)
(
)
,
(
)
|
( 2
1
2
1
2
1

 




 y
y
Y
x y
y
XY
X
dv
v
f
dudv
v
u
f
y
Y
y
x
F
(11-4)
),
|
( y
Y
x
FX  y
y 
1
y
y
y 


2
PILLAI
3
This gives
and hence in the limit
(To remind about the conditional nature on the left hand
side, we shall use the subscript X | Y (instead of X) there).
Thus
Differentiating (11-7) with respect to x using (8-7), we get
(11-5)
(11-6)
.
)
(
)
,
(
)
|
(
lim
)
|
(
0 y
f
du
y
u
f
y
y
Y
y
x
F
y
Y
x
F
Y
x
XY
X
y
X
 










(11-7)
(11-8)
y
y
f
y
du
y
u
f
dv
v
f
dudv
v
u
f
y
y
Y
y
x
F
Y
x
XY
y
y
y
Y
x y
y
y
XY
X










  







)
(
)
,
(
)
(
)
,
(
)
|
(
.
)
(
)
,
(
)
|
(
|
y
f
du
y
u
f
y
Y
x
F
Y
x
XY
Y
X
 



.
)
(
)
,
(
)
|
(
|
y
f
y
x
f
y
Y
x
f
Y
XY
Y
X 

PILLAI
4
It is easy to see that the left side of (11-8) represents a valid
probability density function. In fact
and
where we have made use of (7-14). From (11-9) - (11-10),
(11-8) indeed represents a valid p.d.f, and we shall refer to it
as the conditional p.d.f of the r.v X given Y = y. We may also
write
From (11-8) and (11-11), we have
(11-9)
|
( , )
( | ) 0
( )
XY
X Y
Y
f x y
f x Y y
f y
  
,
1
)
(
)
(
)
(
)
,
(
)
|
(
| 












 y
f
y
f
y
f
dx
y
x
f
dx
y
Y
x
f
Y
Y
Y
XY
Y
X
(11-10)
(11-11)
,
)
(
)
,
(
)
|
(
|
y
f
y
x
f
y
x
f
Y
XY
Y
X  (11-12)
PILLAI
).
|
(
)
|
( |
| y
x
f
y
Y
x
f Y
X
Y
X 

5
and similarly
If the r.vs X and Y are independent, then
and (11-12) - (11-13) reduces to
implying that the conditional p.d.fs coincide with their
unconditional p.d.fs. This makes sense, since if X and Y are
independent r.vs, information about Y shouldn’t be of any
help in updating our knowledge about X.
In the case of discrete-type r.vs, (11-12) reduces to
)
(
)
(
)
,
( y
f
x
f
y
x
f Y
X
XY 
(11-13)
(11-14)
(11-15)
.
)
(
)
,
(
)
|
(
|
x
f
y
x
f
x
y
f
X
XY
X
Y 
),
(
)
|
(
),
(
)
|
( |
| y
f
x
y
f
x
f
y
x
f Y
X
Y
X
Y
X 

  .
)
(
)
,
(
|
j
j
i
j
i
y
Y
P
y
Y
x
X
P
y
Y
x
X
P






PILLAI
6
Next we shall illustrate the method of obtaining conditional
p.d.fs through an example.
Example 11.1: Given
determine and
Solution: The joint p.d.f is given to be a constant in the
shaded region. This gives
Similarly
and
(11-16)


 



,
otherwise
,
0
,
1
0
,
)
,
(
y
x
k
y
x
fXY
.
2
1
2
)
,
(
1
0
1
0 0





 
   k
k
dy
y
k
dy
dx
k
dxdy
y
x
f
y
XY
)
|
(
| y
x
f Y
X ).
|
(
| x
y
f X
Y
x
y
1
1
Fig. 11.1
,
1
0
),
1
(
)
,
(
)
(
1





 
 x
x
k
dy
k
dy
y
x
f
x
f
x
XY
X
(11-17)
.
1
0
,
)
,
(
)
(
0




 
 y
y
k
dx
k
dx
y
x
f
y
f
y
XY
Y
(11-18)
PILLAI
7
From (11-16) - (11-18), we get
and
We can use (11-12) - (11-13) to derive an important result.
From there, we also have
or
But
and using (11-23) in (11-22), we get
(11-19)
(11-20)
(11-21)
,
1
0
,
1
)
(
)
,
(
)
|
(
| 



 y
x
y
y
f
y
x
f
y
x
f
Y
XY
Y
X
.
1
0
,
1
1
)
(
)
,
(
)
|
(
| 




 y
x
x
x
f
y
x
f
x
y
f
X
XY
X
Y
)
(
)
|
(
)
(
)
|
(
)
,
( |
| x
f
x
y
f
y
f
y
x
f
y
x
f X
X
Y
Y
Y
X
XY 

.
)
(
)
(
)
|
(
)
|
( |
|
x
f
y
f
y
x
f
x
y
f
X
Y
Y
X
X
Y  (11-22)











 | )
(
)
|
(
)
,
(
)
( dy
y
f
y
x
f
dy
y
x
f
x
f Y
Y
X
XY
X (11-23)
PILLAI
8
Equation (11-24) represents the p.d.f version of Bayes’
theorem. To appreciate the full significance of (11-24), one
need to look at communication problems where
observations can be used to update our knowledge about
unknown parameters. We shall illustrate this using a simple
example.
Example 11.2: An unknown random phase  is uniformly
distributed in the interval and where
n  Determine
Solution: Initially almost nothing about the r.v  is known,
so that we assume its a-priori p.d.f to be uniform in the
interval
.
)
(
)
|
(
)
(
)
|
(
)
|
(
|
|






dy
y
f
y
x
f
y
f
y
x
f
x
y
f
Y
Y
X
Y
Y
X
YX (24)
),
2
,
0
(  ,
n
r 

).
,
0
( 2

N ).
|
( r
f 
).
2
,
0
( 
PILLAI
9
In the equation we can think of n as the noise
contribution and r as the observation. It is reasonable to
assume that  and n are independent. In that case

since it is given that is a constant, behaves
like n. Using (11-24), this gives the a-posteriori p.d.f of 
given r to be (see Fig. 11.2 (b))
where
,
n
r 

)
,
(
)
|
( 2


 N
r
f 
θ (11-25)


θ
,
2
0
,
)
(
2
1
)
(
)
|
(
)
(
)
|
(
)
|
(
2
2
2
2
2
2
2
/
)
(
2
0
2
/
)
(
2
/
)
(
2
0


































r
r
r
e
r
d
e
e
d
f
r
f
f
r
f
r
f
.
2
)
( 2
0
2
/
)
( 2
2



 





d
e
r
r
(11-26)
n
r 

PILLAI
10
Notice that the knowledge about the observation r is
reflected in the a-posteriori p.d.f of  in Fig. 11.2 (b). It is
no longer flat as the a-priori p.d.f in Fig. 11.2 (a), and it
shows higher probabilities in the neighborhood of .
r


)
|
(
| r
f r 


(b) a-posteriori p.d.f of 
r


Fig. 11.2
Conditional Mean:
We can use the conditional p.d.fs to define the conditional
mean. More generally, applying (6-13) to conditional p.d.fs
we get
)
(

f

(a) a-priori p.d.f of 

2
1

2
PILLAI
11
 
( ) | ( ) ( | ) .
X
E g X B g x f x B dx


  (11-27)
and using a limiting argument as in (11-2) - (11-8), we get
to be the conditional mean of X given Y = y. Notice
that will be a function of y. Also
In a similar manner, the conditional variance of X given Y
= y is given by
we shall illustrate these calculations through an example.
  






 |
| )
|
(
| dx
y
x
f
x
y
Y
X
E Y
X
Y
X
 (11-28)
)
|
( y
Y
X
E 
  .
)
|
(
| |
| 






 dy
x
y
f
y
x
X
Y
E X
Y
X
Y
 (11-29)
   
 .
|
)
(
)
|
(
|
)
|
(
2
|
2
2
2
|
y
Y
X
E
y
Y
X
E
y
Y
X
E
Y
X
Var
Y
X
Y
X










(11-30)
PILLAI
12
Example 11.3: Let
Determine and
Solution: As Fig. 11.3 shows,
in the shaded area, and zero elsewhere.
From there
and
This gives
and


 



.
otherwise
,
0
,
1
|
|
0
,
1
)
,
(
x
y
y
x
fXY (11-31)
)
|
( Y
X
E ).
|
( X
Y
E
,
1
0
,
2
)
,
(
)
( 


 
x
x
dy
y
x
f
x
f
x
x
XY
X
1
| |
( ) 1 1 | |, | | 1,
Y
y
f y dx y y
   

,
1
|
|
0
,
|
|
1
1
)
(
)
,
(
)
|
(
| 




 x
y
y
y
f
y
x
f
y
x
f
Y
XY
Y
X
.
1
|
|
0
,
2
1
)
(
)
,
(
)
|
(
| 



 x
y
x
x
f
y
x
f
x
y
f
X
XY
X
Y
(11-32)
(11-33)
x
y
1
Fig. 11.3
1
)
,
( 
y
x
fXY
PILLAI
13
Hence
It is possible to obtain an interesting generalization of the
conditional mean formulas in (11-28) - (11-29). More
generally, (11-28) gives
But
.
1
|
|
,
2
|
|
1
|)
|
1
(
2
|
|
1
2
|)
|
1
(
1
|)
|
1
(
)
|
(
)
|
(
2
1
|
|
2
1
|
|
|










  
y
y
y
y
x
y
dx
y
x
dx
y
x
f
x
Y
X
E
y
y
Y
X
.
1
0
,
0
2
2
1
2
)
|
(
)
|
(
2
| 







  x
y
x
dy
x
y
dy
x
y
yf
X
Y
E
x
x
x
x
X
Y
(11-34)
(11-35)
 
 
 
|
( )|
( ) ( ) ( ) ( ) ( , )
( ) ( , ) ( ) ( | ) ( )
( ) | ( )
X XY
XY X Y Y
E g X Y y
Y
E g X g x f x dx g x f x y dydx
g x f x y dxdy g x f x y dx f y dy
E g X Y y f y dy E E
  
  
   
   



 
 
  
  
   
  
 
( ) | .
g X Y y

  |
( ) | ( ) ( | ) .
X Y
E g X Y y g x f x y dx


   (11-36)
(11-37)PILLAI
14
Obviously, in the right side of (11-37), the inner
expectation is with respect to X and the outer expectation is
with respect to Y. Letting g( X ) = X in (11-37) we get the
interesting identity
where the inner expectation on the right side is with respect
to X and the outer one is with respect to Y. Similarly, we
have
Using (11-37) and (11-30), we also obtain
 ,
)
|
(
)
( y
Y
X
E
E
X
E 

 .
)
|
(
)
( x
X
Y
E
E
Y
E 

(11-38)
(11-39)
 .
)
|
(
)
( y
Y
X
Var
E
X
Var 
 (11-40)
PILLAI
15
Conditional mean turns out to be an important concept in
estimation and prediction theory. For example given an
observation about a r.v X, what can we say about a related
r.v Y ? In other words what is the best predicted value of Y
given that X = x ? It turns out that if “best” is meant in the
sense of minimizing the mean square error between Y and
its estimate , then the conditional mean of Y given X = x,
i.e., is the best estimate for Y (see Lecture 16
for more on Mean Square Estimation).
We conclude this lecture with yet another application
of the conditional density formulation.
Example 11.4 : Poisson sum of Bernoulli random variables
Let represent independent, identically
distributed Bernoulli random variables with
Yˆ
)
|
( x
X
Y
E 

3,
2,
1,
, 
i
Xi
q
p
X
P
p
X
P i
i 




 1
)
0
(
,
)
1
(
16
and N a Poisson random variable with parameter that is
independent of all . Consider the random variables
Show that Y and Z are independent Poisson random variables.
Solution : To determine the joint probability mass function
of Y and Z, consider
.
,
1
Y
N
Z
X
Y
N
i
i 

 

(11-41)
i
X

PILLAI































n
m
i
i
N
i
i
n
m
N
P
m
X
P
n
m
N
P
n
m
N
m
X
P
n
m
N
P
n
m
N
m
Y
P
n
m
N
m
Y
P
n
Y
N
m
Y
P
n
Z
m
Y
P
1
1
)
(
)
(
)
(
)
(
)
(
)
(
)
,
(
)
,
(
)
,
(
(11-42)
17
)
)
,
(
~
( of
t
independen
are
and
that
Note
1
N
s
X
p
n
m
B
X i
n
m
i
i 



(11-43)
( )!
! ! ( )!
m n
m n
m n
p q e
m n m n
  

  
 
    

   












 

!
)
(
!
)
(
n
q
e
m
p
e
n
q
m
p 
 

).
(
)
( n
Z
P
m
Y
P 


PILLAI
Thus
and Y and Z are independent random variables.
Thus if a bird lays eggs that follow a Poisson random
variable with parameter , and if each egg survives
)
(
~
)
(
~ and 
 q
P
Z
p
P
Y (11-44)

18
with probability p, then the number of chicks that survive
also forms a Poisson random variable with parameter .

p
PILLAI

More Related Content

Similar to Conditional density function ectr11a.ppt

Finance Enginering from Columbia.pdf
Finance Enginering from Columbia.pdfFinance Enginering from Columbia.pdf
Finance Enginering from Columbia.pdfCarlosLazo45
 
Joint moments and joint characteristic functions
Joint moments and joint characteristic functionsJoint moments and joint characteristic functions
Joint moments and joint characteristic functionsNebiyu Mohammed
 
Fixed points theorem on a pair of random generalized non linear contractions
Fixed points theorem on a pair of random generalized non linear contractionsFixed points theorem on a pair of random generalized non linear contractions
Fixed points theorem on a pair of random generalized non linear contractionsAlexander Decker
 
One function of two Random variable a.ppt
One function of two Random variable a.pptOne function of two Random variable a.ppt
One function of two Random variable a.pptsadafshahbaz7777
 
Steven Duplij, "Polyadic Hopf algebras and quantum groups"
Steven Duplij, "Polyadic Hopf algebras and quantum groups"Steven Duplij, "Polyadic Hopf algebras and quantum groups"
Steven Duplij, "Polyadic Hopf algebras and quantum groups"Steven Duplij (Stepan Douplii)
 
Bayesian Inferences for Two Parameter Weibull Distribution
Bayesian Inferences for Two Parameter Weibull DistributionBayesian Inferences for Two Parameter Weibull Distribution
Bayesian Inferences for Two Parameter Weibull DistributionIOSR Journals
 
this materials is useful for the students who studying masters level in elect...
this materials is useful for the students who studying masters level in elect...this materials is useful for the students who studying masters level in elect...
this materials is useful for the students who studying masters level in elect...BhojRajAdhikari5
 
Appendix 2 Probability And Statistics
Appendix 2  Probability And StatisticsAppendix 2  Probability And Statistics
Appendix 2 Probability And StatisticsSarah Morrow
 
fourierseries-121010133546-phpapp02.pdf
fourierseries-121010133546-phpapp02.pdffourierseries-121010133546-phpapp02.pdf
fourierseries-121010133546-phpapp02.pdfdiehardgamer1
 
Pullbacks and Pushouts in the Category of Graphs
Pullbacks and Pushouts in the Category of GraphsPullbacks and Pushouts in the Category of Graphs
Pullbacks and Pushouts in the Category of Graphsiosrjce
 
Function an old french mathematician said[1]12
Function an old french mathematician said[1]12Function an old french mathematician said[1]12
Function an old french mathematician said[1]12Mark Hilbert
 
Spanos lecture+3-6334-estimation
Spanos lecture+3-6334-estimationSpanos lecture+3-6334-estimation
Spanos lecture+3-6334-estimationjemille6
 
International Journal of Mathematics and Statistics Invention (IJMSI)
International Journal of Mathematics and Statistics Invention (IJMSI) International Journal of Mathematics and Statistics Invention (IJMSI)
International Journal of Mathematics and Statistics Invention (IJMSI) inventionjournals
 
Some fixed point theorems in fuzzy mappings
Some fixed point theorems in fuzzy mappingsSome fixed point theorems in fuzzy mappings
Some fixed point theorems in fuzzy mappingsAlexander Decker
 

Similar to Conditional density function ectr11a.ppt (20)

Finance Enginering from Columbia.pdf
Finance Enginering from Columbia.pdfFinance Enginering from Columbia.pdf
Finance Enginering from Columbia.pdf
 
Joint moments and joint characteristic functions
Joint moments and joint characteristic functionsJoint moments and joint characteristic functions
Joint moments and joint characteristic functions
 
Fixed points theorem on a pair of random generalized non linear contractions
Fixed points theorem on a pair of random generalized non linear contractionsFixed points theorem on a pair of random generalized non linear contractions
Fixed points theorem on a pair of random generalized non linear contractions
 
One function of two Random variable a.ppt
One function of two Random variable a.pptOne function of two Random variable a.ppt
One function of two Random variable a.ppt
 
1532 fourier series
1532 fourier series1532 fourier series
1532 fourier series
 
Steven Duplij, "Polyadic Hopf algebras and quantum groups"
Steven Duplij, "Polyadic Hopf algebras and quantum groups"Steven Duplij, "Polyadic Hopf algebras and quantum groups"
Steven Duplij, "Polyadic Hopf algebras and quantum groups"
 
Bayesian Inferences for Two Parameter Weibull Distribution
Bayesian Inferences for Two Parameter Weibull DistributionBayesian Inferences for Two Parameter Weibull Distribution
Bayesian Inferences for Two Parameter Weibull Distribution
 
this materials is useful for the students who studying masters level in elect...
this materials is useful for the students who studying masters level in elect...this materials is useful for the students who studying masters level in elect...
this materials is useful for the students who studying masters level in elect...
 
Appendix 2 Probability And Statistics
Appendix 2  Probability And StatisticsAppendix 2  Probability And Statistics
Appendix 2 Probability And Statistics
 
fourierseries-121010133546-phpapp02.pdf
fourierseries-121010133546-phpapp02.pdffourierseries-121010133546-phpapp02.pdf
fourierseries-121010133546-phpapp02.pdf
 
eatonmuirheadsoaita
eatonmuirheadsoaitaeatonmuirheadsoaita
eatonmuirheadsoaita
 
201977 1-1-4-pb
201977 1-1-4-pb201977 1-1-4-pb
201977 1-1-4-pb
 
Pullbacks and Pushouts in the Category of Graphs
Pullbacks and Pushouts in the Category of GraphsPullbacks and Pushouts in the Category of Graphs
Pullbacks and Pushouts in the Category of Graphs
 
Congress
Congress Congress
Congress
 
Function an old french mathematician said[1]12
Function an old french mathematician said[1]12Function an old french mathematician said[1]12
Function an old french mathematician said[1]12
 
El6303 solu 3 f15 1
El6303 solu 3 f15  1 El6303 solu 3 f15  1
El6303 solu 3 f15 1
 
1807.02591v3.pdf
1807.02591v3.pdf1807.02591v3.pdf
1807.02591v3.pdf
 
Spanos lecture+3-6334-estimation
Spanos lecture+3-6334-estimationSpanos lecture+3-6334-estimation
Spanos lecture+3-6334-estimation
 
International Journal of Mathematics and Statistics Invention (IJMSI)
International Journal of Mathematics and Statistics Invention (IJMSI) International Journal of Mathematics and Statistics Invention (IJMSI)
International Journal of Mathematics and Statistics Invention (IJMSI)
 
Some fixed point theorems in fuzzy mappings
Some fixed point theorems in fuzzy mappingsSome fixed point theorems in fuzzy mappings
Some fixed point theorems in fuzzy mappings
 

More from sadafshahbaz7777

ITPTeaching201026899393876892827799866.ppt
ITPTeaching201026899393876892827799866.pptITPTeaching201026899393876892827799866.ppt
ITPTeaching201026899393876892827799866.pptsadafshahbaz7777
 
IOP-Limit-Less-careers-lesson-for-teachers.pptx
IOP-Limit-Less-careers-lesson-for-teachers.pptxIOP-Limit-Less-careers-lesson-for-teachers.pptx
IOP-Limit-Less-careers-lesson-for-teachers.pptxsadafshahbaz7777
 
Ch5_slides Qwertr12234543234433444344.ppt
Ch5_slides Qwertr12234543234433444344.pptCh5_slides Qwertr12234543234433444344.ppt
Ch5_slides Qwertr12234543234433444344.pptsadafshahbaz7777
 
Lecture 4-Structure and function of carbohydrates .ppt
Lecture 4-Structure and function of carbohydrates .pptLecture 4-Structure and function of carbohydrates .ppt
Lecture 4-Structure and function of carbohydrates .pptsadafshahbaz7777
 
social_media_for_research 234664445.pptx
social_media_for_research 234664445.pptxsocial_media_for_research 234664445.pptx
social_media_for_research 234664445.pptxsadafshahbaz7777
 
647883385-Role-of-Sufi-in-the-spread-of-Islam-in-subcontinent.pdf
647883385-Role-of-Sufi-in-the-spread-of-Islam-in-subcontinent.pdf647883385-Role-of-Sufi-in-the-spread-of-Islam-in-subcontinent.pdf
647883385-Role-of-Sufi-in-the-spread-of-Islam-in-subcontinent.pdfsadafshahbaz7777
 
Kee_Pookong_01.ppt 2579975435676667788888
Kee_Pookong_01.ppt 2579975435676667788888Kee_Pookong_01.ppt 2579975435676667788888
Kee_Pookong_01.ppt 2579975435676667788888sadafshahbaz7777
 
160572975823-intro-to-social-studies.pptx
160572975823-intro-to-social-studies.pptx160572975823-intro-to-social-studies.pptx
160572975823-intro-to-social-studies.pptxsadafshahbaz7777
 
C3LC_Waring_ap_Run Through_4-27-15_compressed.ppt
C3LC_Waring_ap_Run Through_4-27-15_compressed.pptC3LC_Waring_ap_Run Through_4-27-15_compressed.ppt
C3LC_Waring_ap_Run Through_4-27-15_compressed.pptsadafshahbaz7777
 
320936716-c-Constitutional-Development-of-Pakistan-Since-1947-to-Date (2).pdf
320936716-c-Constitutional-Development-of-Pakistan-Since-1947-to-Date (2).pdf320936716-c-Constitutional-Development-of-Pakistan-Since-1947-to-Date (2).pdf
320936716-c-Constitutional-Development-of-Pakistan-Since-1947-to-Date (2).pdfsadafshahbaz7777
 
373745833-235433Constitutional-Issues.pdf
373745833-235433Constitutional-Issues.pdf373745833-235433Constitutional-Issues.pdf
373745833-235433Constitutional-Issues.pdfsadafshahbaz7777
 
Choudhury-ConstitutionMakingDilemmasPakistan-1955.pdf
Choudhury-ConstitutionMakingDilemmasPakistan-1955.pdfChoudhury-ConstitutionMakingDilemmasPakistan-1955.pdf
Choudhury-ConstitutionMakingDilemmasPakistan-1955.pdfsadafshahbaz7777
 
Adverse Childhood Experiences Supplemental PowerPoint Slides (PPTX).pptx
Adverse Childhood Experiences Supplemental PowerPoint Slides (PPTX).pptxAdverse Childhood Experiences Supplemental PowerPoint Slides (PPTX).pptx
Adverse Childhood Experiences Supplemental PowerPoint Slides (PPTX).pptxsadafshahbaz7777
 
DevelopmentofLocalGovernanceandDecentralizationtoempowerCitizensinPakistan-AH...
DevelopmentofLocalGovernanceandDecentralizationtoempowerCitizensinPakistan-AH...DevelopmentofLocalGovernanceandDecentralizationtoempowerCitizensinPakistan-AH...
DevelopmentofLocalGovernanceandDecentralizationtoempowerCitizensinPakistan-AH...sadafshahbaz7777
 
Lecture 1-disp2456542234566.2456655555ppt
Lecture 1-disp2456542234566.2456655555pptLecture 1-disp2456542234566.2456655555ppt
Lecture 1-disp2456542234566.2456655555pptsadafshahbaz7777
 
First financial management 23566432245556
First financial management 23566432245556First financial management 23566432245556
First financial management 23566432245556sadafshahbaz7777
 
lecture_223⁵4323564334555543343333334.ppt
lecture_223⁵4323564334555543343333334.pptlecture_223⁵4323564334555543343333334.ppt
lecture_223⁵4323564334555543343333334.pptsadafshahbaz7777
 
CECS ejn working 11-8-246787654455517.pptx
CECS ejn working 11-8-246787654455517.pptxCECS ejn working 11-8-246787654455517.pptx
CECS ejn working 11-8-246787654455517.pptxsadafshahbaz7777
 
functionsoflocalgovernment-160425164745.pdf
functionsoflocalgovernment-160425164745.pdffunctionsoflocalgovernment-160425164745.pdf
functionsoflocalgovernment-160425164745.pdfsadafshahbaz7777
 
Gender_Equality_in_Education_-_National_HST.PPTX
Gender_Equality_in_Education_-_National_HST.PPTXGender_Equality_in_Education_-_National_HST.PPTX
Gender_Equality_in_Education_-_National_HST.PPTXsadafshahbaz7777
 

More from sadafshahbaz7777 (20)

ITPTeaching201026899393876892827799866.ppt
ITPTeaching201026899393876892827799866.pptITPTeaching201026899393876892827799866.ppt
ITPTeaching201026899393876892827799866.ppt
 
IOP-Limit-Less-careers-lesson-for-teachers.pptx
IOP-Limit-Less-careers-lesson-for-teachers.pptxIOP-Limit-Less-careers-lesson-for-teachers.pptx
IOP-Limit-Less-careers-lesson-for-teachers.pptx
 
Ch5_slides Qwertr12234543234433444344.ppt
Ch5_slides Qwertr12234543234433444344.pptCh5_slides Qwertr12234543234433444344.ppt
Ch5_slides Qwertr12234543234433444344.ppt
 
Lecture 4-Structure and function of carbohydrates .ppt
Lecture 4-Structure and function of carbohydrates .pptLecture 4-Structure and function of carbohydrates .ppt
Lecture 4-Structure and function of carbohydrates .ppt
 
social_media_for_research 234664445.pptx
social_media_for_research 234664445.pptxsocial_media_for_research 234664445.pptx
social_media_for_research 234664445.pptx
 
647883385-Role-of-Sufi-in-the-spread-of-Islam-in-subcontinent.pdf
647883385-Role-of-Sufi-in-the-spread-of-Islam-in-subcontinent.pdf647883385-Role-of-Sufi-in-the-spread-of-Islam-in-subcontinent.pdf
647883385-Role-of-Sufi-in-the-spread-of-Islam-in-subcontinent.pdf
 
Kee_Pookong_01.ppt 2579975435676667788888
Kee_Pookong_01.ppt 2579975435676667788888Kee_Pookong_01.ppt 2579975435676667788888
Kee_Pookong_01.ppt 2579975435676667788888
 
160572975823-intro-to-social-studies.pptx
160572975823-intro-to-social-studies.pptx160572975823-intro-to-social-studies.pptx
160572975823-intro-to-social-studies.pptx
 
C3LC_Waring_ap_Run Through_4-27-15_compressed.ppt
C3LC_Waring_ap_Run Through_4-27-15_compressed.pptC3LC_Waring_ap_Run Through_4-27-15_compressed.ppt
C3LC_Waring_ap_Run Through_4-27-15_compressed.ppt
 
320936716-c-Constitutional-Development-of-Pakistan-Since-1947-to-Date (2).pdf
320936716-c-Constitutional-Development-of-Pakistan-Since-1947-to-Date (2).pdf320936716-c-Constitutional-Development-of-Pakistan-Since-1947-to-Date (2).pdf
320936716-c-Constitutional-Development-of-Pakistan-Since-1947-to-Date (2).pdf
 
373745833-235433Constitutional-Issues.pdf
373745833-235433Constitutional-Issues.pdf373745833-235433Constitutional-Issues.pdf
373745833-235433Constitutional-Issues.pdf
 
Choudhury-ConstitutionMakingDilemmasPakistan-1955.pdf
Choudhury-ConstitutionMakingDilemmasPakistan-1955.pdfChoudhury-ConstitutionMakingDilemmasPakistan-1955.pdf
Choudhury-ConstitutionMakingDilemmasPakistan-1955.pdf
 
Adverse Childhood Experiences Supplemental PowerPoint Slides (PPTX).pptx
Adverse Childhood Experiences Supplemental PowerPoint Slides (PPTX).pptxAdverse Childhood Experiences Supplemental PowerPoint Slides (PPTX).pptx
Adverse Childhood Experiences Supplemental PowerPoint Slides (PPTX).pptx
 
DevelopmentofLocalGovernanceandDecentralizationtoempowerCitizensinPakistan-AH...
DevelopmentofLocalGovernanceandDecentralizationtoempowerCitizensinPakistan-AH...DevelopmentofLocalGovernanceandDecentralizationtoempowerCitizensinPakistan-AH...
DevelopmentofLocalGovernanceandDecentralizationtoempowerCitizensinPakistan-AH...
 
Lecture 1-disp2456542234566.2456655555ppt
Lecture 1-disp2456542234566.2456655555pptLecture 1-disp2456542234566.2456655555ppt
Lecture 1-disp2456542234566.2456655555ppt
 
First financial management 23566432245556
First financial management 23566432245556First financial management 23566432245556
First financial management 23566432245556
 
lecture_223⁵4323564334555543343333334.ppt
lecture_223⁵4323564334555543343333334.pptlecture_223⁵4323564334555543343333334.ppt
lecture_223⁵4323564334555543343333334.ppt
 
CECS ejn working 11-8-246787654455517.pptx
CECS ejn working 11-8-246787654455517.pptxCECS ejn working 11-8-246787654455517.pptx
CECS ejn working 11-8-246787654455517.pptx
 
functionsoflocalgovernment-160425164745.pdf
functionsoflocalgovernment-160425164745.pdffunctionsoflocalgovernment-160425164745.pdf
functionsoflocalgovernment-160425164745.pdf
 
Gender_Equality_in_Education_-_National_HST.PPTX
Gender_Equality_in_Education_-_National_HST.PPTXGender_Equality_in_Education_-_National_HST.PPTX
Gender_Equality_in_Education_-_National_HST.PPTX
 

Recently uploaded

Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 

Recently uploaded (20)

Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 

Conditional density function ectr11a.ppt

  • 1. 1 As we have seen in section 4 conditional probability density functions are useful to update the information about an event based on the knowledge about some other related event (refer to example 4.7). In this section, we shall analyze the situation where the related event happens to be a random variable that is dependent on the one of interest. From (4-11), recall that the distribution function of X given an event B is (11-1)    . ) ( ) ) ( ( | ) ( ) | ( B P B x X P B x X P B x FX        PILLAI 11. Conditional Density Functions and Conditional Expected Values
  • 2. 2 Suppose, we let Substituting (11-2) into (11-1), we get where we have made use of (7-4). But using (3-28) and (7-7) we can rewrite (11-3) as To determine, the limiting case we can let and in (11-4).  . ) ( 2 1 y Y y B     (11-3) (11-2)   , ) ( ) ( ) , ( ) , ( ) ) ( ( ) ( , ) ( ) | ( 1 2 1 2 2 1 2 1 2 1 y F y F y x F y x F y Y y P y Y y x X P y Y y x F Y Y XY XY X               . ) ( ) , ( ) | ( 2 1 2 1 2 1         y y Y x y y XY X dv v f dudv v u f y Y y x F (11-4) ), | ( y Y x FX  y y  1 y y y    2 PILLAI
  • 3. 3 This gives and hence in the limit (To remind about the conditional nature on the left hand side, we shall use the subscript X | Y (instead of X) there). Thus Differentiating (11-7) with respect to x using (8-7), we get (11-5) (11-6) . ) ( ) , ( ) | ( lim ) | ( 0 y f du y u f y y Y y x F y Y x F Y x XY X y X             (11-7) (11-8) y y f y du y u f dv v f dudv v u f y y Y y x F Y x XY y y y Y x y y y XY X                     ) ( ) , ( ) ( ) , ( ) | ( . ) ( ) , ( ) | ( | y f du y u f y Y x F Y x XY Y X      . ) ( ) , ( ) | ( | y f y x f y Y x f Y XY Y X   PILLAI
  • 4. 4 It is easy to see that the left side of (11-8) represents a valid probability density function. In fact and where we have made use of (7-14). From (11-9) - (11-10), (11-8) indeed represents a valid p.d.f, and we shall refer to it as the conditional p.d.f of the r.v X given Y = y. We may also write From (11-8) and (11-11), we have (11-9) | ( , ) ( | ) 0 ( ) XY X Y Y f x y f x Y y f y    , 1 ) ( ) ( ) ( ) , ( ) | ( |               y f y f y f dx y x f dx y Y x f Y Y Y XY Y X (11-10) (11-11) , ) ( ) , ( ) | ( | y f y x f y x f Y XY Y X  (11-12) PILLAI ). | ( ) | ( | | y x f y Y x f Y X Y X  
  • 5. 5 and similarly If the r.vs X and Y are independent, then and (11-12) - (11-13) reduces to implying that the conditional p.d.fs coincide with their unconditional p.d.fs. This makes sense, since if X and Y are independent r.vs, information about Y shouldn’t be of any help in updating our knowledge about X. In the case of discrete-type r.vs, (11-12) reduces to ) ( ) ( ) , ( y f x f y x f Y X XY  (11-13) (11-14) (11-15) . ) ( ) , ( ) | ( | x f y x f x y f X XY X Y  ), ( ) | ( ), ( ) | ( | | y f x y f x f y x f Y X Y X Y X     . ) ( ) , ( | j j i j i y Y P y Y x X P y Y x X P       PILLAI
  • 6. 6 Next we shall illustrate the method of obtaining conditional p.d.fs through an example. Example 11.1: Given determine and Solution: The joint p.d.f is given to be a constant in the shaded region. This gives Similarly and (11-16)        , otherwise , 0 , 1 0 , ) , ( y x k y x fXY . 2 1 2 ) , ( 1 0 1 0 0           k k dy y k dy dx k dxdy y x f y XY ) | ( | y x f Y X ). | ( | x y f X Y x y 1 1 Fig. 11.1 , 1 0 ), 1 ( ) , ( ) ( 1         x x k dy k dy y x f x f x XY X (11-17) . 1 0 , ) , ( ) ( 0        y y k dx k dx y x f y f y XY Y (11-18) PILLAI
  • 7. 7 From (11-16) - (11-18), we get and We can use (11-12) - (11-13) to derive an important result. From there, we also have or But and using (11-23) in (11-22), we get (11-19) (11-20) (11-21) , 1 0 , 1 ) ( ) , ( ) | ( |      y x y y f y x f y x f Y XY Y X . 1 0 , 1 1 ) ( ) , ( ) | ( |       y x x x f y x f x y f X XY X Y ) ( ) | ( ) ( ) | ( ) , ( | | x f x y f y f y x f y x f X X Y Y Y X XY   . ) ( ) ( ) | ( ) | ( | | x f y f y x f x y f X Y Y X X Y  (11-22)             | ) ( ) | ( ) , ( ) ( dy y f y x f dy y x f x f Y Y X XY X (11-23) PILLAI
  • 8. 8 Equation (11-24) represents the p.d.f version of Bayes’ theorem. To appreciate the full significance of (11-24), one need to look at communication problems where observations can be used to update our knowledge about unknown parameters. We shall illustrate this using a simple example. Example 11.2: An unknown random phase  is uniformly distributed in the interval and where n  Determine Solution: Initially almost nothing about the r.v  is known, so that we assume its a-priori p.d.f to be uniform in the interval . ) ( ) | ( ) ( ) | ( ) | ( | |       dy y f y x f y f y x f x y f Y Y X Y Y X YX (24) ), 2 , 0 (  , n r   ). , 0 ( 2  N ). | ( r f  ). 2 , 0 (  PILLAI
  • 9. 9 In the equation we can think of n as the noise contribution and r as the observation. It is reasonable to assume that  and n are independent. In that case  since it is given that is a constant, behaves like n. Using (11-24), this gives the a-posteriori p.d.f of  given r to be (see Fig. 11.2 (b)) where , n r   ) , ( ) | ( 2    N r f  θ (11-25)   θ , 2 0 , ) ( 2 1 ) ( ) | ( ) ( ) | ( ) | ( 2 2 2 2 2 2 2 / ) ( 2 0 2 / ) ( 2 / ) ( 2 0                                   r r r e r d e e d f r f f r f r f . 2 ) ( 2 0 2 / ) ( 2 2           d e r r (11-26) n r   PILLAI
  • 10. 10 Notice that the knowledge about the observation r is reflected in the a-posteriori p.d.f of  in Fig. 11.2 (b). It is no longer flat as the a-priori p.d.f in Fig. 11.2 (a), and it shows higher probabilities in the neighborhood of . r   ) | ( | r f r    (b) a-posteriori p.d.f of  r   Fig. 11.2 Conditional Mean: We can use the conditional p.d.fs to define the conditional mean. More generally, applying (6-13) to conditional p.d.fs we get ) (  f  (a) a-priori p.d.f of   2 1  2 PILLAI
  • 11. 11   ( ) | ( ) ( | ) . X E g X B g x f x B dx     (11-27) and using a limiting argument as in (11-2) - (11-8), we get to be the conditional mean of X given Y = y. Notice that will be a function of y. Also In a similar manner, the conditional variance of X given Y = y is given by we shall illustrate these calculations through an example.           | | ) | ( | dx y x f x y Y X E Y X Y X  (11-28) ) | ( y Y X E    . ) | ( | | |         dy x y f y x X Y E X Y X Y  (11-29)      . | ) ( ) | ( | ) | ( 2 | 2 2 2 | y Y X E y Y X E y Y X E Y X Var Y X Y X           (11-30) PILLAI
  • 12. 12 Example 11.3: Let Determine and Solution: As Fig. 11.3 shows, in the shaded area, and zero elsewhere. From there and This gives and        . otherwise , 0 , 1 | | 0 , 1 ) , ( x y y x fXY (11-31) ) | ( Y X E ). | ( X Y E , 1 0 , 2 ) , ( ) (      x x dy y x f x f x x XY X 1 | | ( ) 1 1 | |, | | 1, Y y f y dx y y      , 1 | | 0 , | | 1 1 ) ( ) , ( ) | ( |       x y y y f y x f y x f Y XY Y X . 1 | | 0 , 2 1 ) ( ) , ( ) | ( |      x y x x f y x f x y f X XY X Y (11-32) (11-33) x y 1 Fig. 11.3 1 ) , (  y x fXY PILLAI
  • 13. 13 Hence It is possible to obtain an interesting generalization of the conditional mean formulas in (11-28) - (11-29). More generally, (11-28) gives But . 1 | | , 2 | | 1 |) | 1 ( 2 | | 1 2 |) | 1 ( 1 |) | 1 ( ) | ( ) | ( 2 1 | | 2 1 | | |              y y y y x y dx y x dx y x f x Y X E y y Y X . 1 0 , 0 2 2 1 2 ) | ( ) | ( 2 |           x y x dy x y dy x y yf X Y E x x x x X Y (11-34) (11-35)       | ( )| ( ) ( ) ( ) ( ) ( , ) ( ) ( , ) ( ) ( | ) ( ) ( ) | ( ) X XY XY X Y Y E g X Y y Y E g X g x f x dx g x f x y dydx g x f x y dxdy g x f x y dx f y dy E g X Y y f y dy E E                                     ( ) | . g X Y y    | ( ) | ( ) ( | ) . X Y E g X Y y g x f x y dx      (11-36) (11-37)PILLAI
  • 14. 14 Obviously, in the right side of (11-37), the inner expectation is with respect to X and the outer expectation is with respect to Y. Letting g( X ) = X in (11-37) we get the interesting identity where the inner expectation on the right side is with respect to X and the outer one is with respect to Y. Similarly, we have Using (11-37) and (11-30), we also obtain  , ) | ( ) ( y Y X E E X E    . ) | ( ) ( x X Y E E Y E   (11-38) (11-39)  . ) | ( ) ( y Y X Var E X Var   (11-40) PILLAI
  • 15. 15 Conditional mean turns out to be an important concept in estimation and prediction theory. For example given an observation about a r.v X, what can we say about a related r.v Y ? In other words what is the best predicted value of Y given that X = x ? It turns out that if “best” is meant in the sense of minimizing the mean square error between Y and its estimate , then the conditional mean of Y given X = x, i.e., is the best estimate for Y (see Lecture 16 for more on Mean Square Estimation). We conclude this lecture with yet another application of the conditional density formulation. Example 11.4 : Poisson sum of Bernoulli random variables Let represent independent, identically distributed Bernoulli random variables with Yˆ ) | ( x X Y E   3, 2, 1, ,  i Xi q p X P p X P i i       1 ) 0 ( , ) 1 (
  • 16. 16 and N a Poisson random variable with parameter that is independent of all . Consider the random variables Show that Y and Z are independent Poisson random variables. Solution : To determine the joint probability mass function of Y and Z, consider . , 1 Y N Z X Y N i i      (11-41) i X  PILLAI                                n m i i N i i n m N P m X P n m N P n m N m X P n m N P n m N m Y P n m N m Y P n Y N m Y P n Z m Y P 1 1 ) ( ) ( ) ( ) ( ) ( ) ( ) , ( ) , ( ) , ( (11-42)
  • 17. 17 ) ) , ( ~ ( of t independen are and that Note 1 N s X p n m B X i n m i i     (11-43) ( )! ! ! ( )! m n m n m n p q e m n m n                                   ! ) ( ! ) ( n q e m p e n q m p     ). ( ) ( n Z P m Y P    PILLAI Thus and Y and Z are independent random variables. Thus if a bird lays eggs that follow a Poisson random variable with parameter , and if each egg survives ) ( ~ ) ( ~ and   q P Z p P Y (11-44) 
  • 18. 18 with probability p, then the number of chicks that survive also forms a Poisson random variable with parameter .  p PILLAI