Expectation of an Expectation

73 Views Asked by At

I need to solve two exercises:

  1. Calculate V[ui|xi] using E[yi|xi] and ui = yi - E[yi].
  2. Calculate E[$y^2$|xi].

Information given for the exercise:
E[$u^2$|xi] = V[yi|xi]
E[$u^2$|xi] = V[yi|xi] because E[ui|xi]

There are also a values given for E[yi] = 2λi, V[yi] = 2$λ^2$ and λi = (e$^{xβ}$)/2

What I know:
V[yi|xi] = V[$y^2$|xi] = E[$y^2$|xi] - $(E[y|x])^2$

It would be easy to set the value for E[yi] into u and square it. Afterward set the solution into E[$u^2$|xi] and V[yi|xi] would be solved.
Obviously I wouldn't use E[yi|xi] in this case, so I tried it by rearranging terms, but often end at a point where they cancel each other out and I am back at the beginning.

So my question is: How do I properly derive V[ui|xi] and E[$y^2$|x]. Especially important for me is how to link it to E[yi|xi].

1

There are 1 best solutions below

0
On

In the part where you write "what I know" it does not make sense to say $V(y|x)=V(y^2|x)$.

  1. $V(u|x)=V(y-E(y)|x)=V(y|x)$ (because E(y) is a constant). This in turn is $E(y^2|x)-\left[E(y|x)\right]^2$.

  2. Also, $E(y^2|x)=V(y|x)+\left[E(y|x)\right]^2$

But, I am not clear how all these conditional expectations and variances tie into the particular values. One way to do it is for (2), $\frac{e^{2x\beta}}{2}+e^{2x\beta}=\frac{3}{2}e^{2x\beta}$. And for (1), we can go directly from $V(y|x)=\frac{e^{2x\beta}}{2}$.