Thanks Maarten. I did add one "close-paren" in the first range and got exactly what I want.
twoway function y=normden(x,0,1), range(-3 3) || ///
function y=normden(x,0.3,1), range(-3 3)
I didn't understand that a range needs to be applied to each curve. Now I do. Thanks again!
Elizabeth
>>> On 10/21/2008 at 9:27 AM, in message
<[email protected]>, Maarten buis
<[email protected]> wrote:
> --- Elizabeth Allred <[email protected]> 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/
*
* 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/