Not quite.
I was trying too hastily to thank.
Thanks again.
On 10/15/08 07:45 AM, "Martin Weiss" <[email protected]> wrote:
> "Maarten and Martin"... Never mind, the distinction is probably as subtle as
> the -twoway- syntax...
>
>
> HTH
> Martin
>
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of George Hoffman
> Sent: Wednesday, October 15, 2008 2:36 PM
> To: [email protected]
> Subject: Re: st: 'twoway' syntax subtlety
>
> Thank you eva, martin,, and martin.
> I have more learning to do - this is why I love STATA.
> George
>
>
>
> On 10/15/08 07:28 AM, "Eva Poen" <[email protected]> wrote:
>
>> Well, the 'norm' option simply adds another -twoway- plot to the
>> kernel density; if you are using -twoway- anyway, you can call it
>> yourself:
>>
>> twoway (function y = normden(x,mean,sd))
>>
>> I reckon that allowing the 'norm' option in -twoway kdensity- would
>> clash with general -twoway- behaviour (options for legends,
>> xrange/yrange etc.).
>>
>> Eva
>>
>>
>> 2008/10/15 George Hoffman <[email protected]>:
>>> I'm trying to overlay two (or more) kdensity plots.
>>>
>>> kdensity accepts the 'norm' option
>>> twoway kdensity does not - see log below
>>>
>>> I thought twoway calls kdensity - but I must have a misunderstanding of
>>> stata 10 graphics....
>>>
>>> An explanation of principle would be most appreciated.
>>> Thank you,
>>> George Hoffman
>>>
>>>
>>>
>>> This my Stata 10 log:
>>>
>>> . two (kdensity rso2c if vmi85==0) (kdensity rso2c if vmi85==1)
>>>
>>> . two (kdensity rso2c if vmi85==0,norm) (kdensity rso2c if vmi85==1,norm)
>>> option norm not allowed
>>> r(198);
>>>
>>> . kdensity rso2c if vmi85==0,norm
>>>
>>> . two kdensity rso2c if vmi85==0,norm
>>> option norm not allowed
>>> r(198);
>>>
>> =
>> *
>> * 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/
>
> *
> * 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/