Probability Theory, Expectations, Variance, Mathematics.
values x1, x2, …, xn, and the probabilities of these values occurring are P(X = x1), P(X = x2), …, P(X = xn), then the expectation E(X) is the sum of Σ (xi * P(X = xi)), which means multiplying each possible result by its corresponding probability and then adding them up. For continuous random