Variance and Fluctuations | Back to top |
$\bar{x} = 3\cdot (1/8) + 4\cdot (4/8)+ 5\cdot (2/8) + 6\cdot (1/8)=4.375$
and the variance (square root of equation $\ref{evar}$) is $0.86$.
Now add another point to this distribution, one that is far from the mean, e.g. $x_9=15$, and recalculate the mean and variance. The new mean will be $\bar x=5.56$ and new variance will become $\sigma = 3.44$. The mean changed by a small amount compared to the old mean ($\sim 25\%$) however the variance changed by huge amount: from $0.86$ to $3.44$! That's a big percentage change.
If we look at all the individual points one by one and form the variance using equation $\ref{evar}$, each term we would find the following values in the sum:
Value | 4 | 5 | 4 | 3 | 4 | 6 | 4 | 5 | 15 | $\bar x=5.56$ |
---|---|---|---|---|---|---|---|---|---|---|
$\sigma^2_i$ | 2.42 | 0.31 | 2.42 | 6.53 | 2.42 | 0.20 | 2.42 | 0.31 | 89.20 | $\sigma = 3.44$ |
To consider how signficant each contribution to the variance is, we should look at things on the same scale. Each term in the variance involves the square of the difference between the particlar value ($x_i$) and the mean. If we instead take the square root of each of the terms, it would look like this:
Value | 4 | 5 | 4 | 3 | 4 | 6 | 4 | 5 | 15 | $\bar x=5.56$ |
---|---|---|---|---|---|---|---|---|---|---|
$\sqrt{\sigma^2_i}$ | 1.56 | 0.56 | 1.56 | 2.56 | 1.56 | 0.44 | 1.56 | 0.56 | 9.44 | $\sigma = 3.44$ |
Value | 4 | 5 | 4 | 3 | 4 | 6 | 4 | 5 | 15 |
---|---|---|---|---|---|---|---|---|---|
$S_i^2$ | 0.023 | 0.003 | 0.023 | 0.061 | 0.023 | 0.02 | 0.023 | 0.003 | 0.840 |
Below, you will see a table that consists of an initial list of some values ($x_i$), the contribution to the variance for each piece ($\sigma_i\equiv\|x_i-\bar{x})$), and the mean and variance as given by equations $\ref{emean}$ and $\ref{evar}$. You can use the number widget and enter any integer and see how it changes the mean and variance. Try adding small and large numbers and see how it moves the mean by a little, but the variance by a lot.
$\bar{x}$ | $=$ | |
$\sqrt{\sigma^2}$ | $=$ |
You can play the same game and calculate the moment of inertia about the mean, and you would get the variance. In mechanics, the first moment is the center of mass, and the 2nd moment is the moment of inertia, and so on. Hence the correspondence to the mean and variance in the names.