How to compute conditional mean on uniform distribution

100 Views Asked by At

Suppose we have a tuple which is uniformly distributed on the given set below.

$$(X,Y)\sim \operatorname{unif}\{(-2,0),(-2,-2),(0,-1),(0,0),(1,0),(1,3)\} \subset \mathbb{R}^2$$

I just determined mean for $X$ and $Y$ which are respectively

$$\mathbb{E}[X]=\frac{-2+(-2)+0+0+1+1}{6}=\frac{1}{3}$$

$$\mathbb{E}[Y]=\frac{0+2+(-1)+0+0+3}{6}=\frac{2}{3}$$

Now I have to look at the conditional mean $\mathbb{E}[Y\mid X=a]$ with $a=-2,0,1$

enter image description here

So how do I compute conditional mean. I am not very experienced dealing with conditional problems