Announcement

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

  • PPML estimation without exporter-year, importer-year fixed effects

    Hello,

    I need some help in dealing with the ppml_panel_sg command to estimate a gravity equation using the PPML method.

    The issue is that my dataset on trade flows is focused on a specific country, say the US. In that sense, I only have a panel of US exports to Germany and France, and of US imports to Germany and France across the years, not on trade flows between France and Germany.

    This of course precludes me from using exporter-year and importer-year fixed effects.

    As an alternative, I ran the following sort of regression by OLS:

    Code:
     reghdfe log_flow ln_tariff , absorb(i j) vce(robust)
            outreg2         ln_tariff  using sigma_ols.xls, append dec(3)
    In which i is the exporter, j is the exporter.

    Is it possible to do something similar using the ppml_panel_sg command? It appears it actually requires these rich fixed effects, so when I run the following:

    Code:
        ppml_panel_sg flow ln_tariff , exporter(i) importer(j) year(year) nopair robust
        outreg2         ln_tariff     using sigma_ppml.xls, append dec(3)
    I get, as expected, the following error

    Code:
    Initializing...
    Checking for possible non-existence issues...
    insufficient observations
    Is there any way to bypass this?

    Thank you







  • #2
    Look at ppmlhdfe from http://scorreia.com/software/ppmlhdfe/ which may allow you to achieve what you want.

    Comment


    • #3
      Andrew Musau thanks a lot, this was helpful!

      Comment

      Working...
      X