Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: valid invalid syntax


From   Lars Korsholm <korsholm@stat.sdu.dk>
To   statalist@hsphsun2.harvard.edu
Subject   st: valid invalid syntax
Date   Thu, 22 Apr 2004 14:08:29 +0200 (MEST)

Hi listers

marking biostat exam my students have used the following "invalid" stata
syntax for egen, but with succes.
 egen gr=cut(x) , at(.1,.3,.5,.8,1) ,if y==1
wich give the same result as
 egen gr=cut(x) if y==1 , at(.1,.3,.5,.8,1)

Have any of you experinced other occations of violation of the
commandname varlist [in if], options
syntax

should this be okay or should I send a bug rapport to stata?

Best Lars


..............................................
: Lars Korsholm Ph.D.,                       :
:  Department of Statistics                  :
:  University of Southern Denmark            :
:  Sdr. Boulevard 23A, 2.                    :
:  DK-5000 Odense C                          :
: Phone +45 6550 3608 (or 3868)              :
: Mobil +45 3033 3617                        :
: Fax   +45 6595 7766                        :
: Mail  korsholm@stat.sdu.dk                 :
: Web   http://www.biostat.sdu.dk/~korsholm  :
:............................................:


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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