Hello, I am completely new to Stata and would need some help on how to use the ppmlhdfe command.
I want to use ppmlhdfe to estimate a gravity equation. I have paneldata and want to use fixed effects to capture time-specific and country-specific fixed effects. From what I can understand, I need to absorb the variables I want as fixed effects in my model, however, I am very unsure on how to do that. Is there any guide on how to use ppmlhdfe?
When I use the command: ppmlhdfe Export ln_BNP_o ln_BNP_d FTA, absorb(i.country_of_destination1#c.year)
I get accurate results but I am unsure if both the time and country-specific effects are absorbed since one of the guides I've read says that it only absorbs individual slopes.
I would be super grateful if anyone could even help me a little bit.
Kind regards, Moa Rittemar
I want to use ppmlhdfe to estimate a gravity equation. I have paneldata and want to use fixed effects to capture time-specific and country-specific fixed effects. From what I can understand, I need to absorb the variables I want as fixed effects in my model, however, I am very unsure on how to do that. Is there any guide on how to use ppmlhdfe?
When I use the command: ppmlhdfe Export ln_BNP_o ln_BNP_d FTA, absorb(i.country_of_destination1#c.year)
I get accurate results but I am unsure if both the time and country-specific effects are absorbed since one of the guides I've read says that it only absorbs individual slopes.
I would be super grateful if anyone could even help me a little bit.
Kind regards, Moa Rittemar
Comment