Expected value of a discrete random variable

离散型随机变量的均值(数学期望)

What is the expected value?

Multiply each value by its probability and add; the result is the long-run average.

ConceptKP000853

Sign in to read the whole lesson, with 1 more worked example, 8 exercises

Sign in / Sign up

Mastery goals

  • Can compute the mean E(X) of a discrete random variable from its distribution
  • Can explain that the mean is a fixed number describing the average level of the values, while a sample mean varies from sample to sample around it, fluctuating less as the number of trials grows, so the sample mean can be used to estimate it

7.3 Numerical Characteristics of Discrete Random Variables

The distribution of a discrete random variable describes completely how the variable takes its values. In some practical problems, however, using the distribution directly is not convenient. For example, to compare the results of different classes in a test we usually compare their average marks; to compare the archery of two archers we usually compare their results (average or total score) and how steady they are. So, just as we studied the mean and variance of a set of data, we can study the mean and variance of a discrete random variable. Together they are called the numerical characteristics of the random variable.

7.3.1 The mean of a discrete random variable

Problem 1 The distributions of the scores (rings hit on the target) of two archers, A and B, are shown in Table 7.3-1.

Table 7.3-1

Score
Probability for A
Probability for B

How can we compare how good they are at archery?

As when comparing two sets of data, we first compare the average scores; if the averages are equal, we then look at how steady they are.

Suppose A shoots arrows and the relative frequencies of scoring , , and are , , , . Then A's average score over these arrows is

When is large enough, the relative frequencies settle down to the probabilities, so settles down to

That is, the steady value (theoretical average) of A's average score is , and the size of this average reflects A's level at archery.

In the same way, the average of B's score is

Judged by the averages, A is a better archer than B.

In general, if the distribution of a discrete random variable is as shown in Table 7.3-2,

Table 7.3-2

then

is called the mean or mathematical expectation of the random variable ; the mathematical expectation is called the expectation for short. The mean is the weighted average of the possible values of the random variable, weighted by their probabilities. It combines the values of the random variable with their probabilities and reflects the average level of the values of the random variable.

Example 1

In basketball, a successful free throw scores point and a miss scores . If a player makes a free throw with probability , what is the mean of his score from free throw?

Analysis: A free throw has only two possible results, made or missed: when it is made and when it is missed, so has a two-point distribution. The mean of reflects the player's average score level for free throw.

Solution: Since

we have

So the mean of the player's score from free throw is .

In general, if a random variable has a two-point distribution, then

Figure 7.3-1 shows that in these groups of throws the sample means are all different, but they all fluctuate around , the mean of the number ; and the sample means for throws fluctuate clearly less than those for throws.

In fact, the mean of a random variable is a fixed number, while a sample mean is random and fluctuates around the mean of the random variable. As the number of repeated trials grows, the fluctuation of the sample mean generally becomes smaller and smaller. So we often use the mean of the observed values of a random variable to estimate the mean of the random variable.

Related points

All points in this topic

Cite this page: Expected value of a discrete random variable · KnowledgeTree (知识树), https://www.knowledgetree.world/en/kp/KP000853