Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: RE: density plots


From   Nick Cox <n.j.cox@durham.ac.uk>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: density plots
Date   Tue, 24 May 2011 18:17:57 +0100

Start with -twoway function-. 

Nick 
n.j.cox@durham.ac.uk 

Debs Majumdar

I want is an x axis that ranges from 20 to 90 points  and 2 normal curves on it.

One with mean 60 and standard error 2 and the other one with mean 40 and standard error 5.

At last, I'd like you to pull some random values from those distributions 
and superimpose them, e.g. the numbers 1, 2, 3, ... 10 as symbols 
superimposed on top of the normal curves.

Is this easy to do in Stata? 


*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index