Statalist


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

st: 'twoway' syntax subtlety


From   George Hoffman <[email protected]>
To   <[email protected]>
Subject   st: 'twoway' syntax subtlety
Date   Wed, 15 Oct 2008 06:52:21 -0500

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/



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