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: Re: st: Date: Sun, 8 Sep 2013 23:54:39 +0000
From
Red Owl <[email protected]>
To
[email protected]
Subject
Re: Re: st: Date: Sun, 8 Sep 2013 23:54:39 +0000
Date
Sun, 8 Sep 2013 20:37:50 -0400
Building on Richard Williams' suggestion, you could use
a series of -inlist()- tests with -drop if-.
-drop if inlist(type,"parkingticket","jaywalking", . . . .)-
The -inlist()- condition accepts up to 10 strings, so you
would probably need multiple -drop if inlist()- conditions.
Red Owl
[email protected]
*
* 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/