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
Help matching city names in two data setsI am trying to match data on cities in two data sets using only the names of the cities. Unfortunate…
panels are not nested within clustersHi Everyone, I am running a panel regression. My panel variable is fund-month. i.e. I have monthly …
Results of Diff-in-Diff and MESRDear All, I have two datasets. The first is a cross-sectional dataset for the 2017/2018 cropping sea…
Year over Year CalculationsHello everyone, I am analyzing a sample of many firms with data recorded over a period of 30 years. …
Time Series Panel DataThis is my first post on here, my apologies for any errors. My data is organized by State and Year.…
Subscribe to:
Post Comments (Atom)
0 Response to Histogram with differences in shares
Post a Comment