Hello,
I have the following problem in Stata:
I want to construct a histogram showing the difference in the proportions in terms of a risk index between two groups (Stayers, Migrants).
In the end, I want to construct a figure like the one I attached.
I know how to create the first figure:
. twoway (histogram risk if group=="Stayers") (histogram risk if group=="Migrants")
But I just don't know how to show the difference in fractions....
I've been working on this problem for some time, but I'm not getting anywhere... I would be very grateful for every tip!
Thanks in advance!
0 Response to Histogram with differences in shares
Post a Comment