Dear Stata-community,
I am using Stata 16. I have a dataset with peace agreements, their duration, and their content.
I want to plot the duration of the peace agreement and if the peace agreement provided a gender reference (variable called gender).
This gender reference should be visible in the colour of the dots and the dots should also indicate the case. In this case the name of the peace agreement.
It would be best if the duration axis would also show the mean of the duration or even the percentiles.
However, I only get so far:
twoway scatter year days, if gender==0,mcolor(black), if gender==1,mcolor(red)
Can anyone help please?
Related Posts with Plot different characterisitics of an observation
example for merge m:mDear All, It is advised in the forum that, when possible possible, do not use Code: merge m:m ... …
Combining treatment units for synthetic control methodHello, I am thinking about using the synthetic control method to evaluate an intervention that took …
Spatial matrix user definesDear All, I would like to generate a spatial matrix defined by myself. I have the following data: …
invalid error using nwcommandsHi everyone! I want to use the nwcommands to do some social network analysis and encountered a prob…
Creating variable to capture before/after effect using panel dataHi everyone, I have a panel dataset where I follow individuals for 12 waves (new_waves). What I am …
Subscribe to:
Post Comments (Atom)
0 Response to Plot different characterisitics of an observation
Post a Comment