Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: varlist

From   Babigumira Ronnie <[email protected]>
To   [email protected]
Subject   st: varlist
Date   Thu, 11 Jul 2002 05:19:46 -0700 (PDT)

I have 3 variables percr100 percr200 percr300 (perennial crops grown), I
know the range of these crops so I list illegal entries for percr100 using

egen perbc1 = eqany(percr100), v(-7 440/446 660/670 770/789)
list houscode percr100 if !perbc1

then I look at the manual and eqany can be followed by varlist so instead
of doing the above for all the three, I

egen perbc = eqany(percr100 percr200 percr300), v(-7 440/446 660/670
list houscode percr100 percr200 percr300 if !perbc

And the results are wrong, it appears that only the first variable was
inspected. Did I just misinterpret eqany. In the event that I did (very
likely) whats the way out


Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
*   For searches and help try:

© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index