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
serial autocorrelation in panel dataHi STATA community I have a panel data for period 2012-2020, with #obs 1988 and #groups 223, I run …
how to calculate the hhi index for a list variables? Code: * Example generated by -dataex-. For more info, type help dataex clear input float(pr1_durati…
Panel data simulationMy study is to compare panel data estimators in the case of common and heterogeneous structural brea…
generate event timeDear All, Suppose that I have daily trading data for many years. (A sample of two-year data is "here…
Coefplot for balance check of treatmentsHi, I am trying to use coefplot command to see the balance of the "regression outcomes" on four tre…
Subscribe to:
Post Comments (Atom)
0 Response to Panel Data Techniques
Post a Comment