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!
Related Posts with Panel Data Techniques
Marginsplot for categorical IV and categorical DV?I am trying to figure out how to visually show marginal effects of categorical IVs on categorical DV…
c.ingroup##c.inyear vs i.ingroup##i.inyearDear All, I run a DID regression with the following command (the first one is working, but the secon…
Number of different values of a given variable for every combination of other two variablesI have a hospital record dataset with variables such as hospitalisation id (n_aih), year of hospital…
Question: Need help separating a variableHi Everyone, I have been having trouble separating the following SubjectCourse variable. The below …
modelling stated preferences for discrete choices with case sensitive variablesHi, I'm trying to model a discrete choice (4 options available to each respondent in each scenario …
Subscribe to:
Post Comments (Atom)
0 Response to Panel Data Techniques
Post a Comment