In probability theory and statistics, the expected value of a random variable formula_1 (represented by the symbol formula_2) is the average value the variable will take, that is, assuming that the experiment is repeated an infinite number of times, and the mean (or weighted average) of all the values is calculated along the way.