Hello!
I have a unbalanced panel data with 123 cross sections and 247,904 observations . The observations are daily.
After running a Hausman test, I found that a FE is better to used than RE. Next I tested for heteroskedasticity with the Modifiel Wald test and the result indicates that i have to reject H0. So I have heteroskedasticity.
Modified Wald test for groupwise heteroskedasticity
in fixed effect regression model
H0: sigma(i)^2 = sigma^2 for all i
chi2 (123) = 2.3e+10
Prob>chi2 = 0.0000
After I tested autocorrelation with the Wooldridge test. The result indicates that i can not reject H0. So I don't have autocorrelation.
H0: no first-order autocorrelation
F( 1, 122) = 3.294
Prob > F = 0.0720
So, I want to know if I can correct the heteroskedasticity with the command xtgls?
The other question is if I use the xtgls I have to use igls too?
In other words I have to use the command 1 or 2 above:
1- xtgls dep indep, igls panels (heteroskedastic) force
2- xtgls dep indep, panels (heteroskedastic) force
Sorry my bad English.
Thanks a lot for the help!!!
I have a unbalanced panel data with 123 cross sections and 247,904 observations . The observations are daily.
After running a Hausman test, I found that a FE is better to used than RE. Next I tested for heteroskedasticity with the Modifiel Wald test and the result indicates that i have to reject H0. So I have heteroskedasticity.
Modified Wald test for groupwise heteroskedasticity
in fixed effect regression model
H0: sigma(i)^2 = sigma^2 for all i
chi2 (123) = 2.3e+10
Prob>chi2 = 0.0000
After I tested autocorrelation with the Wooldridge test. The result indicates that i can not reject H0. So I don't have autocorrelation.
H0: no first-order autocorrelation
F( 1, 122) = 3.294
Prob > F = 0.0720
So, I want to know if I can correct the heteroskedasticity with the command xtgls?
The other question is if I use the xtgls I have to use igls too?
In other words I have to use the command 1 or 2 above:
1- xtgls dep indep, igls panels (heteroskedastic) force
2- xtgls dep indep, panels (heteroskedastic) force
Sorry my bad English.
Thanks a lot for the help!!!
Comment