Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 73267

graphing the percentages of 1's out of a total pool of 1's or 0's

$
0
0
I have a dataset of events and the age at when the event happens.
For illustrative reasons i would like to plot in a stacked bar chart - the percentages of participants that pr age unit have the event.

i have tried:
Code:
graph bar event years, over(group) percentages stack
and that is wrong.

Viewing all articles
Browse latest Browse all 73267

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>