Mean and Random Variable
Mean and Random Variable
The mean (also called the "expectation value" or "expected value") of a discrete random
variable X is the number
μ=E(X)=∑xP(x)
The mean of a random variable may be interpreted as the average of the values
assumed by the random variable in repeated trials of the experiment.
Question: Find the mean of the discrete random variable X whose probability
distribution is
Solution: μ=∑xP(x)
=(−2)(0.21)+(1)(0.34)+(2)(0.24)+(3.5)(0.21)
=1.135
Question: A service organization in a large town organizes a raffle each month. One
thousand raffle tickets are sold for $1 each. Each has an equal chance of winning.
First prize is $300 , second prize is $200 , and third prize is $100 . Let X denote the
net gain from the purchase of one ticket.
a) Construct the probability distribution of X .
b) Find the probability of winning any money in the purchase of one ticket.
c) Find the expected value of X , and interpret its meaning.
Solution: a) If a ticket is selected as the first prize winner, the net gain to the purchaser
is the $300 prize less the $1 that was paid for the ticket, hence X=300−11=299 .
There is one such ticket, so P(299)=0.001 . Applying the same “income minus outgo”
principle to the second and third prize winners and to the 997 losing tickets yields the
probability distribution:
1
b) Let W denote the event that a ticket is selected to win one of the prizes. Using the
table
P(W)=P(299)+P(199)+P(99)=0.001+0.001+0.001=0.003
The negative value means that one loses money on the average. In particular, if
someone were to buy tickets repeatedly, then although he would win now and then, on
average he would lose 40 cents per ticket purchased.
Definition: variance
The standard deviation, σ , of a discrete random variable X is the square root of its
variance, hence is given by the formulas:
Solution:
3
g.