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: Date: Sun, 8 Sep 2013 23:54:39 +0000
From
HAKAN USLU <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: Date: Sun, 8 Sep 2013 23:54:39 +0000
Date
Sun, 8 Sep 2013 19:54:43 -0400 (EDT)
Hello All,
I hope someone can help me with this problem.
I am having problem with -keep if- command.
My do file is like this;
keep if type=="murder" | type=="theft" | type=="burglary" ....
I have more than 200 different crime types. When I run this command Stata gives me an error saying "too many Literals r(130)" if I put all 200 crime types in my list..Is there any other way for me to perform this operation?..
thanks in advance
Hakan Uslu
*
* 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/