Announcement

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

  • Why adding Control variables limit the number of observations

    Dear Statalist members,

    I am running a gravity model regression on aid and green exports, my model is as follows:
    green exports = aid + exporter GDP + Importer GDP + distance + being a member in a trade agreement with environmental trade provisions + importer FE + exporter FE + Countrypair FE.

    The lowest number of observations that I have for any of these variables is 9000 observations.
    I run this model using PPML regression, however, when I run it the results for aid is positive significant as it should be, however the number of observations is severely limited to 42 observations.
    I tried removing the dummy variable on trade agreements because Stata omits it anyway and when I do so, the number of observation increases to 4000, but the results become insignificant.
    I am not entirely sure why is this happening, but it's important for me to include this control variable as it affects green exports.
    Do you have any idea why is this is happening?
    Thank you.

  • #2
    Sounds like there could be some issues with how the dummies were computed. Could be missing the 0 entries?

    Use command help misstable to learn more on how to use misstable summarize or misstabel patterns to find out which of your regression independent variables are the culprits.

    Comment


    • #3
      Thanks for the insight, I can try it out.

      Comment

      Working...
      X