Hello,
I'm running a fixed effect model (after proven by Hausman Test) and I'm not sure if the code is right. I'm using "xi: reg" and ",rob" and I saw in a forum here that "xtreg" and ",fe" should give me the same coefficients but it's not happening.
These are the codes:
xi: reg reconsumption lngdppctogether gdpgrowth govfinalconsumpexpendgdp gdpperunitofenergy trade energyimports energyuse oilprice lnpoptotal popdensity urbanpop accesstoelectricity lnrailways lnairtransport i.country, rob
xtreg reconsumption lngdppctogether gdpgrowth govfinalconsumpexpendgdp gdpperunitofenergy trade energyimports energyuse oilprice lnpoptotal popdensity urbanpop accesstoelectricity lnrailways lnairtransport i.country, fe
I'm sorry if it is a silly question. I'm new at Stata.
Thanks!
0 Response to Panel Data Techniques
Post a Comment