I am trying to figure out how Eviews calculate the weighted least squares standard errors, and I found out that, by using the residuals from the Actual,Fitted,Residuals Table, the sqrt of the diagonal of the resulting variance-covariance matrix is off by a constant compared to the reported standard errors in the equation window. I compare the results with the ones given by a weighted lm in R and if the regression command is as follows:
Code: Select all
output <- lm(function=y~x1+x2+x3, weights=weight)
1)
Code: Select all
> output$residuals
Code: Select all
> summary(output)$residuals
Tchaithonov
