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
Drop all observations with similar variables, except for the earliest?Dear statalists I have struggled with a problem in STATA 16.0 for a couple of days now, and hope th…
xtreg by groupI have a pooled panel data. The model is Yi,t+j=aj*Xi,t +bi,t (fixed effect) +... To make it simple,…
Spost packageI use STATA 13.1 however I cannot find and isntall the spost packages . When I search for these pack…
Exact Wilcoxon Signed Rank testHello, I hope this is the right place to ask. I am currently using the exact wilcoxon signed rank te…
Latent Class analyses .Hi to everybody.. I run a latent class model using the command "traj" The better model is the model…
Subscribe to:
Post Comments (Atom)
0 Response to regressions with Newey–West standard errors for a list of countries
Post a Comment