Blaise Pascal was a 17th century mathematician and philosopher who was accomplished in many areas but may likely be best known to you for his creation of what is now known as Pascal’s Triangle. As part of his philosophical pursuits, he proposed what is known as "Pascal’s wager". It suggests two mutually exclusive outcomes: that God exists or that he does not. His argument is that a rational person should live as though God exists and seek to believe in God. If God does not actually exist, such a person will have only a finite loss (some pleasures, luxury, etc.), whereas they stand to receive infinite gains as represented by eternity in Heaven and avoid an infinite losses of eternity in Hell. This type of reasoning is part of what is known as "decision theory".
You may not confront such dire payouts when making your daily decisions but we need a formal method for making these determinations precise. The procedure for doing so is what we call expected value.
Definition5.4.1.Expected Value.
Given a random variable \(X\) over space \(R\text{,}\) corresponding probability function \(f(x)\) and "value function" \(v(x)\text{,}\) the expected value of \(v(x)\) is given by
Each of these follows by utilizing the corresponding linearity properties of the summation and integration operations. For example, to verify part three in the continuous case:
Consider \(f(x) = x/10\) over \(R\) = {1,2,3,4} where the payout is 10 euros if x=1, 5 euros if x=2, 2 euros if x=3 and -7 euros if x = 4. Then your value function would be
Therefore, the expected payout is actually negative due to a relatively large negative payout associated with the largest likelihood outcome and the larger positive payout only associated with the least likely outcome.
Consider \(f(x) = x^2/3\) over \(R\) = [-1,2] with value function given by \(v(x) = e^x - 1\text{.}\) Then, the expected value for \(v(x)\) is given by
Consider the following example when computing these statistics for a discrete variable. In this case, we will utilize a variable with a relatively small space so that the summations can be easily done by hand. Indeed, consider
and so the standard deviation \(\sigma = \sqrt{3.6275} \approx 1.90\text{.}\) Notice that 4 times this value encompasses almost all of the range of the distribution.
which yields a skewness of \(\gamma_1 = 8.80 / \sigma^3 \approx 1.27 \text{.}\) This indicates a slight skewness to the right of the mean. You can notice the 4 and 7 entries on the histogram illustrate a slight trailing off to the right.
which yields a kurtosis of \(\gamma_2 = 51.75 / \sigma^4 \approx 3.93\) which also notes that the data appears to have a modestly bell-shaped distribution.
So the expected value of the amount won by one entry in the sweepstakes is about 5 cents. (b) Let \(X\) be the net earnings from one entry into the sweepstakes. Then \(X = W - 0.34\text{,}\) so
The table below summarizes the number of surface flaws found on the paintwork of new cars following their inspection after primer paint was applied by a new method:
No. of flaws
No. of cars
0
3
1
7
2
12
3
11
4
3
5
2
6
2
Part a) Find the mean number of flaws per car. Please give your answer to two decimal places.
The mean number of flaws per car is:
Part b)
Find the variance of the number of flaws per car. Please give your answer to two decimal places.
Consider the following example when computing these statistics for a continuous variable. Let \(f(x) = \frac{3}{4} \cdot (1-x^2)\) over \(R = [-1,1]\text{.}\)
and taking the square root gives a standard deviation slightly less than 1/2. Notice that four times this value encompasses almost all of the range of the distribution.
For the skewness 3, notice that the graph is symmetrical about the mean and so we would expect a skewness of 0. Just to check it out
as expected without having to actually complete the calculation by dividing by the cube of the standard deviation.
Finally, note that the probability function in this case is modestly close to a bell shaped curve so we would expect a kurtosis 4 and using the alternate formulation 4 in the vicinity of 3. Indeed, noting that (conveniently) \(\mu = 0\) gives
Roulette is a gambling game popular in may casinos in which a player attempts to win money from the casino by predicting the location that a ball lands on in a spinning wheel. There are two variations of this game...the American version and the European version. The difference being that the American version has one additional numbered slot on the wheel. The American version of the game will be used for the purposes of this example.
A Roulette wheel consists of 38 equally-sized sectors identified with the numbers 1 through 36 plus 0 and 00. The 0 and 00 sectors are colored green and half of the remaining numbers are in sectors colored red with the remainder colored black. A steel ball is dropped onto a spinning wheel and as the wheel comes to rest the sector in which it comes to rest is noted. It is easy to determine that the probability of landing on any one of the 38 sectors is 1/38. A picture of a typical American-style wheel and betting board is given by . (Found at BigFishGames.com.)
Since this is a game in a casino, there must be the opportunity to bet (and likely lose) money. For the remainder of this example we will assume that you are betting 1 dollar each time. If you were to bet more then the values would scale correspondingly. However, if you place your bet on any single number and the ball ends up on the sector corresponding to that number, you win a net of 35 dollars. If the ball lands elsewhere you lose your dollar. Therefore the expected value of winning if you bet on one number is
which is a little more than a nickel loss on average.
You can bet on two numbers as well and if the ball lands on either of the two then you win a payout in this case of 17 dollars. Therefore the expected value of winning if you bet on two numbers is
\begin{equation*}
E[\text{win on two numbers}] = 17 \cdot \frac{2}{38} - 1 \cdot \frac{36}{38} = - \frac{2}{38}.
\end{equation*}
Continuing, you can bet on three numbers and if the ball lands on any of the three then you win a payout of 11 dollars. Therefore the expected value of winning if you bet on three numbers is
\begin{equation*}
E[\text{win on three numbers}] = 11 \cdot \frac{3}{38} - 1 \cdot \frac{35}{38} = - \frac{2}{38}.
\end{equation*}
You can bet on all reds, all blacks, all evens (ignoring 0 and 00), or all odds and get your dollar back. The expected value for any of these options is
There is one special way to bet which uses the the 5 numbers {0, 00, 1, 2, 3} and pays 6 dollars. This is called the "top line of basket". Notice that the use of five numbers will make getting the same expected value as the other cases impossible using regular dollars and cents. The expected value of winning in this case us
\begin{equation*}
E[\text{win on top line of basket}] = 6 \cdot \frac{5}{38} - 1 \cdot \frac{33}{38} = - \frac{3}{38}
\end{equation*}
which is of course worse and is the only normal way to bet on roulette which has a different expected value.
There are other possible ways to bet on roulette but none provide a better expected value of winning. The moral of this story is that you should never bet on the 5 number option and if you ever get ahead by winning on roulette using any of the possible options then you should probably stop quickly since over a long period of time it is expected that you will lose an average of \(\frac{1}{19}\) dollars per game.
Going back to Pascal’s wager, let
X = 0 represent disbelief when a benevolent God doesn’t exist
X = 1 represent disbelief when a benevolent God does exist
Y = 2 represent belief when a benevolent God does exist
Y = 3 represent belief when a benevolent God does not exist
Presume that p is the likelihood that a benevolent God exists. Then you can compute the expected value of disbelief and the expect value of belief by first creating a value function. Below, for argument sake we are somewhat randomly assign a value of one million to disbelief if a benevolent God doesn’t exist. The conclusions are the same if you choose any other finite number...
if p>0. So Pascal’s conclusion is that if there is even the slightest chance that a benevolent God exists then belief is the smart and scientific choice.