Hello,
I am working with panel data containing 22 years and more than 160 countries. I want to run regressions using fixed effects for time periods and regions. Here I use regions instead of countries and break down the 22-time frame into two periods each of them having 11 years.
I want to control for unobservables by using FE. I have tried several regressions, but I am finding difficulty in telling the difference between the following two commands because they give me totally different results. The first one gives me insignificant variables, while the second gives me some significant variables, which leaves me to question which one I should take and why?
asdoc xtreg lnvdem lnreal lngini lnedu lnunemp if period == 1, fe replace
asdoc xtreg lnvdem lnreal lngini lnedu lnunemp i.period, fe replace
Period = 1 if the time period of the second, i.e. from 2007 to 2017 and 0 otherwise.
Many thanks!
I am working with panel data containing 22 years and more than 160 countries. I want to run regressions using fixed effects for time periods and regions. Here I use regions instead of countries and break down the 22-time frame into two periods each of them having 11 years.
I want to control for unobservables by using FE. I have tried several regressions, but I am finding difficulty in telling the difference between the following two commands because they give me totally different results. The first one gives me insignificant variables, while the second gives me some significant variables, which leaves me to question which one I should take and why?
asdoc xtreg lnvdem lnreal lngini lnedu lnunemp if period == 1, fe replace
asdoc xtreg lnvdem lnreal lngini lnedu lnunemp i.period, fe replace
Period = 1 if the time period of the second, i.e. from 2007 to 2017 and 0 otherwise.
Many thanks!
Comment