The expected value of RV \( X \) is calculated using the distribution outcomes and probabilities:


Data. Suppose we have a random sample of data: