Dear all,
Excuse my english, it is not my first language. I have very little knowledge about Stata, but I am trying to conduct a fixed effects model. My dataset includes three variables that is not considered panel data(the include size of a board, percantage of female board member and a dummy regarding age difference of a board), while five other variables include observations for 2020 and 2021.
By reshaping from wide to long format, the observations for my three non-panel variables were "doubled up" - the same value is recorded for 2020 and 2021. I then used -xtset- to define my paneldata. But when I try to use -xtreg var1 var2 ... var(n), fe-, the three non panel variables are omitted. It states the following:
"note: MEMBER omitted because of collinearity
note: AGE_DIV omitted because of collinearity
note: GENDER_DIV omitted because of collinearity"
Is there any solution to this? It was possible to conduct a random effects model, but the fixed effects model
Thank you in advance!
Excuse my english, it is not my first language. I have very little knowledge about Stata, but I am trying to conduct a fixed effects model. My dataset includes three variables that is not considered panel data(the include size of a board, percantage of female board member and a dummy regarding age difference of a board), while five other variables include observations for 2020 and 2021.
By reshaping from wide to long format, the observations for my three non-panel variables were "doubled up" - the same value is recorded for 2020 and 2021. I then used -xtset- to define my paneldata. But when I try to use -xtreg var1 var2 ... var(n), fe-, the three non panel variables are omitted. It states the following:
"note: MEMBER omitted because of collinearity
note: AGE_DIV omitted because of collinearity
note: GENDER_DIV omitted because of collinearity"
Is there any solution to this? It was possible to conduct a random effects model, but the fixed effects model
Thank you in advance!
Comment