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.

Slides:



Advertisements
Similar presentations
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.
Advertisements

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 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: expected value of a random variable Original citation: Dougherty,
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.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 2) Slideshow: a Monte Carlo experiment Original citation: Dougherty, C. (2012) EC220.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 10) Slideshow: introduction to maximum likelihood estimation Original citation: Dougherty,
1 THE DISTURBANCE TERM IN LOGARITHMIC MODELS Thus far, nothing has been said about the disturbance term in nonlinear regression models.
1 XX X1X1 XX X Random variable X with unknown population mean  X function of X probability density Sample of n observations X 1, X 2,..., X n : potential.
1 THE NORMAL DISTRIBUTION In the analysis so far, we have discussed the mean and the variance of a distribution of a random variable, but we have not said.
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.
Random effects estimation RANDOM EFFECTS REGRESSIONS When the observed variables of interest are constant for each individual, a fixed effects regression.
1 ASSUMPTIONS FOR MODEL C: REGRESSIONS WITH TIME SERIES DATA Assumptions C.1, C.3, C.4, C.5, and C.8, and the consequences of their violations are the.
00  sd  0 –sd  0 –1.96sd  0 +sd 2.5% CONFIDENCE INTERVALS probability density function of X null hypothesis H 0 :  =  0 In the sequence.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: expected value of a function of a random variable Original citation:
TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: confidence intervals Original citation: Dougherty, C. (2012) EC220.
TESTING A HYPOTHESIS RELATING TO A REGRESSION COEFFICIENT This sequence describes the testing of a hypotheses relating to regression coefficients. It is.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: continuous random variables Original citation: Dougherty, C. (2012)
1 A MONTE CARLO EXPERIMENT In the previous slideshow, we saw that the error term is responsible for the variations of b 2 around its fixed component 
Christopher Dougherty EC220 - Introduction to econometrics (chapter 3) Slideshow: prediction Original citation: Dougherty, C. (2012) EC220 - Introduction.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 10) Slideshow: maximum likelihood estimation of regression coefficients Original citation:
DERIVING LINEAR REGRESSION COEFFICIENTS
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: the normal distribution Original citation: Dougherty, C. (2012)
1 In a second variation, we shall consider the model shown above. x is the rate of growth of productivity, assumed to be exogenous. w is now hypothesized.
1 PREDICTION In the previous sequence, we saw how to predict the price of a good or asset given the composition of its characteristics. In this sequence,
EC220 - Introduction to econometrics (review chapter)
1 UNBIASEDNESS AND EFFICIENCY Much of the analysis in this course will be concerned with three properties of estimators: unbiasedness, efficiency, and.
FIXED EFFECTS REGRESSIONS: WITHIN-GROUPS METHOD The two main approaches to the fitting of models using panel data are known, for reasons that will be explained.
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.
THE DUMMY VARIABLE TRAP 1 Suppose that you have a regression model with Y depending on a set of ordinary variables X 2,..., X k and a qualitative variable.
1 CONTINUOUS RANDOM VARIABLES A discrete random variable is one that can take only a finite set of values. The sum of the numbers when two dice are thrown.
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.
1 General model with lagged variables Static model AR(1) model Model with lagged dependent variable Methodologically, in developing a regression specification.
Confidence intervals were treated at length in the Review chapter and their application to regression analysis presents no problems. We will not repeat.
CONSEQUENCES OF AUTOCORRELATION
ALTERNATIVE EXPRESSION FOR POPULATION VARIANCE 1 This sequence derives an alternative expression for the population variance of a random variable. It provides.
CONFLICTS BETWEEN UNBIASEDNESS AND MINIMUM VARIANCE
MULTIPLE RESTRICTIONS AND ZERO RESTRICTIONS
Christopher Dougherty EC220 - Introduction to econometrics (chapter 12) Slideshow: footnote: the Cochrane-Orcutt iterative process Original citation: Dougherty,
TYPE II ERROR AND THE POWER OF A TEST A Type I error occurs when the null hypothesis is rejected when it is in fact true. A Type II error occurs when the.
A.1The model is linear in parameters and correctly specified. PROPERTIES OF THE MULTIPLE REGRESSION COEFFICIENTS 1 Moving from the simple to the multiple.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 9) Slideshow: instrumental variable estimation: variation Original citation: Dougherty,
AUTOCORRELATION 1 Assumption C.5 states that the values of the disturbance term in the observations in the sample are generated independently of each other.
1 We will now look at the properties of the OLS regression estimators with the assumptions of Model B. We will do this within the context of the simple.
1 COVARIANCE, COVARIANCE AND VARIANCE RULES, AND CORRELATION Covariance The covariance of two random variables X and Y, often written  XY, is defined.
1 Y SIMPLE REGRESSION MODEL Suppose that a variable Y is a linear function of another variable X, with unknown parameters  1 and  2 that we wish to estimate.
1 We will continue with a variation on the basic model. We will now hypothesize that p is a function of m, the rate of growth of the money supply, as well.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: alternative expression for population variance Original citation:
1 ASYMPTOTIC PROPERTIES OF ESTIMATORS: THE USE OF SIMULATION In practice we deal with finite samples, not infinite ones. So why should we be interested.
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.
RAMSEY’S RESET TEST OF FUNCTIONAL MISSPECIFICATION 1 Ramsey’s RESET test of functional misspecification is intended to provide a simple indicator of evidence.
4 In our case, the starting point should be the model with all the lagged variables. DYNAMIC MODEL SPECIFICATION General model with lagged variables Static.
HETEROSCEDASTICITY 1 This sequence relates to Assumption A.4 of the regression model assumptions and introduces the topic of heteroscedasticity. This relates.
INSTRUMENTAL VARIABLES 1 Suppose that you have a model in which Y is determined by X but you have reason to believe that Assumption B.7 is invalid and.
1 HETEROSCEDASTICITY: WEIGHTED AND LOGARITHMIC REGRESSIONS This sequence presents two methods for dealing with the problem of heteroscedasticity. We will.
1 ESTIMATORS OF VARIANCE, COVARIANCE, AND CORRELATION We have seen that the variance of a random variable X is given by the expression above. Variance.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 2) Slideshow: confidence intervals Original citation: Dougherty, C. (2012) EC220 -
1 REPARAMETERIZATION OF A MODEL AND t TEST OF A LINEAR RESTRICTION Linear restrictions can also be tested using a t test. This involves the reparameterization.
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.
FOOTNOTE: THE COCHRANE–ORCUTT ITERATIVE PROCESS 1 We saw in the previous sequence that AR(1) autocorrelation could be eliminated by a simple manipulation.
Introduction to Econometrics, 5th edition
Introduction to Econometrics, 5th edition
Introduction to Econometrics, 5th edition
Introduction to Econometrics, 5th edition
Introduction to Econometrics, 5th edition
Presentation transcript:

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 :

2 Note that the sum of the probabilities must be unity, so there is no need to divide by the sum of the weights. EXPECTED VALUE OF A RANDOM VARIABLE Definition of E(X), the expected value of X :

3 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) 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.

4 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) Next we list the probabilities attached to the different possible values of X.

5 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) Then we define a column in which the values are weighted by the corresponding probabilities.

6 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) We do this for each value separately.

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 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)

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 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)

9 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) The random variable X defined in the previous sequence could be any of the integers from 2 to 12 with probabilities as shown.

10 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) X could be equal to 2 with probability 1/36, so the first entry in the calculation of the expected value is 2/36.

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 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) 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

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 14 EXPECTED VALUE OF A RANDOM VARIABLE 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.

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 Alternative notation for E(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 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 EC2020 Elements of Econometrics