Variance and standard deviation of a discrete random variable

离散型随机变量的方差与标准差

What are variance and standard deviation?

Variance is the weighted average of the squared deviations from the mean; the standard deviation is its square root.

SkillKP000855

Sign in to read the whole lesson, with 7 exercises

Sign in / Sign up

Mastery goals

  • Can compute the variance and standard deviation of a discrete random variable
  • Can interpret standard deviation as typical distance from the mean

7.3.2 The variance of a discrete random variable

The mean of a random variable is an important numerical characteristic. It reflects the average level of the values of the random variable, or the "central tendency" of the distribution. The values of a random variable fluctuate around its mean, and the mean cannot show how large these fluctuations are. So we still need a numerical characteristic that reflects how much the values of a random variable fluctuate.

Problem 2 One of two students is to be chosen to represent the class in a shooting competition. From their past records, the distributions of the scores and (rings hit on the target) of students A and B are shown in Tables 7.3-6 and 7.3-7.

Table 7.3-6

Table 7.3-7

How should we judge the shooting of these two students?

Calculation gives

The two means are equal, so the means alone cannot tell the two students' shooting apart.

To judge shooting we need to know not only the mean score but also the steadiness, that is, how spread out the scores are. Figures 7.3-2 and 7.3-3 are the probability distribution graphs of and . Comparing them, we see that B's scores are more concentrated around , that is, B's shooting is steadier.

00.20.40.60.81P0.090.240.320.280.07678910
Figure 7.3-2: the probability distribution graph of A's score (horizontal axis: score ; vertical axis: probability ).
00.20.40.60.81P0.070.220.380.30.03678910
Figure 7.3-3: the probability distribution graph of B's score (horizontal axis: score ; vertical axis: probability ).

We know that the sample variance measures how spread out a set of sample data is; it does this by working out the "average of the squared deviations" of all the data from the sample mean. A natural idea is: can the spread of a random variable be measured by the "average of the squared deviations" of its possible values from its mean?

Let the distribution of a discrete random variable be as shown in Table 7.3-8.

Table 7.3-8

Consider the squares of the deviations of all the possible values of from : , , …, . Since takes its values with probabilities that are not all the same, we use the weighted average of the squared deviations, weighted by the probabilities, to measure how far the values of deviate from its mean . We call

the variance of the random variable , sometimes also written , and we call the standard deviation of , written .

The variance and the standard deviation of a random variable both measure how far its values deviate from its mean, and reflect how spread out its values are. The smaller the variance or standard deviation, the more concentrated the values; the larger the variance or standard deviation, the more spread out the values.

Now we can describe the steadiness of the two students' shooting by the variances and standard deviations of their scores. By the definitions, these are

Since (equivalently, ), the values of are relatively more concentrated, that is, B's shooting is relatively steadier.

Related points

All points in this topic

Cite this page: Variance and standard deviation of a discrete random variable · KnowledgeTree (知识树), https://www.knowledgetree.world/en/kp/KP000855