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
Three way interaction or multilevelHey everyone! I was just wondering if any of you have any advice to give regarding the advantage of…
Create new variable in panel data setDear all, I am working with a panel data set, and would like to create a new variable which measure…
Lag selection in Granger CausalityI am doing Granger Causality test and I want to know about the lag selection. I am using 'forvalues'…
Test for subpopulation vs total populationHi Statalist, Currently i'am working on my master thesis that contains the topic the 'idiosyncratic…
Diff in diff with IV for treatment dummyHi all, For my data analysis, I am estimating a difference-in-difference model of the sort Code: …
Subscribe to:
Post Comments (Atom)
0 Response to regressions with Newey–West standard errors for a list of countries
Post a Comment