Christopher Dougherty EC220 - Introduction to econometrics (chapter 7) Slideshow: White test for heteroscedasticity Original citation: Dougherty, C. (2012)

Slides:



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

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)
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 (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:
EC220 - Introduction to econometrics (chapter 2)
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.
EC220 - Introduction to econometrics (chapter 6)
EC220 - Introduction to econometrics (chapter 3)
EC220 - Introduction to econometrics (chapter 4)
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.
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: expected value of a random variable Original citation: Dougherty,
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: population variance of a discreet random variable Original citation:
EC220 - Introduction to econometrics (chapter 5)
CHOW TEST AND DUMMY VARIABLE GROUP TEST
EC220 - Introduction to econometrics (chapter 5)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 1) Slideshow: exercise 1.7 Original citation: Dougherty, C. (2012) EC220 - Introduction.
EC220 - Introduction to econometrics (chapter 10)
EC220 - Introduction to econometrics (chapter 4)
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 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.
EC220 - Introduction to econometrics (chapter 7)
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)
TESTING A HYPOTHESIS RELATING TO A REGRESSION COEFFICIENT This sequence describes the testing of a hypotheses relating to regression coefficients. It is.
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 5) Slideshow: Chow test Original citation: Dougherty, C. (2012) EC220 - Introduction.
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.
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:
DUMMY CLASSIFICATION WITH MORE THAN TWO CATEGORIES This sequence explains how to extend the dummy variable technique to handle a qualitative explanatory.
Confidence intervals were treated at length in the Review chapter and their application to regression analysis presents no problems. We will not repeat.
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.
. reg LGEARN S WEIGHT85 Source | SS df MS Number of obs = F( 2, 537) = Model |
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.
GRAPHING A RELATIONSHIP IN A MULTIPLE REGRESSION MODEL The output above shows the result of regressing EARNINGS, hourly earnings in dollars, on S, years.
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.
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,
Introduction to Econometrics, 5th edition
Presentation transcript:

Christopher Dougherty EC220 - Introduction to econometrics (chapter 7) Slideshow: White test for heteroscedasticity Original citation: Dougherty, C. (2012) EC220 - Introduction to econometrics (chapter 7). [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

WHITE TEST FOR HETEROSCEDASTICITY 1 The White test for heteroscedasticity looks for evidence of an association between the variance of the disturbance term and the regressors without assuming any specific relationship.. reg MANU GDP Source | SS df MS Number of obs = F( 1, 26) = Model | e e+11 Prob > F = Residual | e R-squared = Adj R-squared = Total | e e+09 Root MSE = MANU | Coef. Std. Err. t P>|t| [95% Conf. Interval] GDP | _cons |

WHITE TEST FOR HETEROSCEDASTICITY 2 Since the variance of the disturbance term in observation i is unobservable, the squared residual for that observation is used as a proxy.. reg MANU GDP Source | SS df MS Number of obs = F( 1, 26) = Model | e e+11 Prob > F = Residual | e R-squared = Adj R-squared = Total | e e+09 Root MSE = MANU | Coef. Std. Err. t P>|t| [95% Conf. Interval] GDP | _cons |

WHITE TEST FOR HETEROSCEDASTICITY 3 We will perform the test using the manufacturing and GDP data used to illustrate the Goldfeld–Quandt test. We have regressed MANU on GDP and have saved the residuals as EMANU. We define EMANUSQ to be the squared residual.. reg MANU GDP Source | SS df MS Number of obs = F( 1, 26) = Model | e e+11 Prob > F = Residual | e R-squared = Adj R-squared = Total | e e+09 Root MSE = MANU | Coef. Std. Err. t P>|t| [95% Conf. Interval] GDP | _cons | predict EMANU, resid. gen EMANUSQ = EMANU*EMANU

WHITE TEST FOR HETEROSCEDASTICITY 4 The test consists of regressing the squared residuals on the explanatory variables in the model, their squares, and their cross-products, omitting any duplicative variables. (For example, the square of a dummy variable would be duplicative.). gen GDPSQ = GDP*GDP. reg EMANUSQ GDP GDPSQ Source | SS df MS Number of obs = F( 2, 25) = 3.35 Model | e e+18 Prob > F = Residual | e e+18 R-squared = Adj R-squared = Total | e e+18 Root MSE = 1.4e EMANUSQ | Coef. Std. Err. t P>|t| [95% Conf. Interval] GDP | GDPSQ | _cons | -4.21e e e e Test regression: regress squared residuals on the explanatory variables in the model, their squares, and their cross-products, omitting any duplicative variables.

WHITE TEST FOR HETEROSCEDASTICITY 5 In the present case we regress EMANUSQ on GDP and its square (and a constant).. gen GDPSQ = GDP*GDP. reg EMANUSQ GDP GDPSQ Source | SS df MS Number of obs = F( 2, 25) = 3.35 Model | e e+18 Prob > F = Residual | e e+18 R-squared = Adj R-squared = Total | e e+18 Root MSE = 1.4e EMANUSQ | Coef. Std. Err. t P>|t| [95% Conf. Interval] GDP | GDPSQ | _cons | -4.21e e e e Test regression: regress squared residuals on the explanatory variables in the model, their squares, and their cross-products, omitting any duplicative variables.

WHITE TEST FOR HETEROSCEDASTICITY 6. gen GDPSQ = GDP*GDP. reg EMANUSQ GDP GDPSQ Source | SS df MS Number of obs = F( 2, 25) = 3.35 Model | e e+18 Prob > F = Residual | e e+18 R-squared = Adj R-squared = Total | e e+18 Root MSE = 1.4e EMANUSQ | Coef. Std. Err. t P>|t| [95% Conf. Interval] GDP | GDPSQ | _cons | -4.21e e e e The test statistic is nR 2, using R 2 from this regression. Under the null hypothesis of no association, it is distributed as a chi-squared statistic with degrees of freedom equal to the number of regressors, including the constant, minus one, in large samples. Test statistic: nR 2, using R 2 from this regression. Under H 0, chi-squared statistic with degrees of freedom equal to the number of regressors, including the constant, minus one, in large samples.

WHITE TEST FOR HETEROSCEDASTICITY 7 R 2 is and n is 28. The test statistic is therefore The critical value of chi-squared with two degrees of freedom is 5.99 at the 5 percent level and so the null hypothesis of homoscedasticity is not rejected.. gen GDPSQ = GDP*GDP. reg EMANUSQ GDP GDPSQ Source | SS df MS Number of obs = F( 2, 25) = 3.35 Model | e e+18 Prob > F = Residual | e e+18 R-squared = Adj R-squared = Total | e e+18 Root MSE = 1.4e EMANUSQ | Coef. Std. Err. t P>|t| [95% Conf. Interval] GDP | GDPSQ | _cons | -4.21e e e e

WHITE TEST FOR HETEROSCEDASTICITY 8 Why has the White test failed to detect heteroscedasticity when the Goldfeld–Quandt test concluded that it was present at a high level of significance? One reason is that it is a large-sample test, and the sample is actually quite small.. gen GDPSQ = GDP*GDP. reg EMANUSQ GDP GDPSQ Source | SS df MS Number of obs = F( 2, 25) = 3.35 Model | e e+18 Prob > F = Residual | e e+18 R-squared = Adj R-squared = Total | e e+18 Root MSE = 1.4e EMANUSQ | Coef. Std. Err. t P>|t| [95% Conf. Interval] GDP | GDPSQ | _cons | -4.21e e e e

WHITE TEST FOR HETEROSCEDASTICITY 9 A second is that the White test tends to have low power — a price that one has to pay for its generality. These problems can be exacerbated by a loss of degrees of freedom if there are many explanatory variables in the original model.. gen GDPSQ = GDP*GDP. reg EMANUSQ GDP GDPSQ Source | SS df MS Number of obs = F( 2, 25) = 3.35 Model | e e+18 Prob > F = Residual | e e+18 R-squared = Adj R-squared = Total | e e+18 Root MSE = 1.4e EMANUSQ | Coef. Std. Err. t P>|t| [95% Conf. Interval] GDP | GDPSQ | _cons | -4.21e e e e

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