Hello Statalist forum
I have some questions regarding OLS regression (Panel data) with fixed variables
In an OLS regression with industry, country, and year fixed effects, how should one execute a heteroskedasticity test most efficiently?
In Stata, I ran the OLS regression
2) Then, which command do I have to use, is it xttest0 or the hettest command?
2.1) Additionally, should I also execute the White test as well?
3) After discovering that heteroskedasticity is evident, which vce should one use? The vce rob or vce (cluster firmid) regarding investigating the relationship between X and Y across firms across (over the) years, and not within firms?
4) Does OLS regression with fixed effect variables like reg Y X + control variables + i-industry, i.country i.year control , vce (either rob or cluster firm id) control for time-invariant factors? If so, how and why?
5) I am considering executing the Wooldridge Serial Correlation Test in my OLS? Is it an appropriate tool to use for OLS regression, or is it uncommon?
Thank you in advance. Your inputs will be very helpful
Best
Martin

I have some questions regarding OLS regression (Panel data) with fixed variables
In an OLS regression with industry, country, and year fixed effects, how should one execute a heteroskedasticity test most efficiently?
In Stata, I ran the OLS regression
2) Then, which command do I have to use, is it xttest0 or the hettest command?
2.1) Additionally, should I also execute the White test as well?
3) After discovering that heteroskedasticity is evident, which vce should one use? The vce rob or vce (cluster firmid) regarding investigating the relationship between X and Y across firms across (over the) years, and not within firms?
4) Does OLS regression with fixed effect variables like reg Y X + control variables + i-industry, i.country i.year control , vce (either rob or cluster firm id) control for time-invariant factors? If so, how and why?
5) I am considering executing the Wooldridge Serial Correlation Test in my OLS? Is it an appropriate tool to use for OLS regression, or is it uncommon?
Thank you in advance. Your inputs will be very helpful
Best
Martin
Comment