Suppose $X~U(0,1)$ and that conditional on $X$, the random variable $Y~(0,X)$, Find $E[Y]$.

432 Views Asked by At

I understand that $E[Y]=E[E(Y|X)]$ but am not sure how to proceed.

2

There are 2 best solutions below

0
On BEST ANSWER

You should use the definition of $E[Y|X]=g(X)$, where $g(x)=E[Y|X=x]$

The variable $Y|X=x$ is distributed as $U(0,x)$ so $E[Y|X=x]=\frac{x}{2}$

So $E[Y|X]=\frac{X}{2}$

So $E[Y]=E[E[Y|X]]=E\left[\frac{X}{2}\right]=\frac{1}{2}E[X]=\frac{1}{4}$

0
On

You have: $\mathsf E(Y) = \mathsf E(\mathsf E(Y\mid X))$ and also $Y\mid X\sim\mathcal U(0;X)$ and $X\sim\mathcal U(0;1)$


Well, that $Y\mid X\sim\mathcal U(0;X)$ , should tell you what is $\mathsf E(Y\mid X)$.   (What is the conditional expected value of $Y$ given $X$, when $Y$ is uniform on $(0..X)$ for any given $X$?)

Hint: $\mathsf E(Y\mid X)$ is a random variable that is a function of $X$.


Then use $X\sim\mathcal U(0;1)$ to determine the expected value of the above conditional expectation.