Random Variables and Signals
Topic 16: Conditional Expectation for Two Random Variables
If X and Y are random variables on (S,F,P) and ∈ F with P(M) > 0, then,
One important case is when M = {Y = y} for some y ∈ R. Then we have that
Using our old trick, let
Using this approach, it can be shown that
Another important case: g(X,Y)=g(X)
Note that this is the same equation we had, for example
Iterated Expectation
Sometimes we want to work with f$ _{Y|X} $(y|x) and f$ _X, $(x) instead of f$ _{XY} $(x,y). This can make computation of E[g(X,Y)] easier in some cases. We can write
Note that E[g(X,Y)|X=x] is a function of x ∈ R. We will call this function h.
We can create a random variable h(X). We will use the notation
So we have
which is a real-valued function of x ∈ R, and h(X), which is a random variable since it is a function of random variable X.
Now we can write
So,
We call this iterated expectation.
An important special case is when g(X,Y)=Y, in which case, we have
Example $ \qquad $ Suppose we have a stick of length l. We break the stick at a uniformly chosen point Y, then again at a uniformly chosen point X. Find E[X].
We do not know f$ _{XY} $ or f_$ _X $, but we know f$ _{X|Y} $ or f_$ _Y $
Use E[X}=E[E[X|Y]]. Now
since X is uniform on [0,y] given Y=y. So,
Then
References
- M. Comer. ECE 600. Class Lecture. Random Variables and Signals. Faculty of Electrical Engineering, Purdue University. Fall 2013.
Questions and comments
If you have any questions, comments, etc. please post them on this page