Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: RE: RE: RE: Comparison operator, similar to "IN" in SAS?


From   Anisa Shyti <[email protected]>
To   [email protected]
Subject   Re: st: RE: RE: RE: Comparison operator, similar to "IN" in SAS?
Date   Tue, 21 Sep 2010 01:26:56 +0200

Martin, let me be more precise: in the condition should be cond(x=3 |
x=4 | x=5, 1, 0)  - it depend on the condition one needs to set - I
was giving a handy example. The cond(.) is pretty flexible.

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index