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
multilevel modelling - syntaxHello, How are the two following lines of code different in the way they treat the cluster variable…
Foreach recodeHello. Sorry, if my question seems stupid to you, im fairly new to stata and cant seem to figure out…
Quantile Regression Plot ErrorHi I ran the following code : Code: xi: qreg price i.treatment i.state i.year [pw=round(weight)]…
Moving Average Industy YearDear All, I am using stata 15 under windows 10 At the moment I am working with a panel dataset (wi…
graph estimated coefficients after oaxaca_rif commandDear all, I use oaxaca_rif user written command by Rios-Avila (Rios-Avila, F. 2020. Recentered infl…
Subscribe to:
Post Comments (Atom)
0 Response to Different coefficients with XTREG and REGHDFE
Post a Comment