Expected value of discrete and continuous random variables.

60 Views Asked by At

I wanted to confirm something. If we are given a discrete random variable's CDF and we want to find it's expected value we use summation formula. And for continuous we integrate the CDf to find expected value. Right?