Announcement

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

  • Predicting potential trade using gravity model coefficients

    Dear all,

    I'm doing a research on Iran's trade flows while sanctions were imposed against Iran and after they were lifted. I ran the PPML regression ( I also ran the OLS regression, but the results I've got from PPML are more significant). Unfortunately I'm not good at programming and do not know how to use these coefficients in the gravity equation on Stata 14.0 to get the potential trade. I've looked for an answer among same questions on Statalist, but got no helpful answers. I would appreciate any responses. Thank you!

  • #2
    Dear Joao Santos Silva, do you have any recommendations for me??? It would be awesome. Best, Homa

    Comment


    • #3
      If you are using the ppml command you can just use predict after it. For example,

      Code:
      predict xbppml, xb
      gen potential_trade = exp(xbpml)
      Joao

      Comment


      • #4
        Dear Joao Santos Silva,

        yes I use the PPML regression. Many thanks for your respond!

        Best wishes,
        Homa

        Comment

        Working...
        X