Hi,
I am analyzing panel data using Stata 18.
xtreg CO2per FD CP FDI logPat logGDPperCapita logEnergy PopGrowth TradeGDP logIndustry, fe vce(robust)
(CP is dummy variable)
I use command xtset id time to declare before subsequently using any xtreg to run OLS, fe, re but most of the coefficients are not significant.
I then try without xtset and everything becomes so good, both significance and the signs go the way I expected.
Could you please help me explain the possible reasons.
Is it possible to skip xtset and end up with the results without using it?
This is how my panel data looks like
Panel variable: CountryID (strongly balanced)
Time variable: Time, 1998 to 2021
Delta: 1 unit
Thank you so much
I am analyzing panel data using Stata 18.
xtreg CO2per FD CP FDI logPat logGDPperCapita logEnergy PopGrowth TradeGDP logIndustry, fe vce(robust)
(CP is dummy variable)
I use command xtset id time to declare before subsequently using any xtreg to run OLS, fe, re but most of the coefficients are not significant.
I then try without xtset and everything becomes so good, both significance and the signs go the way I expected.
Could you please help me explain the possible reasons.
Is it possible to skip xtset and end up with the results without using it?
This is how my panel data looks like
Panel variable: CountryID (strongly balanced)
Time variable: Time, 1998 to 2021
Delta: 1 unit
Thank you so much
Comment