EC220 - Introduction to econometrics (chapter 7)

Slides:



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

Christopher Dougherty EC220 - Introduction to econometrics (chapter 1) Slideshow: exercise 1.7 Original citation: Dougherty, C. (2012) EC220 - Introduction.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 5) Slideshow: slope dummy variables Original citation: Dougherty, C. (2012) EC220 -
Christopher Dougherty EC220 - Introduction to econometrics (chapter 1) Slideshow: exercise 1.16 Original citation: Dougherty, C. (2012) EC220 - Introduction.
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,
Christopher Dougherty EC220 - Introduction to econometrics (chapter 11) Slideshow: adaptive expectations Original citation: Dougherty, C. (2012) EC220.
EC220 - Introduction to econometrics (chapter 7)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 12) Slideshow: dynamic model specification Original citation: Dougherty, C. (2012)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 2) Slideshow: testing a hypothesis relating to a regression coefficient Original citation:
Christopher Dougherty EC220 - Introduction to econometrics (chapter 4) Slideshow: interactive explanatory variables Original citation: Dougherty, C. (2012)
HETEROSCEDASTICITY-CONSISTENT STANDARD ERRORS 1 Heteroscedasticity causes OLS standard errors to be biased is finite samples. However it can be demonstrated.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 3) Slideshow: exercise 3.5 Original citation: Dougherty, C. (2012) EC220 - Introduction.
EC220 - Introduction to econometrics (chapter 2)
EC220 - Introduction to econometrics (chapter 9)
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 (chapter 6) Slideshow: variable misspecification iii: consequences for diagnostics Original.
EC220 - Introduction to econometrics (chapter 1)
1 INTERPRETATION OF A REGRESSION EQUATION The scatter diagram shows hourly earnings in 2002 plotted against years of schooling, defined as highest grade.
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 (chapter 3) Slideshow: prediction Original citation: Dougherty, C. (2012) EC220 - Introduction.
SLOPE DUMMY VARIABLES 1 The scatter diagram shows the data for the 74 schools in Shanghai and the cost functions derived from a regression of COST on N.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 3) Slideshow: precision of the multiple regression coefficients Original citation:
Christopher Dougherty EC220 - Introduction to econometrics (chapter 4) Slideshow: semilogarithmic models Original citation: Dougherty, C. (2012) EC220.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 4) Slideshow: nonlinear regression Original citation: Dougherty, C. (2012) EC220 -
Christopher Dougherty EC220 - Introduction to econometrics (chapter 10) Slideshow: maximum likelihood estimation of regression coefficients Original citation:
EC220 - Introduction to econometrics (chapter 12)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 5) Slideshow: Chow test Original citation: Dougherty, C. (2012) EC220 - Introduction.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: the normal distribution Original citation: Dougherty, C. (2012)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 5) Slideshow: dummy variable classification with two categories Original citation:
Christopher Dougherty EC220 - Introduction to econometrics (chapter 5) Slideshow: two sets of dummy variables Original citation: Dougherty, C. (2012) EC220.
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 5) Slideshow: the effects of changing the reference category Original citation: Dougherty,
Christopher Dougherty EC220 - Introduction to econometrics (chapter 5) Slideshow: dummy classification with more than two categories Original citation:
Christopher Dougherty EC220 - Introduction to econometrics (chapter 12) Slideshow: autocorrelation, partial adjustment, and adaptive expectations Original.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 10) Slideshow: Tobit models Original citation: Dougherty, C. (2012) EC220 - Introduction.
1 INTERACTIVE EXPLANATORY VARIABLES The model shown above is linear in parameters and it may be fitted using straightforward OLS, provided that the regression.
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.
1 TWO SETS OF DUMMY VARIABLES The explanatory variables in a regression model may include multiple sets of dummy variables. This sequence provides an example.
Confidence intervals were treated at length in the Review chapter and their application to regression analysis presents no problems. We will not repeat.
1 PROXY VARIABLES Suppose that a variable Y is hypothesized to depend on a set of explanatory variables X 2,..., X k as shown above, and suppose that for.
EC220 - Introduction to econometrics (chapter 8)
F TEST OF GOODNESS OF FIT FOR THE WHOLE EQUATION 1 This sequence describes two F tests of goodness of fit in a multiple regression model. The first relates.
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,
Christopher Dougherty EC220 - Introduction to econometrics (chapter 1) Slideshow: exercise 1.5 Original citation: Dougherty, C. (2012) EC220 - Introduction.
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.
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 |
Christopher Dougherty EC220 - Introduction to econometrics (chapter 6) Slideshow: multiple restrictions and zero restrictions Original citation: Dougherty,
Christopher Dougherty EC220 - Introduction to econometrics (chapter 5) Slideshow: exercise 5.2 Original citation: Dougherty, C. (2012) EC220 - Introduction.
COST 11 DUMMY VARIABLE CLASSIFICATION WITH TWO CATEGORIES 1 This sequence explains how you can include qualitative explanatory variables in your regression.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: alternative expression for population variance Original citation:
RAMSEY’S RESET TEST OF FUNCTIONAL MISSPECIFICATION 1 Ramsey’s RESET test of functional misspecification is intended to provide a simple indicator of evidence.
1 NONLINEAR REGRESSION Suppose you believe that a variable Y depends on a variable X according to the relationship shown and you wish to obtain estimates.
1 CHANGES IN THE UNITS OF MEASUREMENT Suppose that the units of measurement of Y or X are changed. How will this affect the regression results? Intuitively,
SEMILOGARITHMIC MODELS 1 This sequence introduces the semilogarithmic model and shows how it may be applied to an earnings function. The dependent variable.
GRAPHING A RELATIONSHIP IN A MULTIPLE REGRESSION MODEL The output above shows the result of regressing EARNINGS, hourly earnings in dollars, on S, years.
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.
F TESTS RELATING TO GROUPS OF EXPLANATORY VARIABLES 1 We now come to more general F tests of goodness of fit. This is a test of the joint explanatory power.
1 We will illustrate the heteroscedasticity theory with a Monte Carlo simulation. HETEROSCEDASTICITY: MONTE CARLO ILLUSTRATION 1 standard deviation of.
WHITE TEST FOR HETEROSCEDASTICITY 1 The White test for heteroscedasticity looks for evidence of an association between the variance of the disturbance.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: independence of two random variables Original citation: Dougherty,
1 COMPARING LINEAR AND LOGARITHMIC SPECIFICATIONS When alternative specifications of a regression model have the same dependent variable, R 2 can be used.
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.
VARIABLE MISSPECIFICATION I: OMISSION OF A RELEVANT VARIABLE In this sequence and the next we will investigate the consequences of misspecifying the regression.
Introduction to Econometrics, 5th edition
Presentation transcript:

EC220 - Introduction to econometrics (chapter 7) Christopher Dougherty EC220 - Introduction to econometrics (chapter 7) Slideshow: heteroscedasticity-consistent standard errors   Original citation: Dougherty, C. (2012) EC220 - Introduction to econometrics (chapter 7). [Teaching Resource] © 2012 The Author This version available at: http://learningresources.lse.ac.uk/133/ 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/

HETEROSCEDASTICITY-CONSISTENT STANDARD ERRORS where Heteroscedasticity causes OLS standard errors to be biased is finite samples. However it can be demonstrated that they are nevertheless consistent, provided that their variances are distributed independently of the regressors. 1

HETEROSCEDASTICITY-CONSISTENT STANDARD ERRORS where Even if this is not the case, it is still possible to obtain consistent estimators. We have seen that the slope coefficient in a simple OLS regression could be decomposed as above. 2

HETEROSCEDASTICITY-CONSISTENT STANDARD ERRORS where We have also seen that the variance of the estimator is given by the expression above if ui is distributed independently of uj for j i. 3

HETEROSCEDASTICITY-CONSISTENT STANDARD ERRORS where White (1980) demonstrates that a consistent estimator of is obtained if the squared residual in observation i is used as an estimator of . Taking the square root, one obtains a heteroscedasticity-consistent standard error. 4

HETEROSCEDASTICITY-CONSISTENT STANDARD ERRORS where Thus in a situation where heteroscedasticity is suspected, but there is not enough information to identify its nature, it is possible to overcome the problem of biased standard errors, at least in large samples, and the t tests and F tests are asymptotically valid. 5

HETEROSCEDASTICITY-CONSISTENT STANDARD ERRORS where Two points, need to be kept in mind, however. One is that, although the White estimator is consistent, it may not perform well in finite samples (MacKinnon and White, 1985). The other is that the OLS estimators remain inefficient. 6

HETEROSCEDASTICITY-CONSISTENT STANDARD ERRORS . reg manu gdp Source | SS df MS Number of obs = 28 -------------+------------------------------ F( 1, 26) = 210.73 Model | 1.1600e+11 1 1.1600e+11 Prob > F = 0.0000 Residual | 1.4312e+10 26 550462775 R-squared = 0.8902 -------------+------------------------------ Adj R-squared = 0.8859 Total | 1.3031e+11 27 4.8264e+09 Root MSE = 23462 ------------------------------------------------------------------------------ manu | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- gdp | .193693 .0133428 14.52 0.000 .1662665 .2211195 _cons | 603.9453 5699.677 0.11 0.916 -11111.91 12319.8 . reg manu gdp, robust Regression with robust standard errors Number of obs = 28 F( 1, 26) = 116.39 Prob > F = 0.0000 R-squared = 0.8902 Root MSE = 23462 | Robust gdp | .193693 .0179542 10.79 0.000 .1567877 .2305983 _cons | 603.9453 3542.388 0.17 0.866 -6677.538 7885.429 To illustrate the use of heteroscedasticity-consistent standard errors, the regression of MANU on GDP in the previous sequence is repeated with the ‘robust’ option available in Stata. 7

HETEROSCEDASTICITY-CONSISTENT STANDARD ERRORS . reg manu gdp Source | SS df MS Number of obs = 28 -------------+------------------------------ F( 1, 26) = 210.73 Model | 1.1600e+11 1 1.1600e+11 Prob > F = 0.0000 Residual | 1.4312e+10 26 550462775 R-squared = 0.8902 -------------+------------------------------ Adj R-squared = 0.8859 Total | 1.3031e+11 27 4.8264e+09 Root MSE = 23462 ------------------------------------------------------------------------------ manu | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- gdp | .193693 .0133428 14.52 0.000 .1662665 .2211195 _cons | 603.9453 5699.677 0.11 0.916 -11111.91 12319.8 . reg manu gdp, robust Regression with robust standard errors Number of obs = 28 F( 1, 26) = 116.39 Prob > F = 0.0000 R-squared = 0.8902 Root MSE = 23462 | Robust gdp | .193693 .0179542 10.79 0.000 .1567877 .2305983 _cons | 603.9453 3542.388 0.17 0.866 -6677.538 7885.429 The point estimates of the coefficients are exactly the same. They are not affected by the procedure, and so their inefficiency is not alleviated. 8

HETEROSCEDASTICITY-CONSISTENT STANDARD ERRORS . reg manu gdp Source | SS df MS Number of obs = 28 -------------+------------------------------ F( 1, 26) = 210.73 Model | 1.1600e+11 1 1.1600e+11 Prob > F = 0.0000 Residual | 1.4312e+10 26 550462775 R-squared = 0.8902 -------------+------------------------------ Adj R-squared = 0.8859 Total | 1.3031e+11 27 4.8264e+09 Root MSE = 23462 ------------------------------------------------------------------------------ manu | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- gdp | .193693 .0133428 14.52 0.000 .1662665 .2211195 _cons | 603.9453 5699.677 0.11 0.916 -11111.91 12319.8 . reg manu gdp, robust Regression with robust standard errors Number of obs = 28 F( 1, 26) = 116.39 Prob > F = 0.0000 R-squared = 0.8902 Root MSE = 23462 | Robust gdp | .193693 .0179542 10.79 0.000 .1567877 .2305983 _cons | 603.9453 3542.388 0.17 0.866 -6677.538 7885.429 However the standard error of the coefficient of GDP rises from 0.13 to 0.18, indicating that it is underestimated in the original OLS regression. 9

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