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
Multiple imputationCan we divide into separate steps the variables with missing data according to their type while mult…
Multivariable logistic regression missing out categoriesHi all, I'm trying to a multivariable logistic regression analysis of some data, with one of the var…
Query about interaction terms in fixed effects panel dataHi, I have a question about fixed effects panel data interaction terms: Here is my code, xtreg D…
Create a variable to indicate overlappingHello all, I have the dataset as follows. In each observation I have carrier, time(yq), and market(…
Query in Breusch-Pagan test for panel dataHello everyone, I am new to this forum. I would like to test my panel data model for Heterskedastici…
Subscribe to:
Post Comments (Atom)
0 Response to Panel Data Graphs with xtline - Restricting ID variable
Post a Comment