Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: plotting multiple normal densities


From   "Dan Rigby" <Msrbpdr@fs1.ec.man.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   st: plotting multiple normal densities
Date   Tue, 31 Aug 2004 12:59:56 +0100

I have a (mixed logit) model in which the mean and variance of 
several variables' distributions are estimated. In all cases (so far) 
these are normally distributed.

I want to plot these pdf's, so I use 'drawnorm' to draw from a 
sample with the required mean and variance.

I can then plot these individually using the 'normal' option after 
'hist', or using 'kdensity'.

However I want to plot >1 of these distributions on the same graph 
to allow visual comparison. 
Ideally it would not be a histogram, just the pdf plots. 

Can anyone advise how this is done?

thanks,
dan rigby





Dr Dan Rigby
Environmental Economist
School of Economic Studies
Manchester University
M13 9PL
0161 275 4808
http://les1.man.ac.uk/ses/
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index