christopher dougherty ec220 - introduction to econometrics (review chapter) slideshow: population...
TRANSCRIPT
Christopher Dougherty
EC220 - Introduction to econometrics (review chapter)Slideshow: population variance of a discreet random variable
Original citation:
Dougherty, C. (2012) EC220 - Introduction to econometrics (review chapter). [Teaching Resource]
© 2012 The Author
This version available at: http://learningresources.lse.ac.uk/141/
Available in LSE Learning Resources Online: May 2012
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. This license allows the user to remix, tweak, and build upon the work even for commercial purposes, as long as the user credits the author and licenses their new creations under the identical terms. http://creativecommons.org/licenses/by-sa/3.0/
http://learningresources.lse.ac.uk/
Population variance of X:
The third sequence defined the expected value of a function of a random variable X. There is only one function that is of much interest to us, at least initially: the squared deviation from the population mean.
1
POPULATION VARIANCE OF A DISCRETE RANDOM VARIABLE
i
n
iinn pxpxpxXE
1
221
21
2 )()(...)()(
2)( XE
The expected value of the squared deviation is known as the population variance of X. It is a measure of the dispersion of the distribution of X about its population mean.
POPULATION VARIANCE OF A DISCRETE RANDOM VARIABLE
i
n
iinn pxpxpxXE
1
221
21
2 )()(...)()(
Population variance of X: 2)( XE
2
We will calculate the population variance of the random variable X defined in the first sequence. We start as usual by listing the possible values of X and the corresponding probabilities.
POPULATION VARIANCE OF A DISCRETE RANDOM VARIABLE
xi pi xi – (xi – )2 (xi – )2 pi
2 1/36 –5 25 0.69
3 2/36 –4 16 0.89
4 3/36 –3 9 0.75
5 4/36 –2 4 0.44
6 5/36 –1 1 0.14
7 6/36 0 0 0.00
8 5/36 1 1 0.14
9 4/36 2 4 0.44
10 3/36 3 9 0.75
11 2/36 4 16 0.89
12 1/36 5 25 0.69
5.83
3
Next we need a column giving the deviations of the possible values of X about its population mean. In the second sequence we saw that the population mean of X was 7.
POPULATION VARIANCE OF A DISCRETE RANDOM VARIABLE
xi pi xi – (xi – )2 (xi – )2 pi
2 1/36 –5 25 0.69
3 2/36 –4 16 0.89
4 3/36 –3 9 0.75
5 4/36 –2 4 0.44
6 5/36 –1 1 0.14
7 6/36 0 0 0.00
8 5/36 1 1 0.14
9 4/36 2 4 0.44
10 3/36 3 9 0.75
11 2/36 4 16 0.89
12 1/36 5 25 0.69
5.83
7)( XEX
4
When X is equal to 2, the deviation is –5.
POPULATION VARIANCE OF A DISCRETE RANDOM VARIABLE
)(XEX
xi pi xi – (xi – )2 (xi – )2 pi
2 1/36 –5 25 0.69
3 2/36 –4 16 0.89
4 3/36 –3 9 0.75
5 4/36 –2 4 0.44
6 5/36 –1 1 0.14
7 6/36 0 0 0.00
8 5/36 1 1 0.14
9 4/36 2 4 0.44
10 3/36 3 9 0.75
11 2/36 4 16 0.89
12 1/36 5 25 0.69
5.83
7)( XEX
5
Similarly for all the other possible values.
POPULATION VARIANCE OF A DISCRETE RANDOM VARIABLE
xi pi xi – (xi – )2 (xi – )2 pi
2 1/36 –5 25 0.69
3 2/36 –4 16 0.89
4 3/36 –3 9 0.75
5 4/36 –2 4 0.44
6 5/36 –1 1 0.14
7 6/36 0 0 0.00
8 5/36 1 1 0.14
9 4/36 2 4 0.44
10 3/36 3 9 0.75
11 2/36 4 16 0.89
12 1/36 5 25 0.69
5.83
7)( XEX
6
Next we need a column giving the squared deviations. When X is equal to 2, the squared deviation is 25.
POPULATION VARIANCE OF A DISCRETE RANDOM VARIABLE
xi pi xi – (xi – )2 (xi – )2 pi
2 1/36 –5 25 0.69
3 2/36 –4 16 0.89
4 3/36 –3 9 0.75
5 4/36 –2 4 0.44
6 5/36 –1 1 0.14
7 6/36 0 0 0.00
8 5/36 1 1 0.14
9 4/36 2 4 0.44
10 3/36 3 9 0.75
11 2/36 4 16 0.89
12 1/36 5 25 0.69
5.83
7
Similarly for the other values of X.
POPULATION VARIANCE OF A DISCRETE RANDOM VARIABLE
xi pi xi – (xi – )2 (xi – )2 pi
2 1/36 –5 25 0.69
3 2/36 –4 16 0.89
4 3/36 –3 9 0.75
5 4/36 –2 4 0.44
6 5/36 –1 1 0.14
7 6/36 0 0 0.00
8 5/36 1 1 0.14
9 4/36 2 4 0.44
10 3/36 3 9 0.75
11 2/36 4 16 0.89
12 1/36 5 25 0.69
5.83
8
POPULATION VARIANCE OF A DISCRETE RANDOM VARIABLE
xi pi xi – (xi – )2 (xi – )2 pi
2 1/36 –5 25 0.69
3 2/36 –4 16 0.89
4 3/36 –3 9 0.75
5 4/36 –2 4 0.44
6 5/36 –1 1 0.14
7 6/36 0 0 0.00
8 5/36 1 1 0.14
9 4/36 2 4 0.44
10 3/36 3 9 0.75
11 2/36 4 16 0.89
12 1/36 5 25 0.69
5.83
Now we start weighting the squared deviations by the corresponding probabilities. What do you think the weighted average will be? Have a guess.
9
A reason for making an initial guess is that it may help you to identify an arithmetical error, if you make one. If the initial guess and the outcome are very different, that is a warning.
POPULATION VARIANCE OF A DISCRETE RANDOM VARIABLE
xi pi xi – (xi – )2 (xi – )2 pi
2 1/36 –5 25 0.69
3 2/36 –4 16 0.89
4 3/36 –3 9 0.75
5 4/36 –2 4 0.44
6 5/36 –1 1 0.14
7 6/36 0 0 0.00
8 5/36 1 1 0.14
9 4/36 2 4 0.44
10 3/36 3 9 0.75
11 2/36 4 16 0.89
12 1/36 5 25 0.69
5.83
10
We calculate all the weighted squared deviations.
POPULATION VARIANCE OF A DISCRETE RANDOM VARIABLE
xi pi xi – (xi – )2 (xi – )2 pi
2 1/36 –5 25 0.69
3 2/36 –4 16 0.89
4 3/36 –3 9 0.75
5 4/36 –2 4 0.44
6 5/36 –1 1 0.14
7 6/36 0 0 0.00
8 5/36 1 1 0.14
9 4/36 2 4 0.44
10 3/36 3 9 0.75
11 2/36 4 16 0.89
12 1/36 5 25 0.69
5.83
11
xi pi xi – (xi – )2 (xi – )2 pi
2 1/36 –5 25 0.69
3 2/36 –4 16 0.89
4 3/36 –3 9 0.75
5 4/36 –2 4 0.44
6 5/36 –1 1 0.14
7 6/36 0 0 0.00
8 5/36 1 1 0.14
9 4/36 2 4 0.44
10 3/36 3 9 0.75
11 2/36 4 16 0.89
12 1/36 5 25 0.69
5.83
The sum is the population variance of X.
POPULATION VARIANCE OF A DISCRETE RANDOM VARIABLE
12
Population variance of X
In equations, the population variance of X is usually written X2, being the Greek s.
POPULATION VARIANCE OF A DISCRETE RANDOM VARIABLE
2)( XE
2X
13
Standard deviation of X
The standard deviation of X is the square root of its population variance. Usually written x, it is an alternative measure of dispersion. It has the same units as X.
POPULATION VARIANCE OF A DISCRETE RANDOM VARIABLE
])[( 2XE
X
14
Copyright Christopher Dougherty 2011.
These slideshows may be downloaded by anyone, anywhere for personal use.
Subject to respect for copyright and, where appropriate, attribution, they may be
used as a resource for teaching an econometrics course. There is no need to
refer to the author.
The content of this slideshow comes from Section R.2 of C. Dougherty,
Introduction to Econometrics, fourth edition 2011, Oxford University Press.
Additional (free) resources for both students and instructors may be
downloaded from the OUP Online Resource Centre
http://www.oup.com/uk/orc/bin/9780199567089/.
Individuals studying econometrics on their own and 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
20 Elements of Econometrics
www.londoninternational.ac.uk/lse.
11.07.25