Announcement

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

  • Selected Graphs for Panel Data Categories

    Hi,
    I'm new to Stata and I'm trying to get some panel-times series graphs for selected countries.
    Specifically, I got a dataset comprising 180 countries and 26 years (1990-2015). Now I'm trying to get a simple line graph displaying one of my variables (tariffs) over time, but not for all countries, just selected ones (say, China, Rwanda, Bangladesh - they also have unique numerical identifiers if that helps).
    However, everytime I'm doing a graph Stata either draws lines for all countries or just one.
    Is there some handy way to get this done?
    Thanks in advance!

  • #2
    You can use - tsset - then - tsline - for that matter, having applied the "if"" condition for the selection.

    This text may be helpful.
    Best regards,

    Marcos

    Comment

    Working...
    X