Professional Documents
Culture Documents
RG03 2015 12 17
RG03 2015 12 17
To find the expected value of a function of a random variable, one calculates all the possible
values of the function, weights them by the corresponding probabilities, and sums the
results.
1
EXPECTED VALUE OF A FUNCTION OF A RANDOM VARIABLE
Example:
E (X )= x
n
2 2
1 p1 + ... + x pn = ∑ x i2 pi
2
n
i =1
For example, the expected value of X2 is found by calculating all its possible values,
multiplying them by the corresponding probabilities, and summing.
2
EXPECTED VALUE OF A FUNCTION OF A RANDOM VARIABLE
Σ g(xi) pi 54.83
The calculation of the expected value of a function of a random variable will be outlined in
general and then illustrated with an example.
3
EXPECTED VALUE OF A FUNCTION OF A RANDOM VARIABLE
Σ g(xi) pi 54.83
First one makes a list of the possible values of X and the corresponding probabilities.
4
EXPECTED VALUE OF A FUNCTION OF A RANDOM VARIABLE
Σ g(xi) pi 54.83
5
EXPECTED VALUE OF A FUNCTION OF A RANDOM VARIABLE
Σ g(xi) pi 54.83
Then, one at a time, the value of the function is weighted by its corresponding probability.
6
EXPECTED VALUE OF A FUNCTION OF A RANDOM VARIABLE
Σ g(xi) pi 54.83
7
EXPECTED VALUE OF A FUNCTION OF A RANDOM VARIABLE
Σ g(xi) pi 54.83
The sum of the weighted values is the expected value of the function of X.
8
EXPECTED VALUE OF A FUNCTION OF A RANDOM VARIABLE
Σ g(xi) pi 54.83
The process will be illustrated for X2, where X is the random variable defined in the first
sequence. The 11 possible values of X and the corresponding probabilities are listed.
9
EXPECTED VALUE OF A FUNCTION OF A RANDOM VARIABLE
Σ g(xi) pi 54.83
10
EXPECTED VALUE OF A FUNCTION OF A RANDOM VARIABLE
Σ g(xi) pi 54.83
The first value is 4, which arises when X is equal to 2. The probability of X being equal to 2
is 1/36, so the weighted function is 4/36, which we shall write in decimal form as 0.11.
11
EXPECTED VALUE OF A FUNCTION OF A RANDOM VARIABLE
Σ g(xi) pi 54.83
12
EXPECTED VALUE OF A FUNCTION OF A RANDOM VARIABLE
Σ g(xi) pi 54.83
The expected value of X2 is the sum of its weighted values in the final column. It is equal to
54.83. It is the average value of the figures in the previous column, taking the differing
probabilities into account.
13
EXPECTED VALUE OF A FUNCTION OF A RANDOM VARIABLE
Σ g(xi) pi 54.83
Note that E(X2) is not the same thing as E(X), squared. In the previous sequence we saw
that E(X) for this example was 7. Its square is 49.
14
Copyright Christopher Dougherty 2016.
Individuals studying econometrics on their own who feel that they might benefit
from participation in a formal course should consider the London School of
Economics summer school course
EC212 Introduction to Econometrics
http://www2.lse.ac.uk/study/summerSchools/summerSchool/Home.aspx
or the University of London International Programmes distance learning course
EC2020 Elements of Econometrics
www.londoninternational.ac.uk/lse.
2015.12.17