Mean of all observed data (running average)
where X(i) is the value of the i-th individual observation
n is the total number of observations
i is the sum index over all n-observed data values.
Mean of frequency grouped data (ranked and stacked )
where X k is the nominal value of the k-th cell
f k is the frequency of observations occurring in the k-th cell
n c is the number of cells or data groups (n c ‰ n)
Mean of discrete probability density function (pdf)
where f(X k ) = is probability of cell random variable X k