I did OLS test for my panel data ( n= 760 and t=8) and checked heteroskedasticity and autocorrelation as below ( the result show that there is heteroskedasticity and autocorrelation
Code:
White's test for Ho: homoskedasticity against Ha: unrestricted heteroskedasticity chi2(25) = 268.88 Prob > chi2 = 0.0000 Cameron & Trivedi's decomposition of IM-test --------------------------------------------------- Source | chi2 df p ---------------------+----------------------------- Heteroskedasticity | 268.88 25 0.0000 Skewness | 40.02 6 0.0000 Kurtosis | 1.57 1 0.2105 ---------------------+----------------------------- Total | 310.46 32 0.0000 . xtserial lexport lgdp lpgdp llpitotal ldistance dummyrta dummyland Wooldridge test for autocorrelation in panel data H0: no first-order autocorrelation F( 1, 94) = 110.533 Prob > F = 0.0000
Thank you
0 Response to How to fix heteroskedasticity and autocorrelation on OLS
Post a Comment