

















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


















Have you ever wondered whether it would be “worth it” to buy a lottery ticket every week, or pondered questions such as “If I were offered a choice between a million dollars, or a 1 in 100 chance of a billion dollars, which would I choose?”
One method of deciding on the answers to these questions is to calculate the expected earnings of the enterprise, and aim for the option with the higher expected value. This is a useful decision making tool for problems that involve repeating many trials of an experiment — such as investing in stocks, choosing where to locate a business, or where to fish. (For once-off decisions with high stakes, such as the choice between a sure 1 million dollars or a 1 in 100 chance of a billion dollars, it is unclear whether this is a useful tool.)
John works as a tour guide in Dublin. If he has 200 people or more take his tours on a given week, he earns e1,000. If the number of tourists who take his tours is between 100 and 199, he earns e700. If the number is less than 100, he earns e500. Thus John has a variable weekly income.
From experience, John knows that he earns e1,000 fifty percent of the time, e700 thirty percent of the time and e500 twenty percent of the time. John’s weekly income is a random variable with a probability distribution Income Probability e1,000 0. e 700 0. e 500 0.
The answer in the last example stays the same no matter how many weeks we average over. This suggests the following: If X is a random variable with possible values x 1 , x 2 ,... , xn and corresponding probabilities p 1 , p 2 ,... , pn, the expected value of X, denoted by E(X), is
E(X) = x 1 p 1 + x 2 p 2 + · · · + xnpn.
Outcomes Probability Out. × Prob. X P(X) XP(X) x 1 p 1 x 1 p 1 x 2 p 2 x 2 p 2 .. .
xn pn xnpn Sum = E(X)
We can interpret the expected value as the long term average of the outcomes of the experiment over a large number of trials. From the table, we see that the calculation of the expected value is the same as that for the average of a set of data, with relative frequencies replaced by probabilities.
Warning: The expected value really ought to be called the expected mean. It is NOT the value you most expect to see but rather the average (or mean) of the values you see over the course of many trials.
The following probability distribution from “American Football” Statistics in Sports, 1998, by Hal Stern, has an approximation of the probabilities for yards gained on a running play in the NFL. Actual play by play data was used to estimate the probabilities. (-4 represents 4 yards lost on a running play).
x, yards prob x, yards prob − 4. 020 6. 090 − 2. 060 8. 060 − 1. 070 10. 050
Based on this data, what is the expected number of yards gained on a running play in the NFL? E(X) = (−4) · .020 + (−2) · 0 .060 + (−1) · 0 .070 + 0 · 0 .150 + 1 · 0 .130 + 2 · 0 .110 + 3 · 0 .090 + 4 · 0 .070 + 6 · 0 .090 + 8 · 0 .060 + 10 · 0 .050 + 15 · 0 .085 + 30 · 0 .010 + 50 · 0 .004 + 99 · 0 .001 = 4. 024
Roulette seems like a fool’s game. But here’s a possible strategy for playing it:
Question: Is this a winning strategy? Specifically, what is the probability that you will leave the Roulette wheel with more money than you began with, and is this probability more or less than 1/2?
Let X be net winnings from this strategy. Possible outcomes/values for X: I (^) Win on first roll, probability 18/ 38 ≈ .474, X = + I (^) Lose on first, win on next two, probability (20/38)(18/38)^2 ≈ .118, X = + I (^) Lose on first, win exactly one of next two, probability (20/38)2(18/38)(20/38) ≈ .262, X = − 1 I (^) Lose all three, probability (20/38)^3 ≈ .146, X = −3. So X takes value +1 with probability ≈ .592, value − 1 with probability ≈ .262, and value −3 with probability ≈ .146. So the strategy is winning — you have a get gain more often than a net loss! On the other hand, E(X) = 1(.592) − 1(.262) − 3(.146) = −.108. So on average, playing this strategy long-term, you will lose money :(
Let X denote the player’s (net) earnings for this game. Last time, we saw that X has probability distribution X P(X) -1 5/ 0 1/ 1 1/
(a) What are the expected earnings for the player for each play of this game?
E(X) = (−1)·
(b) What are the expected earnings for the game host for each play of this game?
Host’s earnings are negative of your earnings: − 1 / 12 ≈ −$0.08.
Let us return to the initial example of John’s weekly income which was a random variable with probability distribution Income Probability e1,000 0. e 700 0. e 500 0. with mean e810. Over 50 weeks, we might expect the variance of John’s weekly earnings to be roughly
25(e1000-e810)^2 + 15(e700-e810)^2 + 10(e500-e810)^2 50
or
.5(e1000-e810)^2 +.3(e700-e810)^2 +.2(e500-e810)^2 = 49, 900
Variance = σ^2 (X) = p 1 (x 1 − μ)^2 + p 2 (x 2 − μ)^2 + · · · + pn(xn − μ)^2
Standard Deviation = σ(X) =
Variance.
xi pi xipi (xi − μ) (xi − μ)^2 pi(xi − μ)^2 x 1 p 1 x 1 p 1 (x 1 − μ) (x 1 − μ)^2 p 1 (x 1 − μ)^2 x 2 p 2 x 2 p 2 (x 2 − μ) (x 2 − μ)^2 p 2 (x 2 − μ)^2 .. .
xn pn xnpn (xn − μ) (xn − μ)^2 pn(xn − μ)^2 Sum = μ Sum = σ^2 (X)
The rules of a carnival game are as follows:
xi pi xi · pi (xi − μ) (xi − μ)^2 pi · (xi − μ)^2
-1 5/12 − 125 − 1213 169144 1728845
0 1/12 120 − 121 1441 17281
1 6/12 126 1112 121144 1728726
Sum = μ = 121 Sum = σ^2 (X) =^15721728 ≈ 0. 909 σ ≈ 0 .953.
An experiment consists of flipping a coin 4 times and observing the sequence of heads and tails. The random variable X is the number of heads in the observed sequence. Last time we found the following probability distribution for X: X P(X) 0 1/ 1 4/ 2 6/ 3 4/ 4 1/
We saw above that the expected value for this random variable is E(X) = 2. Find σ^2 (X) and σ(X).