next up previous
Next: Application to Binomial Probability Up: Probability Theory Previous: Binomial Probability Distribution

Mean, Variance, and Standard Deviation

What is meant by the mean, or average, of a quantity? Suppose that we wanted to calculate the average age of undergraduates at the University of Texas at Austin. We could go to the central administration building, and find out how many eighteen year-olds, nineteen year-olds, et cetera, were currently enrolled. We would then write something like

$\displaystyle {\rm Average Age}\/ \simeq \frac{N_{18}\times 18 + N_{19}\times 19 +N_{20} \times 20+\cdots} {N_{18}+N_{19}+N_{20}\cdots},$ (2.24)

where $ N_{18}$ is the number of enrolled eighteen year-olds, et cetera. Suppose that we were to pick a student at random and then ask ``What is the probability of this student being eighteen?'' From what we have already discussed, this probability is defined

$\displaystyle P_{18} = \frac{N_{18}}{N_{\rm students}},$ (2.25)

where $ N_{\rm students}$ is the total number of enrolled students. We can now see that the average age takes the form

$\displaystyle {\rm Average Age}\/ \simeq P_{18}\times 18 + P_{19}\times 19 + P_{20}\times 20 +\cdots.$ (2.26)

There is nothing special about the age distribution of students at UT Austin. So, for a general variable $ u$ , which can take on any one of $ M$ possible values, $ u_1$ , $ u_2, \cdots, u_M$ , with corresponding probabilities $ P(u_1)$ , $ P(u_2),\cdots, P(u_M)$ , the mean, or average, value of $ u$ , which is denoted $ \bar{u}$ , is defined as

$\displaystyle \bar{u} \equiv \sum_{i=1,M} P(u_i)  u_i.$ (2.27)

Suppose that $ f(u)$ is some function of $ u$ . For each of the $ M$ possible values of $ u$ , there is a corresponding value of $ f(u)$ that occurs with the same probability. Thus, $ f(u_1)$ corresponds to $ u_1$ , and occurs with the probability $ P(u_1)$ , and so on. It follows from our previous definition that the mean value of $ f(u)$ is given by

$\displaystyle \overline{f(u)} \equiv \sum_{i=1,M} P(u_i)  f(u_i).$ (2.28)

Suppose that $ f(u)$ and $ g(u)$ are two general functions of $ u$ . It follows that

$\displaystyle \overline{f(u)+g(u)} = \sum_{i=1,M}P(u_i) [f(u_i)+g(u_i)] = \sum_{i=1,M}P(u_i) f(u_i)+ \sum_{i=1,M}P(u_i) g(u_i),$ (2.29)

so that

$\displaystyle \overline{f(u)+g(u)}= \overline{f(u)}+\overline{g(u)}.$ (2.30)

Finally, if $ c$ is a general constant then it is clear that

$\displaystyle \overline{c  f(u)} = c \overline{f(u)}.$ (2.31)

We now know how to define the mean value of the general variable $ u$ . But, how can we characterize the scatter around the mean value? We could investigate the deviation of $ u$ from its mean value, $ \bar{u}$ , which is denoted

$\displaystyle {\mit\Delta} u \equiv u- \bar{u}.$ (2.32)

In fact, this is not a particularly interesting quantity, because its average is obviously zero:

$\displaystyle \overline{{\mit\Delta} u} = \overline{(u-\bar{u})} = \bar{u}-\bar{u} = 0.$ (2.33)

This is another way of saying that the average deviation from the mean vanishes. A more interesting quantity is the square of the deviation. The average value of this quantity,

$\displaystyle \overline{({\mit\Delta} u)^{ 2}} = \sum_{i=1,M} P(u_i) (u_i - \bar{u})^{ 2},$ (2.34)

is usually called the variance. The variance is clearly a positive number, unless there is no scatter at all in the distribution, so that all possible values of $ u$ correspond to the mean value, $ \bar{u}$ , in which case it is zero. The following general relation is often useful

$\displaystyle \overline{(u-\bar{u})^{ 2}} = \overline{( u^{ 2}-2 u \bar{u}+\bar{u}^{ 2})}= \overline{u^{ 2}}-2 \bar{u} \bar{u}+\bar{u}^{ 2},$ (2.35)

giving

$\displaystyle \overline{({\mit\Delta} u)^{ 2}}= \overline{u^{ 2}}-\bar{u}^{ 2}.$ (2.36)

The variance of $ u$ is proportional to the square of the scatter of $ u$ around its mean value. A more useful measure of the scatter is given by the square root of the variance,

$\displaystyle {\mit\Delta}^\ast u = \left[\overline{({\mit\Delta} u)^{ 2}}\right]^{1/2},$ (2.37)

which is usually called the standard deviation of $ u$ . The standard deviation is essentially the width of the range over which $ u$ is distributed around its mean value, $ \bar{u}$ .


next up previous
Next: Application to Binomial Probability Up: Probability Theory Previous: Binomial Probability Distribution
Richard Fitzpatrick 2016-01-25