Dear listers
I have data that looks like this
cropcode varcode
116 11603
115 11599
223 22309
The first variable is the code for different crops while varcode is the
specific variety. As you can see from the example, the variety code comes
from crop code (the first three digits are the crop codes).
I am cleaning the data and I would like to flash out cases where the
varcode is not consistent with the cropcode such as
cropcode varcode
116 11503
^
How can I do this in stata?
Roni
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
*
* 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/