Let \( (X,Y)\) have joint density \(f(x,y) = e^{-y}\), for \(0<x<y\), and \(f(x,y)=0\) elsewhere.

- Are \(X\) and \(Y\) independent ?
- Compute the marginal density of \(Y\).
- Show that \(f_{X|Y}(x,y)=\frac1y \), for \(0<x<y\).
- Compute \(E(X|Y=y)\)
- Use the previous result to find \(E(X)\).