Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Heteroskedasticity
Example
Econometrics Regression Analysis with Time Series Data: Serial Correlation and Heteroskedasticity
Joo Valle e Azevedo a
Faculdade de Economia Universidade Nova de Lisboa
Spring Semester
Econometrics
1 / 34
Heteroskedasticity
Example
Econometrics
2 / 34
Heteroskedasticity
Example
However, if yt = 0 + 1 yt1 + ut and ut = ut1 + et , t = 2, ..., n et are i.i.d., || < 1 and E [et |ut1 , ut2 , ...] = E [et |yt1 , yt2 , ...] = 0 Then, Cov (yt1 , ut ) = E [yt1 (ut1 + et )] = E (yt1 , ut1 ) = E [yt1 (yt1 0 1 yt2 )] = 0 unless = 0
Joo Valle e Azevedo (FEUNL) a Econometrics Lisbon, May 2011 3 / 34
Heteroskedasticity
Example
E [yt |yt1 , yt2 , ...] = E [yt |yt1 , yt2 ] = 0 + 1 yt1 + 2 yt2 Thus, the relevant model is an AR(2) model for y. With further conditions on the parameters (that ensure stability) we can estimate the j s consistently
Joo Valle e Azevedo (FEUNL) a Econometrics Lisbon, May 2011 4 / 34
Heteroskedasticity
Example
Econometrics
5 / 34
Heteroskedasticity
Example
With strictly exogenous regressors, E (ut |X) = 0, t = 1, 2, ..., n, the test is straightforward
Obtain the OLS residuals of the original model Then, regress the residuals on (one period) lagged residuals (use OLS) Then, use a typical t-test for H0 : = 0 (dont need intercept) We assume TS.1 through TS.4 hold. If TS.4 fails use a heteroskedasticity robust statistic
Detects correlation between ut and ut1 but not between ut and ut2
Joo Valle e Azevedo (FEUNL) a Econometrics Lisbon, May 2011 6 / 34
Heteroskedasticity
Example
DW =
t=2
(t ut1 )2 / u
t=1
ut 2(1 ) 2
where is that of the previous test If the DW statistic is around 2, then we do not reject H0 (absence of serial correlation of AR(1) type), while if it is signicantly < 2 we reject the null (against the alternative H1 : > 0, the most typical)
Econometrics
7 / 34
Heteroskedasticity
Example
Regress the OLS residuals (or y) on the q lagged residuals and all of the xs (this makes the test valid without assuming strict exogeneity. Dont need to include the xs if strict exogeneity is assumed) Then use a usual test of multiple exclusion restrictions (on the coecients of the lagged residuals)
Joo Valle e Azevedo (FEUNL) a Econometrics Lisbon, May 2011 8 / 34
Heteroskedasticity
Example
Econometrics
9 / 34
Heteroskedasticity
Example
Econometrics
10 / 34
Heteroskedasticity
Example
Heteroskedasticity
Example
GLS Estimation
yt yt1 = (1 )0 + 1 (xt xt1 ) + et for t 2 Can transform equation for t=1, y1 = 0 + 1 x1 + u1 , so that TS.1 through TS.5 hold for t 1 (not yet the case since u1 and et have a dierent variance)
2 Var (ut |X ) = e /(1 2 ), so can multiply equation by (1 2 )1/2 to have TS.1 through TS.5 holding for t 1
(1 2 )1/2 y1 = (1 2 )1/2 0 + (1 2 )1/2 1 x1 + (1 2 )1/2 u1 In this quasi-dierenced model, TS.1 through TS.5 hold!
Econometrics
12 / 34
Heteroskedasticity
Example
Econometrics
13 / 34
Heteroskedasticity
Example
Econometrics
14 / 34
Heteroskedasticity
Example
Feasible GLS
Problem: dont know , need to get an estimate rst
Run OLS on the original model and then regress residuals on lagged residuals (with OLS) Use OLS on the transformed regression (using the estimated ). This is a feasible GLS (FGLS) estimator (or Prais-Winsten estimator) If we just forget the rst equation (t=1) we have the Cochrane-Orcutt estimator (also a FGLS estimator) These FGLS estimators are not unbiased, but are consistent if TS.1 through TS.5 hold in the transformed model (along with stationarity and weak dependence in the original model) There is no dierence, asymptotically, between the two procedures
Econometrics
15 / 34
Heteroskedasticity
Example
Feasible GLS
t and F tests from the transformed equations are valid (asymptotically). If TS.6 holds for the et , relevant distributions also hold only asymptotically. FGLS is asymptotically more ecient than OLS This basic method can be extended to allow for higher order serial correlation, AR(q), in the error term. Econometrics packages deal automatically with estimation of AR serial correlation
Econometrics
16 / 34
Heteroskedasticity
Example
Econometrics
17 / 34
Heteroskedasticity
Example
= Then,
+2
h=1
[1 h/(g + 1)]
t=h+1
t th aa
Heteroskedasticity
Example
Heteroskedasticity
Example
Econometrics
20 / 34
Heteroskedasticity
Example
Heteroskedasticity
Example
Econometrics
22 / 34
Heteroskedasticity
Example
Econometrics
23 / 34
Heteroskedasticity
Example
Also 1 < 1. If this model holds, we have Autoregressive Conditional heteroskedasticity (ARCH) in the errors So, even if the errors are not correlated (TS.5 holds), its squares can be correlated OLS is still BLUE with ARCH errors. Usual OLS inference is valid if TS.6 (Normality) holds Even if Normality does not hold we know that usual OLS inference is valid asymptotically with TS.1 through TS.5 (so can have ARCH errors in this setting as well)
Econometrics
24 / 34
Heteroskedasticity
Example
Econometrics
25 / 34
Heteroskedasticity
Example
Econometrics
26 / 34
Heteroskedasticity
Example
Heteroskedasticity
Example
Dependent variable: Daily Returns Regressors: Day of the week dummies, Tuesday* for Tuesdays from Jan 88 to Apr 89 and three lags of returns F test is for the hypothesis that all Day of the week dummies are equal *, ** and *** denote signicance at the 10%, 5% and 1% respectively
Joo Valle e Azevedo (FEUNL) a Econometrics Lisbon, May 2011 28 / 34
Heteroskedasticity
Example
Dependent variable: Daily Returns Regressors: Day of the week dummies, Tuesday* for Tuesdays from Jan 88 to Apr 89 and three lags of returns F test is for the hypothesis that all Day of the week dummies are equal *, ** and *** denote signicance at the 10%, 5% and 1% respectively
Econometrics
29 / 34
Heteroskedasticity
Example
Econometrics
30 / 34
Heteroskedasticity
Example
Test Equation:
Sample: 3 1004 Included observations: 1002 Variable Coefficient Std. Error t-Statistic Prob.
C
Y(-1) Y(-1)^2 R-squared Adjusted R-squared S.E. of regression Sum squared resid Log likelihood
0.000144
-0.000222 0.299471 0.112508 0.110731 0.000541 0.000292 6117.708
1.82E-05
0.001125 0.026700
7.933013
-0.197479 11.21598
0.0000
0.8435 0.0000 0.000213 0.000573 -12.20501 -12.19031 63.32189
Mean dependent var S.D. dependent var Akaike info criterion Schwarz criterion F-statistic
Durbin-Watson stat 2.075790 Prob(F-statistic) 0.000000 y denotes returns Assume there are no calendar eect but y , y (1), are correlated, yt = 0 + 1 yt1 + ut Find evidence of heteroskedasticity But if we accept that TS.4 holds, the signicant coecient on y (1)2 can be due to ARCH eects
Econometrics
31 / 34
Heteroskedasticity
Example
Sample(adjusted): 4 1004 Included observations: 1001 after adjusting endpoints Variable C RESID^2(-1) R-squared Adjusted R-squared S.E. of regression Sum squared resid Log likelihood Coefficient 0.000145 0.321081 0.103089 0.102191 0.000543 0.000295 6105.819 Std. Error 1.83E-05 0.029964 t-Statistic 7.903650 10.71555 Prob. 0.0000 0.0000 0.000213 0.000573 -12.19544 -12.18564 114.8229
Mean dependent var S.D. dependent var Akaike info criterion Schwarz criterion F-statistic
Durbin-Watson stat
2.064939
Prob(F-statistic)
0.000000
Find evidence of ARCH eects Remember, can have serial correlation in the squared errors even if there is no serial correlation in the errors
Joo Valle e Azevedo (FEUNL) a Econometrics Lisbon, May 2011 32 / 34
Heteroskedasticity
Example
t = t1 + et
where X are independent of et , ht is a function of the regressors Also the process {et } has mean zero, constant variance and is serially uncorrelated
1 x k x u y t = 0 + t1 + ... + tk + t ht ht ht ht ht
Joo Valle e Azevedo (FEUNL) a Econometrics Lisbon, May 2011 33 / 34
Heteroskedasticity
Example
Econometrics
34 / 34