Greetings,
I have an unbalanced panel data with 902 observations from 258 non randomly chosen firms in 9 Industries, 7 years, and 4 countries. I chose to use all observations and i want to include Industry, Year, Country as fixed effect in my regression. I am trying to use xtreg, fe but result in omitted variables for Industry and Country
. xtset ID YEAR, y
Panel variable: ID (unbalanced)
Time variable: YEAR, 2013 to 2019, but with gaps
Delta: 1 year
. xtdescribe
ID: 1, 2, ..., 285 n = 285
YEAR: 2013, 2014, ..., 2019 T = 7
Delta(YEAR) = 1 year
Span(YEAR) = 7 periods
(ID*YEAR uniquely identifies each observation)
Distribution of T_i: min 5% 25% 50% 75% 95% max
1 1 1 3 5 7 7
Freq. Percent Cum. | Pattern
---------------------------+---------
74 25.96 25.96 | ......1
41 14.39 40.35 | .....11
38 13.33 53.68 | .111111
27 9.47 63.16 | ...1111
24 8.42 71.58 | ....111
21 7.37 78.95 | 1111111
15 5.26 84.21 | ..11111
11 3.86 88.07 | .....1.
3 1.05 89.12 | ..11...
31 10.88 100.00 | (other patterns)
---------------------------+---------
285 100.00 | XXXXXXX
I am still learning to use stata, so there are some question that i need to ask regarding the use of stata to my research model:
1. regarding the xtreg, fe, Is there any solution? or i just using the regression with dummy variable: reg depvar indvar1 indvar2 indvar3 indvar4 indvar5 i.Year i.Industry i.Country? Should i check fe and re using hausman test? if the result stated that i should go with re, can i still use the i.Year i.Industry i.Country?
2. If i use a moderating variables for example: reg depvar indvar1 indvar2 indvar1*indvar2 indvar3 indvar4 indvar5 i.Year i.Industry i.Country, is there any particular treatment that i need to address?
3. Is there any issues that i need to consider when using the unbalanced panel data? and also how about the nonrandom selection, any additional analysis that is should do?
thanks in advance
I have an unbalanced panel data with 902 observations from 258 non randomly chosen firms in 9 Industries, 7 years, and 4 countries. I chose to use all observations and i want to include Industry, Year, Country as fixed effect in my regression. I am trying to use xtreg, fe but result in omitted variables for Industry and Country
. xtset ID YEAR, y
Panel variable: ID (unbalanced)
Time variable: YEAR, 2013 to 2019, but with gaps
Delta: 1 year
. xtdescribe
ID: 1, 2, ..., 285 n = 285
YEAR: 2013, 2014, ..., 2019 T = 7
Delta(YEAR) = 1 year
Span(YEAR) = 7 periods
(ID*YEAR uniquely identifies each observation)
Distribution of T_i: min 5% 25% 50% 75% 95% max
1 1 1 3 5 7 7
Freq. Percent Cum. | Pattern
---------------------------+---------
74 25.96 25.96 | ......1
41 14.39 40.35 | .....11
38 13.33 53.68 | .111111
27 9.47 63.16 | ...1111
24 8.42 71.58 | ....111
21 7.37 78.95 | 1111111
15 5.26 84.21 | ..11111
11 3.86 88.07 | .....1.
3 1.05 89.12 | ..11...
31 10.88 100.00 | (other patterns)
---------------------------+---------
285 100.00 | XXXXXXX
I am still learning to use stata, so there are some question that i need to ask regarding the use of stata to my research model:
1. regarding the xtreg, fe, Is there any solution? or i just using the regression with dummy variable: reg depvar indvar1 indvar2 indvar3 indvar4 indvar5 i.Year i.Industry i.Country? Should i check fe and re using hausman test? if the result stated that i should go with re, can i still use the i.Year i.Industry i.Country?
2. If i use a moderating variables for example: reg depvar indvar1 indvar2 indvar1*indvar2 indvar3 indvar4 indvar5 i.Year i.Industry i.Country, is there any particular treatment that i need to address?
3. Is there any issues that i need to consider when using the unbalanced panel data? and also how about the nonrandom selection, any additional analysis that is should do?
thanks in advance
Comment