Calculating conditional expected value

Click For Summary
SUMMARY

The discussion centers on calculating the conditional expected value E[X|Z] where X and Y are uniformly distributed on [0,2] and Z = X + Y. The participant correctly identifies that E[X|Z] = Z/2 using symmetry arguments. They also derive the density function f_Z(z) through convolution, resulting in a piecewise function. The main challenge lies in integrating with an indicator variable and understanding the relationship between joint and marginal densities for conditional probability.

PREREQUISITES
  • Understanding of uniform distributions, specifically on the interval [0,2].
  • Knowledge of convolution of probability density functions.
  • Familiarity with conditional expectation and its mathematical formulation.
  • Basic proficiency in evaluating integrals involving indicator functions.
NEXT STEPS
  • Study the properties of convolution in probability theory.
  • Learn about conditional probability and how to derive it from joint distributions.
  • Practice evaluating integrals with indicator functions in various contexts.
  • Explore the concept of expected value in more complex distributions beyond uniform distributions.
USEFUL FOR

Students and professionals in statistics, probability theory, and data science who are working on problems involving conditional expectations and probability density functions.

thenava
Messages
6
Reaction score
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.
 
Physics news on Phys.org
Isn't the definition of P(X = x | Z = z) simply f_XZ_(x,z) / f_Z_(y), where f_XZ is the joint density and f_Z is the density of Z?

If you have an integral with an indicator variable, you typically just integrate over the set for which the image of indicator variable is 1 since elsewhere the indicator variable vanishes.
 

Similar threads

Replies
9
Views
3K
Replies
6
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
1
Views
2K
Replies
8
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
13
Views
2K
Replies
3
Views
2K