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
Interpreting psgraph ftaer psmatch2I am employing propensity score matching using community-contributed psmatch2 command. To check for …
Saving file name as local valueDear Stata Professionals I am currently suffering from saving file name as local value The code I …
besoin d'aide pour l'interprétation de résultats issus d'une régression logit binaire.Bonjour à tous. J'ai besoin d'une aide quant à l'interprétation de mes résultats issus d'une régress…
Identify All Values in One Variable that Satisfies a ConditionHi Statalist members, I encounter a difficulty in identifying values in one variable that satisfies…
How do I replace a certain value across a dataset that has string as well as numeric variables?Hi everyone, I'm working with a dataset that has hundreds of variables, numeric as well as strings.…
Subscribe to:
Post Comments (Atom)
0 Response to GLS Fixed Effects regression, Omitted because of Collinearity
Post a Comment