Quote:
Originally Posted by brd_7 Let X have the uniform distribution (0,2) and let the conditional distribution of Y given X=x be uniform on (0,x^2).
a) Find the condition expectation and variance of Y given X=x. USe these to find the marginal expectation and variance of Y...
Many thanks |
The pdf of X is

for

and zero elsewhere.
The conditional distribution of Y given X = x is

for

and zero elsewhere.
Now apply the standard definitions and do the necessary calculations:

.

.
![Var(Y | X = x) = E(Y^2 | X = x) - [E(Y | X = x)]^2 Var(Y | X = x) = E(Y^2 | X = x) - [E(Y | X = x)]^2](http://www.mathhelpforum.com/math-help/latex2/img/286eda609f38e3a178a310285d54a050-1.gif)
.
![E(Y) = E[E(Y | X = x)] = \int_{-\infty}^{+\infty} E(Y | X = x) \, f_X(x) \, dx = \int_0^2 E(Y | X = x) \, \frac{1}{2} \, dx E(Y) = E[E(Y | X = x)] = \int_{-\infty}^{+\infty} E(Y | X = x) \, f_X(x) \, dx = \int_0^2 E(Y | X = x) \, \frac{1}{2} \, dx](http://www.mathhelpforum.com/math-help/latex2/img/7502cf18604b2cfef93bee3cee1b0d78-1.gif)
.
To get Var(Y), read this:
Law of total variance - Wikipedia, the free encyclopedia and do the necessary computation.