Random effects estimation RANDOM EFFECTS REGRESSIONS When the observed variables of interest are constant for each individual, a fixed effects regression.

Slides:



Advertisements
Similar presentations
Christopher Dougherty EC220 - Introduction to econometrics (chapter 12) Slideshow: consequences of autocorrelation Original citation: Dougherty, C. (2012)
Advertisements

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.
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.
EC220 - Introduction to econometrics (chapter 7)
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 2) Slideshow: types of regression model and assumptions for a model a Original citation:
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: asymptotic properties of estimators: plims and consistency Original.
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.
HETEROSCEDASTICITY-CONSISTENT STANDARD ERRORS 1 Heteroscedasticity causes OLS standard errors to be biased is finite samples. However it can be demonstrated.
EC220 - Introduction to econometrics (chapter 7)
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.
MEASUREMENT ERROR 1 In this sequence we will investigate the consequences of measurement errors in the variables in a regression model. To keep the analysis.
ASYMPTOTIC PROPERTIES OF ESTIMATORS: PLIMS AND CONSISTENCY
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.
EC220 - Introduction to econometrics (chapter 9)
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.
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.
TESTING A HYPOTHESIS RELATING TO A REGRESSION COEFFICIENT This sequence describes the testing of a hypotheses relating to regression coefficients. It is.
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.
Cross-sectional:Observations on individuals, households, enterprises, countries, etc at one moment in time (Chapters 1–10, Models A and B). 1 During this.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 10) Slideshow: maximum likelihood estimation of regression coefficients Original citation:
DERIVING LINEAR REGRESSION COEFFICIENTS
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 This sequence shows why OLS is likely to yield inconsistent estimates in models composed of two or more simultaneous relationships. SIMULTANEOUS EQUATIONS.
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.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: conflicts between unbiasedness and minimum variance Original citation:
Christopher Dougherty EC220 - Introduction to econometrics (chapter 8) Slideshow: measurement error Original citation: Dougherty, C. (2012) EC220 - Introduction.
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.
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
ASYMPTOTIC AND FINITE-SAMPLE DISTRIBUTIONS OF THE IV ESTIMATOR
EC220 - Introduction to econometrics (chapter 8)
MULTIPLE RESTRICTIONS AND ZERO RESTRICTIONS
MULTIPLE REGRESSION WITH TWO EXPLANATORY VARIABLES: EXAMPLE 1 This sequence provides a geometrical interpretation of a multiple regression model with two.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 12) Slideshow: footnote: the Cochrane-Orcutt iterative process Original citation: Dougherty,
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.
1 REGRESSION ANALYSIS WITH PANEL DATA: INTRODUCTION A panel data set, or longitudinal data set, is one where there are repeated observations on the same.
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,
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.
When should you use fixed effects estimation rather than random effects estimation, or vice versa? FIXED EFFECTS OR RANDOM EFFECTS? 1 NLSY 1980–1996 Dependent.
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.
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 INSTRUMENTAL VARIABLE ESTIMATION OF SIMULTANEOUS EQUATIONS In the previous sequence it was asserted that the reduced form equations have two important.
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.
1 We will illustrate the heteroscedasticity theory with a Monte Carlo simulation. HETEROSCEDASTICITY: MONTE CARLO ILLUSTRATION 1 standard deviation of.
VARIABLE MISSPECIFICATION II: INCLUSION OF AN IRRELEVANT VARIABLE In this sequence we will investigate the consequences of including an irrelevant variable.
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
Presentation transcript:

Random effects estimation RANDOM EFFECTS REGRESSIONS When the observed variables of interest are constant for each individual, a fixed effects regression is not an effective tool because such variables cannot be included. 1

Random effects estimation In this section, we will consider an alternative approach, known as a random effects regression that may, subject to two conditions, provide a solution to this problem. RANDOM EFFECTS REGRESSIONS 2

Random effects estimation The first condition is that it is possible to treat each of the unobserved Z p variables as being drawn randomly from a given distribution. RANDOM EFFECTS REGRESSIONS 3

Random effects estimation If this is the case, the  i may be treated as random variables (hence the name of this approach) drawn from a given distribution and we may rewrite the model as shown. RANDOM EFFECTS REGRESSIONS 4

Random effects estimation We have dealt with the unobserved effect by subsuming it into a compound disturbance term u it. RANDOM EFFECTS REGRESSIONS 5

Random effects estimation The second condition is that the Z p variables are distributed independently of all of the X j variables. RANDOM EFFECTS REGRESSIONS 6

Random effects estimation If this is not the case, , and hence u, will not be uncorrelated with the X j variables and the random effects estimation will be biased and inconsistent. We would have to use fixed effects estimation instead, even if the first condition seems to be satisfied. RANDOM EFFECTS REGRESSIONS 7

Random effects estimation If the two conditions are satisfied, we may use this as our regression specification, but there is a complication. u it will be subject to a special form of autocorrelation and we will have to use an estimation technique that takes account of it. RANDOM EFFECTS REGRESSIONS 8

Random effects estimation First, we will check the other regression model assumptions. Given our assumption that  it satisfies the assumptions, we can see that u it satisfies the assumption of zero expected value. RANDOM EFFECTS REGRESSIONS 9

Random effects estimation Here we are assuming without loss of generality that E(  i ) = 0, any nonzero component being absorbed by the intercept,  1. RANDOM EFFECTS REGRESSIONS 10

Random effects estimation u it will satisfy the condition that it should have constant variance. Its variance is equal to the sum of the variances of  i and  it. (The covariance between  i and  it is 0 on the assumption that  i is distributed independently of  it.) RANDOM EFFECTS REGRESSIONS 11

Random effects estimation u it will also be distributed independently of the values of X j, since both  i and  it are assumed to satisfy this condition. RANDOM EFFECTS REGRESSIONS 12

Random effects estimation Individual Time u 11  1 +   1 +   1 +   2 +   2 +   2 +  23 However there is a problem with the assumption that its value in any observation be generated independently of its value in all other observations. RANDOM EFFECTS REGRESSIONS 13

Random effects estimation Individual Time u 11  1 +   1 +   1 +   2 +   2 +   2 +  23 For all the observations relating to a given individual,  i will have the same value, reflecting the unchanging unobserved characteristics of the individual. RANDOM EFFECTS REGRESSIONS 14

Random effects estimation Individual Time u 11  1 +   1 +   1 +   2 +   2 +   2 +  23 This is illustrated in the table above, which shows the disturbance terms for the first two individuals in a data set, assuming that there are 3 time periods. RANDOM EFFECTS REGRESSIONS 15

Random effects estimation Individual Time u 11  1 +   1 +   1 +   2 +   2 +   2 +  23 The disturbance terms for individual 1 are independent of those for individual 2 because  1 amd  2 are generated independently. However the disturbance terms for the observations relating to individual 1 are correlated because they contain the common component  1. RANDOM EFFECTS REGRESSIONS 16

Random effects estimation Individual Time u 11  1 +   1 +   1 +   2 +   2 +   2 +  23 The same is true for the observations relating to individual 2, and for all other individuals in the sample. RANDOM EFFECTS REGRESSIONS 17

Random effects estimation Individual Time u 11  1 +   1 +   1 +   2 +   2 +   2 +  23 The covariance of the disturbance terms in periods t and t' for individual i is decomposed above. The terms involving  are all 0 because  is assumed to be generated completely randomly. However the first term is not 0. It is the population variance of . RANDOM EFFECTS REGRESSIONS 18

Random effects estimation Individual Time u 11  1 +   1 +   1 +   2 +   2 +   2 +  23 OLS remains unbiased and consistent, despite the violation of the regression model assumption, but it is inefficient because it is possible to derive estimators with smaller variances. In addition, the standard errors are computed wrongly. RANDOM EFFECTS REGRESSIONS 19

Random effects estimation Individual Time u 11  1 +   1 +   1 +   2 +   2 +   2 +  23 We have encountered a problem of the violation of this regression model assumption once before, in the case of autocorrelated disturbance terms in a time series model. RANDOM EFFECTS REGRESSIONS 20

Random effects estimation Individual Time u 11  1 +   1 +   1 +   2 +   2 +   2 +  23 The solution then was to transform the model so that the transformed disturbance term satisfied the regression model assumption, and a similar procedure is adopted in the present case. RANDOM EFFECTS REGRESSIONS 21

Random effects estimation Individual Time u 11  1 +   1 +   1 +   2 +   2 +   2 +  23 However, while the transformation in the case of autocorrelation was very straightforward, in the present case it is more complex and will not be discussed further here. Nevertheless it is easy to fit a random effects model using regression applications such as Stata. RANDOM EFFECTS REGRESSIONS 22

Random effects estimation Individual Time u 11  1 +   1 +   1 +   2 +   2 +   2 +  23 Random effects estimation uses a procedure known as feasible generalized least squares. It yields consistent estimates of the coefficients and therefore depends on n being sufficiently large. For small n its properties are unknown. RANDOM EFFECTS REGRESSIONS 23

The table shows the results of performing random effects regressions as well as OLS and fixed effects regressions. In the next slideshow we consider how we should choose the appropriate estimation approach. RANDOM EFFECTS REGRESSIONS NLSY 1980–1996 Dependent variable logarithm of hourly earnings OLS Fixed effects Random effects Married –0.134– (0.007)(0.012)(0.010) Soon-to-be – –0.075 married(0.009)(0.010)(0.008)(0.009)(0.007) Single–––0.106 – –0.134 (0.012)(0.010) R n 20,343 20,343 20,343 20,343 20,343 24

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