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.
Related Posts with regressions with Newey–West standard errors for a list of countries
Number of observations must be greater than number of instruments and under- and weak identification testDear all, I am trying to estimate a dynamic panel data on gdp growth rates with large T, by far gre…
Explanation by one variable of variance of the whole modelDear Stata-Community, I have an urgent question and I hope you can help me! One of our Reviewers a…
Estimating an instrumental variable model - endogenous variable is binary and DVs are continuousHi all. I have a cross-sectional dataset with information on the presence or absence of a Brazilian …
_"burgiodata.csv invalid name: looping over files in a folder in stataI am trying to loop over mutiple csv files in stata but it keeps returning the _"filename.csv invali…
DCC GarchI'm trying to investigate common patterns in conditional volatility for 28 sectoral series with 249 …
Subscribe to:
Post Comments (Atom)
0 Response to regressions with Newey–West standard errors for a list of countries
Post a Comment