Dear Statalist,
I want to generate Histogram Stata with percent option and want counts/freq of bins on bar labels. Is there any option to do this? as I am doing the following code for it but it is giving % on bar labels instead of freq/count.
histogram ALIVE_CHILD, bin(4) percent addlabel ytitle(%) xtitle("") title(Alive Children)

I want to create the graph as below generated in SAS:

Please suggest/help or is there any option to generate the same in Stata.
Thanks,
Rasool Bux
I want to generate Histogram Stata with percent option and want counts/freq of bins on bar labels. Is there any option to do this? as I am doing the following code for it but it is giving % on bar labels instead of freq/count.
histogram ALIVE_CHILD, bin(4) percent addlabel ytitle(%) xtitle("") title(Alive Children)
I want to create the graph as below generated in SAS:
Please suggest/help or is there any option to generate the same in Stata.
Thanks,
Rasool Bux
Comment