Let $(X, Y)$ be two r.v. with joint p.m.f. described by the following table
- What is the marginal distribution of $X$?
- Are $X$ and $Y$ independent?
- What is the conditional p.m.f. of $X$ given $Y=0$?
- What is the distribution of $E[X\mid Y]$?
My attempt
- Marginal distribution of $X$ can be found by summing the columns. So $$\mathbb{P}(X=0)=\frac{1}{15}+\frac{3}{15}+\frac{2}{15}=\frac{6}{15}$$ $$\mathbb{P}(X=1)=\frac{2}{15}+\frac{4}{15}+\frac{3}{15}=\frac{9}{15}$$
- They are not independent because for example, $$\mathbb{P}(X=0\cap Y=0)\neq \mathbb{P}(X=0)\mathbb{P}(Y=0)$$
- Conditional p.m.f. for $X$ is given by the formula $$p_{X\mid Y}(x,y)=\frac{p_{X,Y}(x,y)}{p_Y(y)}$$ Thus, $$\mathbb{P}(X=0\mid Y=0)=\frac{1}{3}$$ $$\mathbb{P}(X=1\mid Y=0)=\frac{2}{3}$$
- I am not sure what it means by what is the distribution of $\mathbb{E}[X\mid Y]$ I know the formula is $$\mathbb{E}[X\mid Y=y]=\sum_{x\in X(\Omega)}xp_{X\mid Y}(X\mid Y)$$ and I can use that to find it for each of $Y=0,1,2$, but how do I find the distribution?

$E(X\mid Y)$ is a function of the random variable $Y$. If you let it be $g(Y)=E(X\mid Y)$, then you could find the pmf.
$$P(g(Y)=g(0))=P(Y=0)\\ P(g(Y)=g(1))=P(Y=1)\\ P(g(Y)=g(2))=P(Y=2)$$
$$P\left(g(Y)=\frac 23\right)=\frac 15\\ P\left(g(Y)=\frac 47\right)=\frac 7{15}\\ P\left(g(Y)=\frac 35\right)=\frac 13$$