Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Suppose that X and Y are random variables such that E(Y/X)=aX+b,how determine expressions for a and b in terms of E(X),E(Y),Var(X),and Cov(X,Y).assuming that Cov(X,Y) exists and Var(X)>0.

share|cite|improve this question
up vote 0 down vote accepted

Using the tower property, recall that $E[E[Y|X]] = E[Y]$. You should try to work that out in order to obtain an equation in terms of $E[X]$ and $E[Y]$,

$$E[Y] = E[E[Y|X]] = E[aX + b] = aE[X] + b$$

Also, recall that $Cov(X,Y) = E[XY] - E[X]E[Y]$. Hence you can try to write $E[XY]$ in terms of $Var[X]$ and $E[X]$ to get another equation. Recall that $E[XY] =E[E[XY|X]] = E[X \cdot E[Y|X]]$,

$$E[XY] = E[E[XY|X]] = E[X \cdot E[Y|X]] = E[aX^{2} + bX] = a(Var[X]+E[X]^2) + bE[X]$$

Using this expression, obtain:

$$Cov(X,Y) = a(Var[X]+E[X]^2) + bE[X] - E[X]E[Y]$$

Finally, you can obtain the desired relation solving for $a$ and $b$ using the two equations.

share|cite|improve this answer
oh,I get it,thanks! – perry zhu Jul 1 '12 at 6:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.