380 likes | 810 Views
EC 532 Advanced Econometrics Lecture 1 : Heteroscedasticity Prof. Burak Saltoglu. Outline. What is Heteroscedasticty Graphical Illustration of Heteroscedasticity Reasons for Heteroscedastic errors Consequneces of Heteroscedasticity Generalized Least Squares GLS in Matrix Notation
E N D
EC 532Advanced EconometricsLecture 1: HeteroscedasticityProf. Burak Saltoglu
Outline • What is Heteroscedasticty • Graphical Illustration of Heteroscedasticity • Reasons for Heteroscedastic errors • Consequneces of Heteroscedasticity • Generalized Least Squares • GLS in Matrix Notation • Testing Heteroscedasticity • Remedies
Consequneces of Heteroscedasticity • As we know under heteroscedastic error terms,
What is Heteroscedasticty • Or more specifically for time series; means that the variance of disturbances do not change over time.
What is Heteroscedasticty • The violation of this assumption is called as heteroscedasticity. • In the case that the variances of all disturbances are not same, we say that the heteroscedasticity exists. • Then
Graphical Illustration of Heteroscedasticity Density Y X
Some Reasons to Heteroscedasticity • The Error-Learning Models • Improvement of data collecting (As data collecting techniques improve variances tend to reduce) • Presence of outliers • Misspecification of model • Volatility clustering and news effect
The Consequneces of Heteroscedasticity for OLS • At the presence of heteroscedasticity; • OLS estimators are still linear and unbiased estimators, but they are no longer the best. (BLUE) • The standarderrors computed for the OLS are incorrect, then inference might be misleading.
Heteroscedasticity effect of income to household is it safe to assume that variability of consumption is stable for all income levels? suppose, variability of consumption increases with income in a relation such that
Consequences of Heteroscedasticity Properties of OLS Estimators: Assume an regression (1)Unbiasedness still holds since
Consequences of Heteroscedasticity OLS standard errors, which would be derived from σ2(X’X)-1 are incorrect since
Generalized Least Squares • As we discussed the variance of observations might be different. But the OLS does not take into account the possibility of different variances. • The method of GLS is OLS on the transformed variables that satisfies the assumptions. • In GLS we assume the variance of each observation is known, and we divide all observations by their variances.
Generalized Least Squares • Then; where is equal to 1 for each i.
Generalized Least Squares • So the variance is; Now the residual is homoscedastic
An Example • Let us assume that we have a model as; and we know there is a relation for error terms as;
An Example • Now, for this case we can define the transformed form as;
An Example • The variance;
An Example • Let assume we have the following model; and, Then,
GLS in Matrix Notation • If W is a symmetric and positive semi-definite; then there exists a non-singular matrix Psuch that; If we set;
GLS in Matrix Notation • When we faced with heteroscedasticity if we can find an nxn nonsingular transformation matrix T such that; then we multiply everything by T,
Detecting Heteroscedasticity • Goldfeld-Quandt Test This method applicable where one assumes the heteroscedastic variance is positively related one of variables. As in our previous example;
Detecting Heteroscedasticity • Goldfeld-Quandt test proceed following steps; • Step1: Order the observations (lowest to highest) • Step2: Omit c central observations • Step3: Fit separate OLS regressions • Step4: Compute; k is the number of estimated parameters including the intercept where,
Detecting Heteroscedasticity follows an F-distribution and the null hypothesis of the test is that the residual is homoscedastic. Therefore if the is greater than the critical F value at the chosen significance level, we can reject the null and say the residual is heteroscedastic
Detecting Heteroscedasticity 2. Breusch-Pagan-Godfrey(BPG) BPG assumes that the error variance described as; where Z’s are some functions of non-stochastic variables. BPG is highly sensitive to normality assumption of residual term.
Detecting Heteroscedasticity • The BPG proceeds as follows; • Step1:Run OLS and obtain residuals • Step2:Obtain • Step3: Generate series of p’s as; • Step5: Regress • Step4: Obtain ESS from previous step and calculate;
Detecting Heteroscedasticity • The null hypothesis that the residual is homoscedastic. • Therefore if our test statistic exceeds the critical value at the chosen significance level, we can reject the null hypothesis and we have sufficient evidence to say there is heteroscedasticity
Detecting Heteroscedasticity 3. White Test White test has no assumptions and easy to apply. Therefore it is commonly used test for the heteroscedasticity.
Detecting Heteroscedasticity • White test proceed following steps; • Step1:Obtain residuals • Step2:Run auxiliary regression and obtain R-squared • Step3:Test the following; In the large samples
Detecting Heteroscedasticity • The null hypothesis again claims that there is no heteroscedasticity • Therefore if our test statistic exceeds the critical value at the chosen significance level, we can reject the null and have sufficient evidence to say there is heteroscedasticity
How to Deal with Heteroscedasticity • WLS (Weighted Least Squares) • White’s Heteroscedasticity consistent variances and standard errors • Plausible assumption about heteroscedasticity pattern • Error variance is proportional to • Error variance is proportional to • Error variance is proportional to • Log transformation
END End of lecture