Question: what is the difference between the mean and the expected value?
Answer: and you can see it's exactly equal to the expected value. The expectation is the average value or mean of a random variable not a probability distribution. ... The sample mean (or sample expectation) is defined as the expectation of the data with respect to the empirical distribution for the observed data.