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!
Related Posts with Histogram with differences in shares
Transform daily standard deviation of residuals to monthly standard deviation of residualsHello, I´m trying to obtain monthly standard deviation of residuals as a proxy for monthly idiosyncr…
Goodness of fit after gesm (model contains ordinal and binary items)Hello, I fitted a confirmatory factor analysis model that contains both ordinal and binary items, us…
quaids eta useHi, I am using the quaids command to estimate an AIDS for different meats. I am interested in how co…
stata mlogit IIA under Hausman and Small-Hsiao testsDear Statalists, I am currently using a multinomial logit model, where the dependent variable has f…
How to create a variable that has 10 runs of 1 and -1Hello everyone I am facing a problem in creating a variable, called indicator, that will have a valu…
Subscribe to:
Post Comments (Atom)
0 Response to Histogram with differences in shares
Post a Comment