FGLS Question
Posted: Tue Jun 30, 2015 6:40 pm
My textbook has a question I've been trying to crack for days. I can't match the books output results for using FGLS to quasi-difference as a correction for serial correlation in the errors. The regressors are assumed to be strictly exogenous.
I have at least reproduced the book's OLS output:
dependent variable: log(chnimp)
c=-17.80
log(chempi)=3.12
log(gas)=0.20
log(rtwex)=0.98
befile6=0.06
affile6=-0.03
afdec6=-0.57
R-squared = .305
From here I saved the residuals, then used them for the auxiliary regression of errors on the lag of errors. From here I saved the fitted values as an estimate of ro (autocorrelation). My FGLS weight in Eviews is: (1-(ro_hat^2))^.5
However my FGLS results are basically the same as OLS, the books PW results are markedly different:
dependent variable: log(chnimp)
c=-37.08
log(chempi)=2.94
log(gas)=1.05
log(rtwex)=1.13
befile6=-.02
affile6=-.03
afdec6=-.58
R-squared= .202
I attached the workfile, if anyone manages to match the book or catch a mistake.
I have at least reproduced the book's OLS output:
dependent variable: log(chnimp)
c=-17.80
log(chempi)=3.12
log(gas)=0.20
log(rtwex)=0.98
befile6=0.06
affile6=-0.03
afdec6=-0.57
R-squared = .305
From here I saved the residuals, then used them for the auxiliary regression of errors on the lag of errors. From here I saved the fitted values as an estimate of ro (autocorrelation). My FGLS weight in Eviews is: (1-(ro_hat^2))^.5
However my FGLS results are basically the same as OLS, the books PW results are markedly different:
dependent variable: log(chnimp)
c=-37.08
log(chempi)=2.94
log(gas)=1.05
log(rtwex)=1.13
befile6=-.02
affile6=-.03
afdec6=-.58
R-squared= .202
I attached the workfile, if anyone manages to match the book or catch a mistake.