I have a panel-data and I use ‘asreg’ or ‘rangestat’ to estimate a regression for each country separately. Instead of using the ordinary covariance method, I want to estimate OLS regressions with Newey–West standard errors robust to heteroskedasticity.
For a single time series, the command below is used to estimate it in Stata.
newey y x1 x2, lag(0)
How can I apply this approach in ‘asreg’ or ‘rangestat’? or do you know any other method to estimate this regression for a large number of countries separately?
Thanks.
0 Response to regressions with Newey–West standard errors for a list of countries
Post a Comment