Announcement

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

  • A need for post-estimation tool returning sample units (Countries)

    Dear friends,

    I have my estimations and models for time-series cross-sectional data. I have 172 countries in my sample. After running regressions, Stata reports that "(Std. err. adjusted for 159 clusters in id)". Actually, I have a large number of missing data for different countries, therefore the number of countries decreases to 159. However, I don't want to count these excluded countries by reviewing my dataset. There should be a command like "tab country if missing= ......."

    How can I learn which countries are included in the estimation automatically? I am preparing an appendix, and want to report these 159 countries by their name.

    Best,

  • #2
    Code:
    levelsof country if e(sample)
    will show you all the countries that were in the estimation.

    Comment


    • #3
      Thank you so much Clyde Schechter

      I ran the command, and it worked.

      Best,

      Comment

      Working...
      X