<< Chapter < Page | Chapter >> Page > |
The expected value is often referred to as the "long-term"average or mean . This means that over the long term of doing an experiment over and over, you would expect this average.
The mean of a random variable is . If we do an experiment many times (for instance, flip a fair coin, as Karl Pearson did, 24,000 times and let = the number of heads) and record the value of each time, the average is likely to get closer and closer to as we keep repeating the experiment. This is known as the Law of Large Numbers .
To do the problem, first let the random variable = the number of days the men's soccer team plays soccer per week. takes on the values 0, 1, 2. Construct a table, adding a column . In this column, you will multiply each value by its probability.
0 | 0.2 | (0)(0.2) = 0 |
1 | 0.5 | (1)(0.5) = 0.5 |
2 | 0.3 | (2)(0.3) = 0.6 |
Add the last column to find the long term average or expected value: .
The expected value is 1.1. The men's soccer team would, on the average, expect to play soccer 1.1 days per week. The number 1.1 is the long term average or expected value if the men's soccer team plays soccer week after week after week. We say
Find the expected value for the example about the number of times a newborn baby's crying wakes its mother after midnight. The expected value is the expected number of times a newborn wakes its mother after midnight.
0 | (0) = 0 | |
1 | (1) = | |
2 | (2) = | |
3 | (3) = | |
4 | (4) = | |
5 | (5) = |
Add the last column to find the expected value. = Expected Value =
Go back and calculate the expected value for the number of days Nancy attends classes a week. Construct the third column to do so.
2.74 days a week.
Suppose you play a game of chance in which five numbers are chosen from 0, 1, 2, 3, 4, 5, 6, 7, 8, 9. A computer randomly selects five numbers from 0 to 9 with replacement. You pay $2 to play and could profit $100,000 if you match all 5 numbers in order (you get your $2 back plus $100,000). Over the long term, what is your expected profit of playing the game?
To do this problem, set up an expected value table for the amount of money you can profit.
Let = the amount of money you profit. The values of are not 0, 1, 2, 3, 4, 5, 6, 7, 8, 9. Since you are interested in your profit (or loss), the values of are 100,000 dollars and -2 dollars.
To win, you must get all 5 numbers correct, in order. The probability of choosing one correct number is because there are 10 numbers. You may choose a number more than once. The probability of choosing all 5 numbers correctly and in order is:
Therefore, the probability of winning is 0.00001 and the probability of losing is
The expected value table is as follows.
Loss | -2 | 0.99999 | (-2)(0.99999)=-1.99998 |
Profit | 100,000 | 0.00001 | (100000)(0.00001)=1 |
Since is about , you would, on the average, expect to lose approximately one dollar for each game you play. However, each time you play, you either lose $2 or profit $100,000. The $1 is theaverage or expected LOSS per game after playing this game over and over.
Suppose you play a game with a biased coin. You play each game by tossing the coin once. and . If you toss a head, you pay $6. If you toss a tail, you win $10. If you play this game many times, will you come out ahead?
Define a random variable .
= amount of profit
Complete the following expected value table.
____ | ____ | ||
WIN | 10 | ____ | |
LOSE | ____ | ____ |
WIN | 10 | ||
LOSE | -6 |
What is the expected value, ? Do you come out ahead?
Add the last column of the table. The expected value . You lose, on average, about 67 cents each time you play the game so you do not come out ahead.
Like data, probability distributions have standard deviations. To calculate the standard deviation ( ) of a probability distribution, find each deviation from its expected value, square it, multiply it by its probability, add the products, and take the square root . To understand how to do the calculation, look at the table for thenumber of days per week a men's soccer team plays soccer. To find the standard deviation, add the entries in the column labeled and take the square root.
0 | 0.2 | (0)(0.2) = 0 | |
1 | 0.5 | (1)(0.5) = 0.5 | |
2 | 0.3 | (2)(0.3) = 0.6 |
Add the last column in the table. . The standard deviation is the square root of .
Generally for probability distributions, we use a calculator or a computer to calculate and to reduce roundoff error. For some probability distributions, there are short-cut formulas that calculate and .
Notification Switch
Would you like to follow the 'Collaborative statistics using spreadsheets' conversation and receive update notifications?