At 01:32 PM 12/21/2007, Ana Gabriela Guerrero Serdan wrote:
Dear all,
Im using drop if to drop several observations, about a
100. I try using the following but receive an error
message:
. drop if Incident=="x132a" | Incident=="x355a" |
Incident=="x132b" |Incident=="x354a" |
Incident=="x353a" | Incident=="x353b" |
Incident=="x355b" |
invalid syntax
r(198);
That extraneous | at the end may be doing you in. Try dropping it.
-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME: (574)289-5227
EMAIL: [email protected]
WWW: http://www.nd.edu/~rwilliam
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/