I am trying to create a scatter plot of Disease Mortality (CD_Mortality) and Income (GDP) weighted by Health Expenditure (Health_Exp), I have being able to produce this using the following code:
twoway (scatter CD_Mortality GDP [aweight = Health_Exp], mcolor(navy8) msymbol(smcircle_hollow))
Array
I want to colour code each country with respect to their WHO region indicator (WHO_IND), however if I separate CD_Mortality into the regions and plot using the twoway scatter function it will weight each category individually (See attachment). Is there a way for the marker colour to represent the WHO region and for the marker to be weighted across all observations not just its WHO region. Thank you for your time. (Using STATA 16)
Array
Related Posts with Colour Coding Markers In a Weighted Scatter Plot
META ANALYSIS - meta regression -Prevalence studyHi to everybody.
I've to do a metaregression analysis of Prevalence study.
The aim of the study is: …
Create same variable across groups in panel dataHello Statalists,
Hope you can advise on this.
Lets say I have data N=20 and T=100, and I want to …
When can I use "xtset id" in response to "repeated time values within panel"?Hi there,
I currently have data for a large pool of individuals across four years (2015/16/17/18).
…
year dummies multicollinearityIn my fixed effects regression of about 30 panels in 30 years when i include year dummies by using -…
reshape for matchingI need an urgent help pleeeeease. I am going to do matching comparison between intervened group ( in…
Subscribe to:
Post Comments (Atom)
0 Response to Colour Coding Markers In a Weighted Scatter Plot
Post a Comment