Statalist


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

Re: st: graphing two normal curves


From   Maarten buis <maartenbuis@yahoo.co.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: graphing two normal curves
Date   Tue, 21 Oct 2008 14:27:21 +0100 (BST)

--- Elizabeth Allred <lizard@hsph.harvard.edu> wrote:

> I'm trying to draw two normal curves with this command.
> 
> twoway function y=normden(x,0,1) || function y=normden(x,0.3,1),
> range(-3 3)
> 
> What I get is the complete second curve (with mean 0.3) and a small
> bit of the first--just the piece from x=0 to about x=1. Why am I not
> seeing both curves?

twoway function y=normden(x,0,1), range(-3 3 || ///
       function y=normden(x,0.3,1), range(-3 3)

Hope this helps,
Maarten

-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room N515

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


      
*
*   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   |   What's new   |   Site index