Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • ppmlhdfe Gravity Fixed Effects

    Dear Statalist members,
    I am a new member of this forum, I have a question and I hope if I can have an answer.
    I have a gravity dataset to evaluate the effectiveness of RTAs.

    because I have the bilateral trade so there is reporters and partners situation, the model should be estimated by country pair fixed effects and country time fixed effects

    Code:
     egen id=group(reportercode partnercode)
    ppmlhdfe Trade LGDP  LDis RTA ,a(i.id##c.year)
    I have checked the help file for ppmlhdfe command and I am still not sure if this code will run the regression with country pair fixed effects and country time fixed effects
    Dear Prof Joao Santos Silva , I would appreciate if you can give me your feedback on this.

    Regards,

    Lama

  • #2
    Dear Lama Basem,

    I am afraid I am not that familiar with the factor notation, but I am sure others will be able to help.

    Best wishes,

    Joao

    Comment

    Working...
    X