Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Plotting normal distributions


From   Amal Khanolkar <Amal.Khanolkar@ki.se>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: Plotting normal distributions
Date   Thu, 7 Jun 2012 09:02:28 +0000

Hello All,

I would like to plot normal distributions of birth weight by nationality in the same graph for comparison, using different colours. 

I wasn't able to figure out how to do this. What I've managed so far is to plot each birth weight distribution separately in small graphs and get it together as one image using the basic histogram command:

hist BW, by (motherland)

I have 19 nationalities. Not sure how many different colours Stata permits  - but maybe a combination of colours and schemes (liked dashed lines) is needed?

Thanks,

/Amal.

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index