Dear All,
I have a data set with panel data, which covers 27 countries and 100 years. I want to show one variable in one xtline graph for only 8 of those 27 countries. Currently, I am coding:
. xtline var1 if var1 > 5, overlay i(country) t(year)
The result is a graph with 27 countries, which is quite confusing because it uses the same labels and colours for some of them.
I would like to restrict i(country) to show only countries 1, 7, 8, 17, 20, 22, 24 and 27. Is there a way to do that?
Kind regards,
Mark
Related Posts with Panel Data Graphs with xtline - Restricting ID variable
Same data, same code, same stata version, different computers, different resultsDear all, I am running a production function estimation based on maximum likelihood. The code is as…
Manipulating box plotsGood morning, Is it possible to redefine box plots, for example to have something more meaningful th…
Interpretation Confidence interval including zeroHi, I'm performing a Negative binomial regression (xtnbreg), however, I found that the confidence i…
Unusual font in the imported fileCould you please help me sort this out. The dta file after I import xlsx file shows the font in diff…
plotting durationsDear community, I am trying to visualize some of my data over time and face the following problem: …
Subscribe to:
Post Comments (Atom)
0 Response to Panel Data Graphs with xtline - Restricting ID variable
Post a Comment