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)
Array
I want to create the graph as below generated in SAS:
Array
Please suggest/help or is there any option to generate the same in Stata.
Thanks,
Rasool Bux
Related Posts with Histogram with bin freq and % on yaxis
Trouble with countingThis is what my dataset looks like: Code: input float(firmid year firm_prod) long productid double …
How to deal with ratios as dependent and independent variables in a panel data regressionHello everyone, I am trying to run a panel data regression for my thesis aimed at testing the relat…
Merge multiple .dta files in a folderI have an Excel file (demo.xlsx) with multiple sheets with unique sheet names (A,B,C, etc). I proces…
Significant AR(2) in System-GMM where the model does not include the lagged DVHi all, I am working on a system-GMM and the model does not include the lagged dependent variable. …
PPML reset testHello to all of you. I have been working in a gravity model with 133 countries from 2005 to 2018 (O…
Subscribe to:
Post Comments (Atom)
0 Response to Histogram with bin freq and % on yaxis
Post a Comment