Hello everyone, I am using Stata 16.0, The data is in wide format with 29 observations.
It is a National data with state variables.
I would like to create a twoway scatter plot with case fatality rate (cfr) and case positivity rate (cpr) of covid, among all Indian states with death rate as weight.
I have used the following code. I would like to colour all the 29 states mentioned in the data with different colors. How can I do that?
Code:
twoway (scatter cpr cfr, mfcolor(blue) msymbol(none) mlabel(dummy) mlabposition(6) mlabgap(4) mlabsize(vsmall) mlabangle(90) mlabcolor(black)) (scatter cpr cfr [aweight=death])
Thanks in advance