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
Fixed Effect Regression - Firm Level and Industry Level effectsHello, I am working with panel data for US-listed manufacturing firms for the period 2000-2019. I h…
Predicting counterfactual for binary outcome in panel data and potential issues using xtlogitDear Statalisters, It is my first time posting here, and I don’t have an Econ background! For conte…
Matching variable values across rowsDear Statalisters I have a dataset looking like the following table Var1 Var2 Var3 1 3 1 2 5…
Can I extract few letters from a string variable based on a conditional is another string variable?Dear Statalists, First of all, I would like to apologize for not being able to use dataex to enclos…
What does i.yr in STATA really mean?I saw a code that ```areg dep_var pt i.yr, a(TYPE2)``` while TYPE2 is firm identification and yr i…
Subscribe to:
Post Comments (Atom)
0 Response to GLS Fixed Effects regression, Omitted because of Collinearity
Post a Comment