Académique Documents
Professionnel Documents
Culture Documents
xpX (x)
xD
1
1
1
1
1
1
= 1. + 2. + 3. + 4. + 5. + 6.
6
6
6
6
6
6
= 3.5
Long run interpretation of expectation
Numbers y1 , ..., yN . Their sample average is
y1 + . . . yN
.
N
Suppose the observations y1 , ..., yN are actually independent observations of
a random variable X. Then for N large
y1 + . . . yN
E(X).
N
Example: expected number of rolls of a die to get a six
Let X be the number of rolls required to get the first six. The probability
function is
pX (x) = P (X = x)
= P (No six on a single roll)x1 P (Six on a single roll)
x1
5
1
=
6
6
for x = 1, 2, ...
In the above reasoning we assume rolls are independent and then to have the
first six on roll x we must have had no six for the first x 1 rolls (probability
of 5/6 of this for each of these rolls independently) and then a six on roll x
(probability 1/6 for this).
Now we can calculate the expectation E(X). It is
x1
X
5
1
E(X) =
x
= 6.
6
6
x=1
Now let Y be your net gain or loss from playing the game. There is a one
to one correspondence between values of X and Y
x
0
1
2
3
E(Y ) =
y
-1
1
2
3
P (X = x) = P (Y = y)
0.58
0.35
0.07
0.005