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: If condition for restricting data starting with certain values like 45


From   Veeresh Thummadi <[email protected]>
To   [email protected]
Subject   st: If condition for restricting data starting with certain values like 45
Date   Sat, 4 Jan 2014 21:15:59 -0500

Hi

I have a question regarding how to restrict values using if command
with dynamic values. For instance there are players with ids 45**. So
I want to tabulate all players with starting rank as 45, 74 and 63.
How will I do that using if condition statement. The format for the
rank variable is integer.

Thanks
Veeresh

Veeresh Thummadi
Research scientist
Stern School of business
New York University
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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