Dear all.
My name is Carlos and I am working in a gravity model with 133 countries in a time period of 14 years. I am writing you after reading many statalist post to find an answer to my question but I could not find it. The question is about why I got different results with XTREG and REGHDFE estimation. I have tried what some people recommended in the statalist forums but results are still differents.
My intention is to apply Time invariant fixed effects to my estimation. I typed it and I got the following results:
xtreg log_x log_distw log_gdp_o log_gdp_d log_gdpcap_o log_gdpcap_d contig colony comlang_ethno sibling fta_wto log_exchange_rate_o log_exchange_rate_d _Iexp_TIFE* _Iimp_TIFE*
Array
reghdfe log_x log_distw log_gdp_o log_gdp_d log_gdpcap_o log_gdpcap_d contig colony comlang_ethno sibling fta_wto log_exchange_rate_o log_exchange_rate_d, absorb(exp_TIFE imp_TIFE)
Array
I want to know what I am not doing correctly in order to get the same results. Specially because after that estimation I want to estimate it with Time variant fixed effects and Country pair fixed effects and I will need REGHDFE.
I will really appreciate your help.
Kind regards.
Carlos A.
Related Posts with Different coefficients with XTREG and REGHDFE
Regress dummy variable correctlyHello, I have generated a dummy variable "cellar" with has 3 answers: 1 large basement, 2 small bas…
merge on most recent fiscal year endHi Statalist, I am trying to merge an annual dataset with a quarterly dataset based on most recent …
Manipulate x-axis in twoway graph with dates Hi Stata users, I want to make a twoway bar graph that plots a number (on the y axis) against a dat…
Dropping missing observations under several conditionsHej Statalist, I have a problem with dropping some observations. I analyse a trade data set and hav…
Unit root test for unbalanced panelsHi! I am using data from the British Household Panel Survey which is an unbalanced panel. I am prim…
Subscribe to:
Post Comments (Atom)
0 Response to Different coefficients with XTREG and REGHDFE
Post a Comment