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]

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


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: RE: RE: RE: Comparison operator, similar to "IN" in SAS?
Date   Mon, 20 Sep 2010 23:51:52 +0200

<>

Try Stata`s -inlist()- then...



HTH
Martin


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Xu, Haiyong
Sent: Montag, 20. September 2010 23:25
To: '[email protected]'
Subject: st: RE: RE: Comparison operator, similar to "IN" in SAS?

Sorry, here is what "in" does in SAS.

IN operator: equal to one of a list
Example: num in (3, 4, 5)  /* If variable num has a value of 3 or 4 or 5,
this expression gives a value of 1; otherwise its value is 0. */
Thanks.



-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Martin Weiss
Sent: Monday, September 20, 2010 2:19 PM
To: [email protected]
Subject: st: RE: Comparison operator, similar to "IN" in SAS?


<>

What does "IN" do in Some Alternative Software, Haiyong? Do not assume
familiarity with another product...


HTH
Martin

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Xu, Haiyong
Sent: Montag, 20. September 2010 23:08
To: '[email protected]'
Subject: st: Comparison operator, similar to "IN" in SAS?

Hi,
Does Stata have a comparison operator that is similar to "IN" in SAS?
Thanks.
Haiyong

IMPORTANT WARNING:  This email (and any attachments) is only intended for
the use of the person or entity to which it is addressed, and may contain
information that is privileged and confidential.  You, the recipient, are
obligated to maintain it in a safe, secure and confidential manner.
Unauthorized redisclosure or failure to maintain confidentiality may subject
you to federal and state penalties. If you are not the intended recipient,
please immediately notify us by return email, and delete this message from
your computer.

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

IMPORTANT WARNING:  This email (and any attachments) is only intended for
the use of the person or entity to which it is addressed, and may contain
information that is privileged and confidential.  You, the recipient, are
obligated to maintain it in a safe, secure and confidential manner.
Unauthorized redisclosure or failure to maintain confidentiality may subject
you to federal and state penalties. If you are not the intended recipient,
please immediately notify us by return email, and delete this message from
your computer.

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


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index