RATS Newey West standard error adjustment
Posted: Fri Dec 18, 2015 8:49 pm
Hi all,
I have used the following simple regression with NW robust errors:
Linreg(robust, lags=1,lwindow=newey) y
# constant $
x{ 1} $
dummy1{ 0} $
dummy2{ 0}
where dummy1 and dummy2 are time series dummies. It is 1 for a particular period and 0 for others.
I can estimate the model with the robust NW standard errors presented without any problem using RATS.
However, when I use SAS to reproduce this simple model, SAS program result shows some funny standard error numbers and indicates that the t-test and p-values for all parameters are all biased (and can't be estimated). I have checked the SAS program setting, and it is correct. The interesting thing is that, if I remove the two dummies, the SAS program can estimate the NW errors, but not with two dummies included in the model.
This is a bit odd to me. I was wondering who knows where the problem is. Is my RATS program a problem, and the estimated NW errors using RATS are biased, but I was not warned, or something else?
Thank you very much for your feedback
I have used the following simple regression with NW robust errors:
Linreg(robust, lags=1,lwindow=newey) y
# constant $
x{ 1} $
dummy1{ 0} $
dummy2{ 0}
where dummy1 and dummy2 are time series dummies. It is 1 for a particular period and 0 for others.
I can estimate the model with the robust NW standard errors presented without any problem using RATS.
However, when I use SAS to reproduce this simple model, SAS program result shows some funny standard error numbers and indicates that the t-test and p-values for all parameters are all biased (and can't be estimated). I have checked the SAS program setting, and it is correct. The interesting thing is that, if I remove the two dummies, the SAS program can estimate the NW errors, but not with two dummies included in the model.
This is a bit odd to me. I was wondering who knows where the problem is. Is my RATS program a problem, and the estimated NW errors using RATS are biased, but I was not warned, or something else?
Thank you very much for your feedback