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.

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.
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: 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.
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.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 12) Slideshow: dynamic model specification Original citation: Dougherty, C. (2012)
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 BINARY CHOICE MODELS: PROBIT ANALYSIS In the case of probit analysis, the sigmoid function F(Z) giving the probability is the cumulative standardized.
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.
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)
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:
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.
Simple regression model: Y =  1 +  2 X + u 1 We have seen that the regression coefficients b 1 and b 2 are random variables. They provide point estimates.
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,
. reg LGEARN S WEIGHT85 Source | SS df MS Number of obs = F( 2, 537) = Model |
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 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.
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.
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 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.
1 We will illustrate the heteroscedasticity theory with a Monte Carlo simulation. HETEROSCEDASTICITY: MONTE CARLO ILLUSTRATION 1 standard deviation of.
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:

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 a random variable, one calculates all the possible values of the function, weights them by the corresponding probabilities, and sums the results.

Definition of, the expected value of a function of X : Example: For example, the expected value of X 2 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

3 x i p i g(x i ) g(x i ) p i x i p i x i 2 x i 2 p i x 1 p 1 g(x 1 )g(x 1 ) p 1 21/ x 2 p 2 g(x 2 ) g(x 2 ) p 2 32/ x 3 p 3 g(x 3 ) g(x 3 ) p 3 43/ ………...……... 54/ ………...……... 65/ ………...……... 76/ ………...……... 85/ ………...……... 94/ ………...…… / ………...…… / x n p n g(x n ) g(x n ) p n 121/   g(x i ) p i The calculation of the expected value of a function of a random variable will be outlined in general and then illustrated with an example.

4 EXPECTED VALUE OF A FUNCTION OF A RANDOM VARIABLE x i p i g(x i ) g(x i ) p i x i p i x i 2 x i 2 p i x 1 p 1 g(x 1 )g(x 1 ) p 1 21/ x 2 p 2 g(x 2 ) g(x 2 ) p 2 32/ x 3 p 3 g(x 3 ) g(x 3 ) p 3 43/ ………...……... 54/ ………...……... 65/ ………...……... 76/ ………...……... 85/ ………...……... 94/ ………...…… / ………...…… / x n p n g(x n ) g(x n ) p n 121/   g(x i ) p i First one makes a list of the possible values of X and the corresponding probabilities.

5 EXPECTED VALUE OF A FUNCTION OF A RANDOM VARIABLE x i p i g(x i ) g(x i ) p i x i p i x i 2 x i 2 p i x 1 p 1 g(x 1 )g(x 1 ) p 1 21/ x 2 p 2 g(x 2 ) g(x 2 ) p 2 32/ x 3 p 3 g(x 3 ) g(x 3 ) p 3 43/ ………...……... 54/ ………...……... 65/ ………...……... 76/ ………...……... 85/ ………...……... 94/ ………...…… / ………...…… / x n p n g(x n ) g(x n ) p n 121/   g(x i ) p i Next the function of X is calculated for each possible value of X.

6 EXPECTED VALUE OF A FUNCTION OF A RANDOM VARIABLE x i p i g(x i ) g(x i ) p i x i p i x i 2 x i 2 p i x 1 p 1 g(x 1 )g(x 1 ) p 1 21/ x 2 p 2 g(x 2 ) g(x 2 ) p 2 32/ x 3 p 3 g(x 3 ) g(x 3 ) p 3 43/ ………...……... 54/ ………...……... 65/ ………...……... 76/ ………...……... 85/ ………...……... 94/ ………...…… / ………...…… / x n p n g(x n ) g(x n ) p n 121/   g(x i ) p i Then, one at a time, the value of the function is weighted by its corresponding probability.

7 EXPECTED VALUE OF A FUNCTION OF A RANDOM VARIABLE x i p i g(x i ) g(x i ) p i x i p i x i 2 x i 2 p i x 1 p 1 g(x 1 )g(x 1 ) p 1 21/ x 2 p 2 g(x 2 ) g(x 2 ) p 2 32/ x 3 p 3 g(x 3 ) g(x 3 ) p 3 43/ ………...……... 54/ ………...……... 65/ ………...……... 76/ ………...……... 85/ ………...……... 94/ ………...…… / ………...…… / x n p n g(x n ) g(x n ) p n 121/   g(x i ) p i This is done individually for each possible value of X.

8 EXPECTED VALUE OF A FUNCTION OF A RANDOM VARIABLE x i p i g(x i ) g(x i ) p i x i p i x i 2 x i 2 p i x 1 p 1 g(x 1 )g(x 1 ) p 1 21/ x 2 p 2 g(x 2 ) g(x 2 ) p 2 32/ x 3 p 3 g(x 3 ) g(x 3 ) p 3 43/ ………...……... 54/ ………...……... 65/ ………...……... 76/ ………...……... 85/ ………...……... 94/ ………...…… / ………...…… / x n p n g(x n ) g(x n ) p n 121/   g(x i ) p i The sum of the weighted values is the expected value of the function of X.

9 EXPECTED VALUE OF A FUNCTION OF A RANDOM VARIABLE x i p i g(x i ) g(x i ) p i x i p i x i 2 x i 2 p i x 1 p 1 g(x 1 )g(x 1 ) p 1 21/ x 2 p 2 g(x 2 ) g(x 2 ) p 2 32/ x 3 p 3 g(x 3 ) g(x 3 ) p 3 43/ ………...……... 54/ ………...……... 65/ ………...……... 76/ ………...……... 85/ ………...……... 94/ ………...…… / ………...…… / x n p n g(x n ) g(x n ) p n 121/   g(x i ) p i The process will be illustrated for X 2, where X is the random variable defined in the first sequence. The 11 possible values of X and the corresponding probabilities are listed.

10 EXPECTED VALUE OF A FUNCTION OF A RANDOM VARIABLE x i p i g(x i ) g(x i ) p i x i p i x i 2 x i 2 p i x 1 p 1 g(x 1 )g(x 1 ) p 1 21/ x 2 p 2 g(x 2 ) g(x 2 ) p 2 32/ x 3 p 3 g(x 3 ) g(x 3 ) p 3 43/ ………...……... 54/ ………...……... 65/ ………...……... 76/ ………...……... 85/ ………...……... 94/ ………...…… / ………...…… / x n p n g(x n ) g(x n ) p n 121/   g(x i ) p i First one calculates the possible values of X 2.

11 EXPECTED VALUE OF A FUNCTION OF A RANDOM VARIABLE x i p i g(x i ) g(x i ) p i x i p i x i 2 x i 2 p i x 1 p 1 g(x 1 )g(x 1 ) p 1 21/ x 2 p 2 g(x 2 ) g(x 2 ) p 2 32/ x 3 p 3 g(x 3 ) g(x 3 ) p 3 43/ ………...……... 54/ ………...……... 65/ ………...……... 76/ ………...……... 85/ ………...……... 94/ ………...…… / ………...…… / x n p n g(x n ) g(x n ) p n 121/   g(x i ) p i 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.

12 EXPECTED VALUE OF A FUNCTION OF A RANDOM VARIABLE x i p i g(x i ) g(x i ) p i x i p i x i 2 x i 2 p i x 1 p 1 g(x 1 )g(x 1 ) p 1 21/ x 2 p 2 g(x 2 ) g(x 2 ) p 2 32/ x 3 p 3 g(x 3 ) g(x 3 ) p 3 43/ ………...……... 54/ ………...……... 65/ ………...……... 76/ ………...……... 85/ ………...……... 94/ ………...…… / ………...…… / x n p n g(x n ) g(x n ) p n 121/   g(x i ) p i Similarly for all the other possible values of X.

13 EXPECTED VALUE OF A FUNCTION OF A RANDOM VARIABLE The expected value of X 2 is the sum of its weighted values in the final column. It is equal to It is the average value of the figures in the previous column, taking the differing probabilities into account. x i p i g(x i ) g(x i ) p i x i p i x i 2 x i 2 p i x 1 p 1 g(x 1 )g(x 1 ) p 1 21/ x 2 p 2 g(x 2 ) g(x 2 ) p 2 32/ x 3 p 3 g(x 3 ) g(x 3 ) p 3 43/ ………...……... 54/ ………...……... 65/ ………...……... 76/ ………...……... 85/ ………...……... 94/ ………...…… / ………...…… / x n p n g(x n ) g(x n ) p n 121/   g(x i ) p i 54.83

x i p i g(x i ) g(x i ) p i x i p i x i 2 x i 2 p i x 1 p 1 g(x 1 )g(x 1 ) p 1 21/ x 2 p 2 g(x 2 ) g(x 2 ) p 2 32/ x 3 p 3 g(x 3 ) g(x 3 ) p 3 43/ ………...……... 54/ ………...……... 65/ ………...……... 76/ ………...……... 85/ ………...……... 94/ ………...…… / ………...…… / x n p n g(x n ) g(x n ) p n 121/   g(x i ) p i Note that E(X 2 ) 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 EXPECTED VALUE OF A FUNCTION OF A RANDOM VARIABLE

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