Hello Stata community!
Well, my OLS panel data suffer from Heteroscedasticity and autocorrelation. To the best of my knowledge ( I might be wrong), to correct only for Heteroscedasticity we can add the vce(robust) command. My question is how to correct for both Heteroscedasticity and autocorrelation using OLS (regress) and fixed/random effect (xtreg).
Well, my OLS panel data suffer from Heteroscedasticity and autocorrelation. To the best of my knowledge ( I might be wrong), to correct only for Heteroscedasticity we can add the vce(robust) command. My question is how to correct for both Heteroscedasticity and autocorrelation using OLS (regress) and fixed/random effect (xtreg).
Comment