Hello I am planning to run a fixed effect model in stata. However I would like to discuss here 1) whether my method is the right way to go and 2) why all my dummy variables are ommited.
My variables are: firmcode year dependentvariables independentvariables industry (50industries in total, each of them I give a specific value (eg. if telecommunication then industry = 1, 0 otherwise, hoping to find how industries are having an effect on dependent variable)
My code:
xtset firmcode year
xtreg dependentvariable idependent variables i.year i.industry, fe vce(robust)
My intention for i.year is to control for any serial correlation that may occur in my panel data ; my intention for i.industry is to control for industry-level effects (for example, firms in specfic industries may have significant effects on my dependent variable). And this is also one variable of interest ; vce(robust) is to adjust for heteroskedasticity.
However after I run the test, all my industry dummies are ommited due to collinearity
note: industry_code1 omitted because of collinearity
note: industry_code2 omitted because of collinearity
note: industry_code3 omitted because of collinearity
note: industry_code4 omitted because of collinearity
note: industry_code5 omitted because of collinearity
note: industry_code6 omitted because of collinearity
note: industry_code7 omitted because of collinearity
I am very comfused why that happened and I cannot analyse the firm-level effects. I wonder if anyone can give me advise on how to resolve that issue.
And I would be quite grateful if anyone can give me advice on how to refine my model overall!
Many thanks in advance!
Related Posts with Help me with fixed effect model please! Many thanks
menbreg - interpretation of coefficientsDear statalist community, I am conducting a multilevel negative binomial regression analysis in sta…
Fixed Effects Poisson or Negative Binomial?Hi, I am trying to choose between a Fixed-Effects Poisson regression model and a Fixed-Effects Nega…
Generating new columns for each unique value of a categorical variableDear All, The issue I am trying to resolve here is as follows- I have a dataset where customers pur…
gender changes in the panel surveyDear Statalist Community, due to my thesis I am allowed to work with stata. My dataset comes from a…
Consistent estimatorDear all, Suppose we have a lot of observations. Suppose the following model : y = b*x + e , where …
Subscribe to:
Post Comments (Atom)
0 Response to Help me with fixed effect model please! Many thanks
Post a Comment