Simple Conditional Expectation Problem

47 Views Asked by At

$$Y := \begin{cases} \begin{matrix} 5 & \text{w.p. } \frac{1}{5} \\ 2 & \text{w.p. } \frac{1}{2} \\ 1 & \text{w.p. } \frac{3}{10} \end{matrix} \end{cases}$$ Note: $\text{w.p.}$ stands for "with probability". If $A$ is the event that $Y = 2$ or $Y=5$, how do I find $\mathbb{E}[Y|A]$?