Let $X$ be a real-valued random variable with the cdf $F_X$. I need to show that $$ E(X)=\int_0^\infty (1-F_X(x))dx-\int_{-\infty}^0 F_X(x)dx $$
Asked
Active
Viewed 80 times