Let $X, Y$ be two r.v. with associated joint p.m.f.
\begin{array}{|c|c|c|c|} \hline & & Y & \\ \hline & & 0 & 1 \\ \hline X & 0 & 3/10 & 2/10 \\ \hline & 1 & 1/10 & 4/10 \\ \hline \end{array}
What values can $\mathbb{E}[X\mid Y]$ take?
Compute the p.m.f. of $\mathbb{E}[X\mid Y]$
My Attempt
The formula for the expectation of conditional probabilities is $$\mathbb{E}[X\mid Y=y]=\sum_{x\in X(\Omega)}xp_{X\mid Y}(x\mid y)=\sum_{x\in X(\Omega)}x\frac{p_{X,Y}(x,y)}{p_Y(y)}$$ so the possible values are $\mathbb{E}[X\mid Y=0]=1(\frac{1/10}{4/10})=1/4$ and $\mathbb{E}[X\mid Y=1]=1\frac{4/10}{6/10}=2/3$
I'm confused on this part because I have never tried finding the p.m.f. for an expectation. How should I go about this problem?
Notice that the conditional expectation is in fact a random variable. And for your example you just give Y a value to get a certain conditional expectation, so instead of an exact number you can just using Y to get the Pmf.