Hello,
I have unbalanced panel data (74 companies with a total of 800 observations over 18 years).
I am trying to do the following regression (OLS with standard errors adjusted for heteroskedasticity and firm-level clustering):
MBE = MBEt-1 + Year dummy + Industry Dummy
I have read many posts about this type of regression but I am in doubt if I am doing it correct / which regression I should use and why:
xtset firm year, yearly
regressions:
1) xtreg MBE MBEt-1 i.industry, fe
or:
2) xtreg MBE MBEt-1 i.industry i.year, fe vce(cluster firm)
or:
3) xtreg MBE MBEt-1 i.industry i.year, re vce(cluster firm)
Summed up i kindly ask for answers to the following questions:
a) Is my approach correct?
b) Could you explain to me in the simplest of terms what clustering means and when you should use it?
c) I have performed a Hausmann test which tells me to use 'fe'. However, I am unsure if 're' may be more correct for my model due to my small dataset?
Best,
Niels
Related Posts with xtreg adjusted for heteroskedasticiy and firm-level clustering
Reproducing outputs from finite mixture model user written package in Stata 16Hello, I am working with someone else's code applying a fmm. The below code shows an example f outp…
What is the difference between" i.county|trend " and " i.county##c.trend "?In the process of learning the code, I found this way of writing: "i.county|trend" (county is the co…
predicted values from repeat regression model differentHello, I ran a OLS regression model with 59,000,000 observations and 1000+ plus variables. When I …
drop observationspost should be deleted …
Year fixed effects in panel datai am using panel data from 1990 to 2017 for 43 countries. I have two alternate dependent variables "…
Subscribe to:
Post Comments (Atom)
0 Response to xtreg adjusted for heteroskedasticiy and firm-level clustering
Post a Comment