Good afternoon,
I'm trying to recreate this graph:
![Click image for larger version
Name: Image 1.PNG
Views: 1
Size: 71.4 KB
ID: 1559152](filedata/fetch?id=1559152&d=1592332999&type=full)
However, I'm having problems changing my variable X from from ID (in this case a countryID I created) to the actual name of the countries.
The problem that occurs is: "parentheses do not balance". I also tried writing each ID by hand (example: xlabel(1 "Argentina" 2 "Brazil"...)
Thank you!
I'm trying to recreate this graph:
However, I'm having problems changing my variable X from from ID (in this case a countryID I created) to the actual name of the countries.
Code:
encode Country, gen (CountryID2) twoway scatter CR CountryID2, xlabel (1(1)51, angle(90) valuelabel)
Thank you!
Comment