I have a database on Panel data containing 143 countries and 22 years. Indeed, I would like to represent a graph between two variables X and Z for each country. I would like to have 143 graphics. I think that I can combine
Code:
separate
Code:
twoway
Step1: create the variables by country.
Code:
separate X, gen(country_name) separate Z, gen(country_name)
Code:
sort year twoway line X1 Y1
Many thanks,
0 Response to How to create a graphic for each country from panel database?
Post a Comment