Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: expected value of a random variable Original citation: Dougherty,

Slides:



Advertisements
Similar presentations
EC220 - Introduction to econometrics (chapter 2)
Advertisements

Christopher Dougherty EC220 - Introduction to econometrics (chapter 3) Slideshow: hedonic pricing Original citation: Dougherty, C. (2012) EC220 - Introduction.
EC220 - Introduction to econometrics (chapter 1)
1 Although they are biased in finite samples if Part (2) of Assumption C.7 is violated, OLS estimators are consistent if Part (1) is valid. We will demonstrate.
EC220 - Introduction to econometrics (chapter 13)
ADAPTIVE EXPECTATIONS 1 The dynamics in the partial adjustment model are attributable to inertia, the drag of the past. Another, completely opposite, source.
EXPECTED VALUE RULES 1. This sequence states the rules for manipulating expected values. First, the additive rule. The expected value of the sum of two.
ADAPTIVE EXPECTATIONS: FRIEDMAN'S PERMANENT INCOME HYPOTHESIS
EC220 - Introduction to econometrics (chapter 14)
EC220 - Introduction to econometrics (chapter 11)
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: the central limit theorem Original citation: Dougherty, C. (2012)
EC220 - Introduction to econometrics (chapter 2)
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: probability distribution example: x is the sum of two dice Original.
EC220 - Introduction to econometrics (chapter 14)
EC220 - Introduction to econometrics (review chapter)
EC220 - Introduction to econometrics (chapter 11)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 9) Slideshow: two-stage least squares Original citation: Dougherty, C. (2012) EC220.
EC220 - Introduction to econometrics (review chapter)
EC220 - Introduction to econometrics (chapter 8)
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: exercise r.13 Original citation: Dougherty, C. (2012) EC220 - Introduction.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: exercise r.4 Original citation: Dougherty, C. (2012) EC220 - Introduction.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 12) Slideshow: consequences of autocorrelation Original citation: Dougherty, C. (2012)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 4) Slideshow: Ramsey’s reset test of functional misspecification Original citation:
Christopher Dougherty EC220 - Introduction to econometrics (chapter 11) Slideshow: model c assumptions Original citation: Dougherty, C. (2012) EC220 -
EC220 - Introduction to econometrics (chapter 8)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 8) Slideshow: model b: properties of the regression coefficients Original citation:
Christopher Dougherty EC220 - Introduction to econometrics (chapter 2) Slideshow: one-sided t tests Original citation: Dougherty, C. (2012) EC220 - Introduction.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: one-sided t tests Original citation: Dougherty, C. (2012) EC220.
EC220 - Introduction to econometrics (chapter 1)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 8) Slideshow: Friedman’s critique of OLS estimation of the consumption function Original.
THE ERROR CORRECTION MODEL 1 The error correction model is a variant of the partial adjustment model. As with the partial adjustment model, we assume a.
1 MAXIMUM LIKELIHOOD ESTIMATION OF REGRESSION COEFFICIENTS X Y XiXi 11  1  +  2 X i Y =  1  +  2 X We will now apply the maximum likelihood principle.
MODELS WITH A LAGGED DEPENDENT VARIABLE
EC220 - Introduction to econometrics (chapter 3)
EC220 - Introduction to econometrics (chapter 4)
To find the expected value of a function of a random variable, you calculate all the possible values of the function, weight them by the corresponding.
Definition of, the expected value of a function of X : 1 EXPECTED VALUE OF A FUNCTION OF A RANDOM VARIABLE To find the expected value of a function of.
1 This very short sequence presents an important definition, that of the independence of two random variables. Two random variables X and Y are said to.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: exercise r.22 Original citation: Dougherty, C. (2012) EC220 - Introduction.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: exercise r.7 Original citation: Dougherty, C. (2012) EC220 - Introduction.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: exercise r.19 Original citation: Dougherty, C. (2012) EC220 - Introduction.
EC220 - Introduction to econometrics (review chapter)
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: asymptotic properties of estimators: the use of simulation Original.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: population variance of a discreet random variable Original citation:
EC220 - Introduction to econometrics (chapter 5)
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.
EC220 - Introduction to econometrics (chapter 5)
EC220 - Introduction to econometrics (chapter 10)
1 PROBABILITY DISTRIBUTION EXAMPLE: X IS THE SUM OF TWO DICE red This sequence provides an example of a discrete random variable. Suppose that you.
EXPECTED VALUE OF A RANDOM VARIABLE 1 The expected value of a random variable, also known as its population mean, is the weighted average of its possible.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: expected value of a function of a random variable Original citation:
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: confidence intervals Original citation: Dougherty, C. (2012) EC220.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: continuous random variables Original citation: Dougherty, C. (2012)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 10) Slideshow: maximum likelihood estimation of regression coefficients Original citation:
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: the normal distribution Original citation: Dougherty, C. (2012)
EC220 - Introduction to econometrics (review chapter)
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: sampling and estimators Original citation: Dougherty, C. (2012)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 12) Slideshow: autocorrelation, partial adjustment, and adaptive expectations Original.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: conflicts between unbiasedness and minimum variance Original citation:
THE FIXED AND RANDOM COMPONENTS OF A RANDOM VARIABLE 1 In this short sequence we shall decompose a random variable X into its fixed and random components.
ALTERNATIVE EXPRESSION FOR POPULATION VARIANCE 1 This sequence derives an alternative expression for the population variance of a random variable. It provides.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 12) Slideshow: footnote: the Cochrane-Orcutt iterative process Original citation: Dougherty,
Christopher Dougherty EC220 - Introduction to econometrics (chapter 9) Slideshow: instrumental variable estimation: variation Original citation: Dougherty,
Christopher Dougherty EC220 - Introduction to econometrics (chapter 6) Slideshow: multiple restrictions and zero restrictions Original citation: Dougherty,
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: alternative expression for population variance Original citation:
Definition of, the expected value of a function of X : 1 EXPECTED VALUE OF A FUNCTION OF A RANDOM VARIABLE To find the expected value of a function of.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 2) Slideshow: confidence intervals Original citation: Dougherty, C. (2012) EC220 -
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: independence of two random variables Original citation: Dougherty,
Christopher Dougherty EC220 - Introduction to econometrics (chapter 1) Slideshow: simple regression model Original citation: Dougherty, C. (2012) EC220.
Introduction to Econometrics, 5th edition
Presentation transcript:

Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: expected value of a random variable Original citation: Dougherty, C. (2012) EC220 - Introduction to econometrics (review chapter). [Teaching Resource] © 2012 The Author This version available at: 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

EXPECTED VALUE OF A RANDOM VARIABLE 1 The expected value of a random variable, also known as its population mean, is the weighted average of its possible values, the weights being the probabilities attached to the values. Definition of E(X), the expected value of X :

EXPECTED VALUE OF A RANDOM VARIABLE 2 Note that the sum of the probabilities must be unity, so there is no need to divide by the sum of the weights.

x i x 1 x 2 x 3 x 4 x 5 x 6 x 7 x 8 x 9 x 10 x 11 3 EXPECTED VALUE OF A RANDOM VARIABLE This sequence shows how the expected value is calculated, first in abstract and then with the random variable defined in the first sequence. We begin by listing the possible values of X.

x i p i x 1 p 1 x 2 p 2 x 3 p 3 x 4 p 4 x 5 p 5 x 6 p 6 x 7 p 7 x 8 p 8 x 9 p 9 x 10 p 10 x 11 p 11 4 EXPECTED VALUE OF A RANDOM VARIABLE Next we list the probabilities attached to the different possible values of X.

x i p i x 1 p 1 x 2 p 2 x 3 p 3 x 4 p 4 x 5 p 5 x 6 p 6 x 7 p 7 x 8 p 8 x 9 p 9 x 10 p 10 x 11 p 11 5 EXPECTED VALUE OF A RANDOM VARIABLE Then we define a column in which the values are weighted by the corresponding probabilities.

x i p i x 1 p 1 x 2 p 2 x 3 p 3 x 4 p 4 x 5 p 5 x 6 p 6 x 7 p 7 x 8 p 8 x 9 p 9 x 10 p 10 x 11 p 11 6 EXPECTED VALUE OF A RANDOM VARIABLE We do this for each value separately.

x i p i x 1 p 1 x 2 p 2 x 3 p 3 x 4 p 4 x 5 p 5 x 6 p 6 x 7 p 7 x 8 p 8 x 9 p 9 x 10 p 10 x 11 p 11 7 EXPECTED VALUE OF A RANDOM VARIABLE Here we are assuming that n, the number of possible values, is equal to 11, but it could be any number.

x i p i x 1 p 1 x 2 p 2 x 3 p 3 x 4 p 4 x 5 p 5 x 6 p 6 x 7 p 7 x 8 p 8 x 9 p 9 x 10 p 10 x 11 p 11  x i p i = E(X) 8 EXPECTED VALUE OF A RANDOM VARIABLE The expected value is the sum of the entries in the third column.

x i p i x i p i x i p i x 1 p 1 x 1 p 1 21/36 x 2 p 2 x 2 p 2 32/36 x 3 p 3 x 3 p 3 43/36 x 4 p 4 x 4 p 4 54/36 x 5 p 5 x 5 p 5 65/36 x 6 p 6 x 6 p 6 76/36 x 7 p 7 x 7 p 7 85/36 x 8 p 8 x 8 p 8 94/36 x 9 p 9 x 9 p 9 103/36 x 10 p 10 x 10 p /36 x 11 p 11 x 11 p /36  x i p i = E(X) 9 EXPECTED VALUE OF A RANDOM VARIABLE The random variable X defined in the previous sequence could be any of the integers from 2 to 12 with probabilities as shown.

x i p i x i p i x 1 p 1 x 1 p 1 21/362/36 x 2 p 2 x 2 p 2 32/36 x 3 p 3 x 3 p 3 43/36 x 4 p 4 x 4 p 4 54/36 x 5 p 5 x 5 p 5 65/36 x 6 p 6 x 6 p 6 76/36 x 7 p 7 x 7 p 7 85/36 x 8 p 8 x 8 p 8 94/36 x 9 p 9 x 9 p 9 103/36 x 10 p 10 x 10 p /36 x 11 p 11 x 11 p /36  x i p i = E(X) 10 EXPECTED VALUE OF A RANDOM VARIABLE X could be equal to 2 with probability 1/36, so the first entry in the calculation of the expected value is 2/36.

x i p i x i p i x 1 p 1 x 1 p 1 21/362/36 x 2 p 2 x 2 p 2 32/366/36 x 3 p 3 x 3 p 3 43/36 x 4 p 4 x 4 p 4 54/36 x 5 p 5 x 5 p 5 65/36 x 6 p 6 x 6 p 6 76/36 x 7 p 7 x 7 p 7 85/36 x 8 p 8 x 8 p 8 94/36 x 9 p 9 x 9 p 9 103/36 x 10 p 10 x 10 p /36 x 11 p 11 x 11 p /36  x i p i = E(X) 11 EXPECTED VALUE OF A RANDOM VARIABLE The probability of x being equal to 3 was 2/36, so the second entry is 6/36.

x i p i x i p i x 1 p 1 x 1 p 1 21/362/36 x 2 p 2 x 2 p 2 32/366/36 x 3 p 3 x 3 p 3 43/3612/36 x 4 p 4 x 4 p 4 54/3620/36 x 5 p 5 x 5 p 5 65/3630/36 x 6 p 6 x 6 p 6 76/3642/36 x 7 p 7 x 7 p 7 85/3640/36 x 8 p 8 x 8 p 8 94/3636/36 x 9 p 9 x 9 p 9 103/3630/36 x 10 p 10 x 10 p /3622/36 x 11 p 11 x 11 p /3612/36  x i p i = E(X) 12 EXPECTED VALUE OF A RANDOM VARIABLE Similarly for the other 9 possible values.

x i p i x i p i x 1 p 1 x 1 p 1 21/362/36 x 2 p 2 x 2 p 2 32/366/36 x 3 p 3 x 3 p 3 43/3612/36 x 4 p 4 x 4 p 4 54/3620/36 x 5 p 5 x 5 p 5 65/3630/36 x 6 p 6 x 6 p 6 76/3642/36 x 7 p 7 x 7 p 7 85/3640/36 x 8 p 8 x 8 p 8 94/3636/36 x 9 p 9 x 9 p 9 103/3630/36 x 10 p 10 x 10 p /3622/36 x 11 p 11 x 11 p /3612/36  x i p i = E(X) 252/36 13 To obtain the expected value, we sum the entries in this column. EXPECTED VALUE OF A RANDOM VARIABLE

14 The expected value turns out to be 7. Actually, this was obvious anyway. We saw in the previous sequence that the distribution is symmetrical about 7. EXPECTED VALUE OF A RANDOM VARIABLE x i p i x i p i x 1 p 1 x 1 p 1 21/362/36 x 2 p 2 x 2 p 2 32/366/36 x 3 p 3 x 3 p 3 43/3612/36 x 4 p 4 x 4 p 4 54/3620/36 x 5 p 5 x 5 p 5 65/3630/36 x 6 p 6 x 6 p 6 76/3642/36 x 7 p 7 x 7 p 7 85/3640/36 x 8 p 8 x 8 p 8 94/3636/36 x 9 p 9 x 9 p 9 103/3630/36 x 10 p 10 x 10 p /3622/36 x 11 p 11 x 11 p /3612/36  x i p i = E(X) 252/36 = 7

Very often the expected value of a random variable is represented by , the Greek m. If there is more than one random variable, their expected values are differentiated by adding subscripts to . 15 EXPECTED VALUE OF A RANDOM VARIABLE Definition of E(X), the expected value of X : Alternative notation for E(X) : E(X) =  X

Copyright Christopher Dougherty 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 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 or the University of London International Programmes distance learning course 20 Elements of Econometrics