thenava
- 6
- 0
Homework Statement
Hi All, I have a homework question that I would like some hints on. I am given X and Y with uniform densities on [0,2], and Z := X+Y. The end goal is to find E[X|Z]. Now I know I can use symmetry to argue that E[X|Z] = E[Y|Z], and that E[X|Z] + E[Y|Z] = E[Z|Z] = Z, so 2*E[X|Z] = Z, and E[X|Z] = Z/2. However, I want to also evaluate it the "long way". To do so, I first went and found the convolutions of the densities of X and Y
Homework Equations
[tex] \begin{eqnarray*}<br /> f_{x}(x),f_{y}(y) & = & \begin{cases}<br /> \frac{1}{2} & 0<x<2\\<br /> 0 & otherwise\end{cases}\\\end{eqnarray*}<br /> \begin{eqnarray*}<br /> f_{z}(z) & = & (f_{x}*f_{y})(z)\\<br /> & = & \int_{0}^{2}\left[f_{x}(z-y)\frac{1}{2}\right]dy\end{eqnarray*}[/tex]
The Attempt at a Solution
[tex] \begin{eqnarray*}<br /> f_{z}(z) & = & \begin{cases}<br /> \frac{1}{4}\int_{0}^{z}dy & 0\leq z\leq2\\<br /> \frac{1}{4}\int_{z-2}^{2}dy & 2<z\leq4\\<br /> 0 & otherwise\end{cases}\end{eqnarray*}<br /> \begin{eqnarray*}<br /> f_{z}(z) & = & \begin{cases}<br /> \frac{z}{4} & 0\leq z\leq2\\<br /> \frac{4-z}{4} & 2<z\leq4\\<br /> 0 & otherwise\end{cases}\end{eqnarray*}[/tex]
So I now have the density function of Z. Here is where I am getting confused; I can setup up E[X|Z] as follows:
[tex]\[<br /> E[X|Z]=\int_{0}^{2}xP(X=x|Z=z)[I(Z)]\][/tex]
where I is an indicator variable for Z. My problem is how do I fit the density I found above into P(X|Z=z), and how do I evaluate an integral with an indicator variable. I would greatly appreciate any hints that you guys could provide. Thanks.
P.S. Sorry if this question has already been posted.