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
How to organise my data, Im a beginner!Hi I would like to know what commands to use to organise my data, I currently have a dataset with ov…
Producting publication tables for loneway commandDear Stata users, I computed different intraclass correlations using the loneway command. Which comm…
estimating sample size for cohort studiesI am trying to compute the sample size of a cohort study, pregnant women beyond 20 weeks of gestatio…
Counting up within IDHi everyone, Quick question that may be quite simple to answer but I am having trouble wrapping my …
standard deviation of a variableHi everyone, I have a set data for 10 years. I want to calculate the standard deviation of one varia…
Subscribe to:
Post Comments (Atom)
0 Response to scatterplot
Post a Comment