I would like to do several scatterplots were I plot the correlation btw mortality and covid-cases and were I would like to identify the treatment and control by different colors, this will be done for each month. I don't know if I have done the best way but by using the following code I get a nice and neat scatterplot but were I have to do it separattly in four figures, what I now want to do is to merge all of them into one big figure but with several smaller plots. Any body knows how I can do this the best way?
twoway (scatter mortality_1000_treated new_cases_1000indiv ) (scatter mortality_1000_nontreated new_cases_1000indiv) if time== tm(2020m3)
twoway (scatter mortality_1000_treated new_cases_1000indiv ) (scatter mortality_1000_nontreated new_cases_1000indiv) if time== tm(2020m4)
twoway (scatter mortality_1000_treated new_cases_1000indiv ) (scatter mortality_1000_nontreated new_cases_1000indiv) if time== tm(2020m5)
/David
Related Posts with scatterplot
Solving for unbalanced panel data across years - SOSHi Forum, I have been trying to do this on my own but I cannot find information either solve it. So…
comparing two resultsHi every one I got a revision regarding to my analysis result i showed my results by distinguishing …
what does curly brackets mean in stata help files?I know square brackets mean optional components, vertical bar means OR, but what do curly brackets {…
How can I export both variable label and variable name to excel from stataHi everyone, I would like to export both variable label and variable name with data to excel from st…
Creating output table with interquartile range of Y after regression Code: sysuse auto.dta, clear eststo: ivreghdfe mpg (weight=trunk) foreign [aw=length] estadd ysumm…
Subscribe to:
Post Comments (Atom)
0 Response to scatterplot
Post a Comment