Hi!
I need help creating a bar chart with multiple bars graphed over another variable.
I have found this command: "webuse citytemp
graph bar tempjan tempjuly, over(region)", however, it does not work for me as I intend to have the mean of my variable "score" for a specific country from my data set, and on my y-axis, I need 2 bars per each "rank2" variable category, one for the year 2000 and another for the year 2009. When I add these conditions, the command does not appear to work. Besides, I am working with survey data and must add weights to every mean calculated. Can someone advise me on how to proceed?
I really appreciate any help you can provide.
I need help creating a bar chart with multiple bars graphed over another variable.
I have found this command: "webuse citytemp
graph bar tempjan tempjuly, over(region)", however, it does not work for me as I intend to have the mean of my variable "score" for a specific country from my data set, and on my y-axis, I need 2 bars per each "rank2" variable category, one for the year 2000 and another for the year 2009. When I add these conditions, the command does not appear to work. Besides, I am working with survey data and must add weights to every mean calculated. Can someone advise me on how to proceed?
I really appreciate any help you can provide.
Comment