Announcement

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

  • Separate do files for different countries?

    Im doing regression analysis with two countries. The dataset is originally stored in one file, so I could do the regressions for the two countries in the same do-file. However, I find it easier to work with when I make two separate do-files, one for each of the two countries, rather than using both countries in the same do-file. Is there any downsiden to making two separate do-files for the two countries?

  • #2
    The main disadvantages I can think of are going to be:
    1) duplicating code across do-files (though you could also have duplicate code in the same do-file) and this would results in error-prone updating/correction if you decide you need to update that code later on.
    2) If you need to pull in results from multiple regressions for some reason (such as creating tables or doing something like a seemingly unrelated regression), this makes it more difficult.

    Comment

    Working...
    X