Dear Stata community,
Hi, I have a panel data (Company ID, years) independent variables(MTB, size, growth, roa, tangibility, covid19: dummy), and dependent variable (leverage).
I tried to rung a command: xtreg leverage MTB size growth roa tangibility covid if year == 2016, fe
However, Stata drops every independent variable due to collinearity even though the only added dummy is covid variable.
So I took covid out and re-run the command but Stata still drops all variables due to the same reason.
So, I ran the command without if: xtreg leverage MTB size growth roa tangibility covid, fe
It perfectly runs fine.
However, I would like to run xtreg command for each year(from 2016 to 2021), is there any possible solution for this?
P.S: I dropped every independent variable by one but it still suffered from collinearity, so I believe it is a matter of year variable.
Any advice is appreciated!
Thanks in advance
Array
Array
Related Posts with GLS Fixed Effects regression, Omitted because of Collinearity
Referencing the stored local variables from a Sum Function not workingHello Statalisters, I am having an issue with using the stored `r(min)' value from a sum command. I …
RE -xtgee- Equivalence with GLM?Hi! I was looking around for a panel version of GLM to run a log-gamma model on. From what I read i…
Issue with stored `r(min)' command from a Sum() commandHello Statalisters, I am having an issue with using the stored `r(min)' value from a sum command. I …
What is wrong my code as posted here?There is two region dummy variables mi (mi takes the value 1 if Michigan and 0 otherwise) and 32 mon…
Can't view or drop notes on variables because of "too few quotes" error?I inherited a data set with notes on the variables. Long story short when I try to see notes attache…
Subscribe to:
Post Comments (Atom)
0 Response to GLS Fixed Effects regression, Omitted because of Collinearity
Post a Comment