Heteroscedasticity test for Weighted Least Square statistics
Posted: Fri May 06, 2011 9:16 am
Using unstructured data in eviews, I have produced a set of weighted statistics and wanted to confirm there's no more heteroscedascity in the weighted least square model. I used the Glesjer test for this purpose.
I obtained the weighted residuals and made it absolute, absuhat=abs(resid) from the weighted least square model and run the regression, ls absuhat c w*x1 w*x2 and got the glesjer test results output. (w=1/sigma or standard deviation. * is multiply).
The problem is how come my output is different from the eviews glesjer test button output ? The glesjer test button output is awresid = c + x1*wgt +x2*wgt (wgt = weight= 1/sigma or std dev, awresid is absolute weigthed residuals).
If I used Breusch-Pagan test and Harvey-Godfrey test, it's still different between my output and the button's output.
Hope to receive the reply urgently. You can email to cheeyoong1@gmail.com.
Sincerely,
Eric
I obtained the weighted residuals and made it absolute, absuhat=abs(resid) from the weighted least square model and run the regression, ls absuhat c w*x1 w*x2 and got the glesjer test results output. (w=1/sigma or standard deviation. * is multiply).
The problem is how come my output is different from the eviews glesjer test button output ? The glesjer test button output is awresid = c + x1*wgt +x2*wgt (wgt = weight= 1/sigma or std dev, awresid is absolute weigthed residuals).
If I used Breusch-Pagan test and Harvey-Godfrey test, it's still different between my output and the button's output.
Hope to receive the reply urgently. You can email to cheeyoong1@gmail.com.
Sincerely,
Eric