Ana Gabriela Guerrero Serdan <[email protected]>:
You have an extra | on the end of your command. Try also
drop if inlist(Incident,"x132a","x355a","x132b","x354a","x353a","x353b","x355b")
On Dec 21, 2007 1:32 PM, Ana Gabriela Guerrero Serdan
<[email protected]> 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);
>
*
* 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/