Statalist


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

st: nummode option giving error message. why?


From   Dalhia <[email protected]>
To   [email protected]
Subject   st: nummode option giving error message. why?
Date   Wed, 26 Aug 2009 14:16:23 -0700 (PDT)

hi, 

I am trying to use the nummode option for 'egen mode'. Here is the exact command:

bysort  name1: egen additionalcusip1=mode( cusip), nummode(1)

The same command when used with the maxmode or minmode option works fine, but when I use nummode (which is what I need), stata gives me the following error:

option nummode() may not be combined with by

Can anyone tell me why this is happening? Is this a bug in stata or am I doing something wrong?

dalhia




      
*
*   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